WorksComputer Science
QUISA: A Compact, Flexible and Unified Instruction-Set Coprocessor for QR-UOV Signature
Abstract
QR-UOV is a Quotient Ring Unbalanced Oil and Vinegar (UOV) multivariate quadratic (MQ) signature scheme that has progressed to round-3 of the post-quantum cryptography (PQC) additional signatures call by the National Institute of Standards and Technology (NIST). Until now, for architectural efficiency and performance trade-offs, QR-UOV has been evaluated only on software platforms and has never been considered on hardware, such as field-programmable gate arrays (FPGAs). To address this, we are the first to provide a complete QR-UOV hardware implementation through a flexible and unified QUISA coprocessor design, which supports instruction-driven execution for key generation, signing, and verification across all three NIST security levels (SL-I, SL-III, SL-V). The proposed architecture features extensive throughput optimizations by parallelizing key QR-UOV module operations, such as the pseudorandom byte generator, hashing, and rejection sampling. To minimize hardware resources, we propose a modular arithmetic unit with finite-field reduction based on the shift-add folding method. The design introduces a linear system solver for QUISA based on LU decomposition with partial pivoting and a sample solution module, operating over the prime field Fq (q = 127). We comprehensively evaluate QUISA on an Artix-7 FPGA at 80 MHz up to the post-place-and-route stage, utilizing 11,144 slices and 35,248 look-up tables. For higher SL-V security levels, it completes key generation, signing, and verification in 30.4M, 3.8M, and 2.8M clock cycles, respectively.
Introduction
Quantum computing has advanced rapidly in recent years, driven by continued improvements in quantum processor scale and capability. The increasing availability of larger quantum processors has intensified concerns regarding the long-term security of conventional public-key cryptography. Fujitsu and RIKEN, together at the RIKEN RQC-Fujitsu Collaboration Center, have developed 64-qubit and 256-qubit quantum processors, with a roadmap that targets a 1,000-qubit system by 2026 [1]. Similarly, IBM has reported successive generations of quantum processors, including Eagle (127 qubits), Heron (133 qubits), and Nighthawk (120 qubits), with plans to scale its architecture toward larger systems in the coming years, such as a 360-qubit processor by 2026 [2]. These advancements indicate that future quantum computers may provide substantial computational power. Meanwhile, quantum algorithms, by Shor [3] and Grover [4], threaten the security of widely deployed public-key cryptosystems, such as RSA [5] and elliptic curve cryptography (ECC) [6].
To address these risks, the National Institute of Standards and Technology (NIST) launched the post-quantum cryptography (PQC) standardization initiative in 2016 [7]. Following several rounds of evaluation, NIST selected CRYSTALS-Kyber [8] as a key encapsulation mechanism (KEM) and CRYSTALS-Dilithium [9], Falcon [10], and SPHINCS+ [11] as digital signature schemes in 2022. These algorithms were standardized by the Federal Information Processing Standards (FIPS) 203 (ML-KEM, derived from CRYSTALS-Kyber), FIPS 204 (ML-DSA, derived from CRYSTALS-Dilithium), and FIPS 205 (SLH-DSA, derived from SPHINCS+), while the FALCON-based standard (FN-DSA/FIPS 206) is under development. In 2025, NIST also selected HQC as an alternative KEM to diversify the key encapsulation portfolio. To further diversify digital signature constructions, NIST issued an additional call for PQC signature schemes in 2022. From 40 complete submissions, 9 were selected for the ongoing round-3 evaluation in 2026, including the Quotient Ring Unbalanced Oil and Vinegar (QR-UOV) signature scheme [12].
QR-UOV is a multivariate quadratic (MQ) signature scheme that employs a quotient-ring-based algebraic framework over a finite field to reduce the public-key size compared to the conventional Unbalanced Oil and Vinegar (UOV) constructions. The original UOV scheme was introduced in [13], while QR-UOV was first proposed in [12]. A refined QR-UOV design was later submitted to NIST for standardization, with its specification in [14]. To explore the trade-off between sign-key compaction and signing efficiency, selected algorithms from [14] were implemented in [15] on modern x86 processors. More recently, [16] has accelerated QR-UOV on modern x86 architectures by exploiting arithmetic over small odd prime-power extension fields to leverage hardware multipliers and SIMD vector instructions. Beyond software implementations, [17] introduced the lightweight RejScore architecture, which combines an AES-CTR-based pseudorandom number generator (PRG) with an iterative rejection sampling procedure to reduce hardware area at the cost of clock cycles.
Limitations of Prior SoTA
Among the ongoing NIST round-3 MQ-based digital signatures, only UOV [18] and MAYO [19], [20] have complete hardware implementations. In contrast, QR-UOV hardware is limited to a rejection-sampling module {citep}[17], while complete implementations have been reported only in software {citep}[15], {citep}[16]`. To the best of the author’s knowledge, no complete
This work is funded by the Integrated Quantum Networks (IQN) Research Hub (EP/Z533208/1). (Corresponding Author: Malik Imran) QR-UOV hardware architecture exists for field-programmable gate arrays (FPGAs) or application-specific integrated circuit (ASICs) platforms. Additional critical concerns are as follows:
Existing accelerators [18, 19, 20] target high-performance, relying on dedicated datapaths such as , , and AES128 instances in [20], resulting in area-intensive designs for resource-constrained embedded devices.
Prior FPGA and ASIC implementations [18, 19, 20] follow two approaches: (i) coprocessors that provide flexibility at the expense of parallelism [18, 20], and (ii) dedicated processors that maximize parallelism but support only a single security level [19]. None of these supports the parallel operation of functional modules for key generation, signing, and verification while maintaining flexibility across multiple security levels in a single design.
Existing accelerators [18, 19, 20] employ dedicated datapaths per security level, causing both hardware area and clock cycles to scale with the parameter set.
Consequently, the state-of-the-art (SoTA) lacks an architecture that supports the parallel operation of functional modules for key generation, signing, and verification while maintaining flexibility across multiple security levels within a fixed hardware footprint, which is a key requirement for practical deployment [21, 22]. In addition, existing linear system solvers [18, 19, 20] target Gaussian elimination over the binary fields or , whereas QR-UOV requires arithmetic over the prime field , which no existing MQ-based hardware solver supports.
Contributions
To address these gaps, our main contribution in this work is a complete QR-UOV hardware implementation through a flexible and unified QUISA coprocessor design, supporting instruction-driven execution of key generation, signing, and verification across all NIST-defined security levels (SL-I, SL-III, SL-V) within a fixed hardware footprint. We summarize our additional contributions below:
To reduce the clock cycles of the proposed QUISA design, we present a parallel pseudorandom sampling and packing unit (PPSPU) architecture that operates the SHAKE-128/256 wrapper in parallel with rejection sampling. A dual-datapath SHAKE-128/256 wrapper is implemented to support PRG and Hash operations specific to MQ-based PQC algorithms, as well as standard FIPS 202-compliant computations. For rejection sampling, an efficient hardware architecture is presented in section III-C2, based on a minor modification to the round-2 QR-UOV reference implementation.
To minimize the area, we propose an iterative architecture for the modular arithmetic unit of QUISA in section III-D. Since the modulus q in QR-UOV is a Mersenne prime, modular reduction is realized efficiently using shift–add folding operations.
We propose a linear system solver for QUISA comprising LU decomposition with partial pivoting and a sample solution module, operating over the prime field .
QUISA is implemented up to the post-place-and-route (Post-PAR) stage and evaluated on an Artix-7 FPGA. At 80 MHz, it utilizes 11,144 slices and 35,248 look-up tables to implement all security levels in a unified design. For the NIST highest security level of SL-V, it completes key generation, signing, and verification in 30M, 3M, and 2M clock cycles.
All modules in QUISA follow the NIST round-2 QR-UOV specification except for rejection sampling, RejSamp(). The RejSamp() in the reference C/C++ implementation comprises rejsamp_and_q() and rejsamp_rejection_with_aux(). The former function is implemented without changes, whereas the latter is modified in this work to operate PRG and rejection sampling in parallel to reduce the clock cycles. Consequently, this change modifies the reference implementation and the corresponding KAT files. Thus, we used the modified KATs to verify QUISA. Apart from this modification, QUISA remains fully compliant with the NIST round-2 reference implementation. Further details are in section III-C2.
Preliminaries
Notation
Let denote the finite field of order q, where q is a Mersenne prime, and let denote the polynomial ring over . QR-UOV operates over the quotient ring , where is an irreducible polynomial of degree . Let denote the -dimensional vector space over , under which each element of can be represented as a vector in . Let denote the set of matrices over . For , let denote the matrix representation of multiplication by . is the set of matrices corresponding to multiplication in the quotient ring. Let be a matrix such that is symmetric for any . denotes the corresponding transformed set. represents the set of block matrices whose components belong to . shows the block-diagonal matrix. The , , and are positive integers. The number of vinegar variables is , the number of oil variables (which also equals the number of equations) is , and the total number of variables is . is a positive integer. is a security parameter. is a random -bit string. denotes the length of the random byte string used as input to the rejection sampling, which takes different values (, , ) depending on its usage in key generation, signing, and verification. Table I summarizes the QR-UOV security parameters.
| Security Level | , , , | Public/Private Keys (Bytes) | Signature (Bytes) | |||||||
| SL-I | 127,156,54,3 | 24,255/32 | 200 | 210 | 70 | 52 | 18 | 4267 | 2916 | 82 |
| SL-III | 127,228,78,3 | 71,891/48 | 292 | 306 | 102 | 76 | 26 | 9020 | 6123 | 120 |
| SL-V | 127,306,105,3 | 173,676/64 | 392 | 411 | 137 | 102 | 35 | 16144 | 11018 | 162 |
Table I. QR-UOV: main security parameters [14].
QR-UOV
QR-UOV consists of key generation (KeyGen), signing (Sign), and verification (Verify) operations, given in Algorithms 1, 2, and 3, where bold lowercase and italic uppercase letters denote vectors and matrices, respectively. In KeyGen,
Algorithm 1 KeyGen() [14]
Require: Security parameter
Ensure: Public key and secret key
for to do
(symmetric),
end for
return
Algorithm 2 Sign() [14]
Require: Message and private key
Ensure: Signature
is a vector of vinegar elements ()
for to do
end for
-256
repeat
until has solutions for
Choose one solution of randomly
return
two random seeds are sampled. The secret seed is expanded using to obtain the matrix , while the public seed is used in to derive matrices for each . These are then used to compute (public quadratic components). In Sign, and are derived through and , respectively. Vinegar variables are sampled using SHAKE. Using for each , intermediate computations yield the linear coefficients and constants . These form the system , where is obtained by hashing the message with randomness . If a solution exists, the oil variables are derived; otherwise, the process repeats with new randomness. Finally, and the oil variables, together with , produce , and Sign outputs . In Verify, the verifier recomputes using the public seed and message, and derives the target vector using randomness . For each , is regenerated via . The corresponding quadratic evaluation is then performed on to obtain the verification value. The signature is accepted if this matches ; otherwise, it is rejected.
Algorithm 3 Verify() [14]
Require: Message , and
Ensure: Accept or reject
for to do
end for
-256
return accept if , and reject otherwise
expands into matrix . Let . A sequence is generated using and assigned to .
expands with index to generate . First, elements are generated via and mapped to using . Then, elements are generated via and stored in using .
computes the value from the message-dependent 64-bit value and the salt . A byte sequence is generated by -256, followed by to obtain .
RejSampPRG generates a pseudorandom sequence from . It comprises the following two steps:
First, is produced via . PRG can be performed using AES-CTR or SHAKE: for the AES option, 128, 192, and 256-bit variants are required for SL-I, SL-III, and SL-V, respectively, while for the SHAKE option, SHAKE-128 is used for SL-I and SHAKE-256 for SL-III and SL-V.
Second, is applied to obtain valid field elements of . It is rejection sampling.
The main and auxiliary functions, including , , Hash, SHAKE-256, PRG, RejSampPRG, and RejSamp in Algorithms 1–3, are implemented by the PPSPU (section III-C). The remaining functions, including ExpandSymmetricMatrixVxV(), ExpandMatrixVxM(), and transpose operations, rely on efficient memory scheduling instead of dedicated hardware.
QUISA Coprocessor Architecture
blackHost-Controlled High-Level Interface
Figure 1 shows the host-controlled QUISA coprocessor, which supports KeyGen, Sign, and Verify across all three NIST security levels using a unified configurable datapath. The external host communicates with QUISA through the 64-bit din, 24-bit dout, and 2-bit TOD interface, where TOD indicates instruction completion. The alg-slct selects the target operation, while sigPF, generated by the Compare module, indicates the signature verification result. To provide flexible control, QUISA employs an 82-bit instruction format (INST-F), shown in Figure 1. Each instruction is issued by the host controller, stored in the instruction register (ins_r), and decoded to control the routing network, memory units, and functional modules. The TID field specifies memory initialization, computation, or data retrieval; CDT identifies the input data type; OP defines up to 32 opcodes; raddr1, raddr2, and waddr specify memory base addresses; we enables memory writes; IV provides the 16-bit initialization vector for SHAKE; and r-type selects the SHA3/SHAKE variant. QUISA does not use an internal program memory. Instead, the external host issues one instruction at a time and waits for TOD before issuing the next. Table II summarizes the instruction sequences and corresponding host-side storage for all QR-UOV operations and security levels. Supporting all three security levels requires 431 instructions, occupying 4418 B of host-side storage. For RTL verification, the testbench emulates the host by issuing these sequences, whereas in practice they may reside in ROM, flash, or other external memory. This host-controlled sequencing enables QUISA to interface with different platforms without modifying the coprocessor datapath. The decoded INST-F fields configure the routing network, steering data between the memory units and functional modules. While the external host provides the base read/write addresses, each functional module generates the corresponding local read/write offsets, whose sum forms the effective memory address. This instruction-driven routing enables a unified hardware implementation of KeyGen, Sign, and Verify. The memory units and functional modules are described in sections III-B–III-E.
| Security Level | KeyGen | Sign | Verify | Per Security Level | Unified QUISA |
| SL-I | 25 (257 B) | 69 (708 B) | 51 (523 B) | 145 (1487 B) | 431 |
| SL-III | 25 (257 B) | 67 (687 B) | 49 (503 B) | 141 (1446 B) | (4418 B) |
| SL-V | 25 (257 B) | 69 (708 B) | 51 (523 B) | 145 (1487 B) |
Table II. QUISA instructions. Values denote instruction count and instruction memory size ( bytes).

Figure 1. Host-controlled QUISA coprocessor architecture.
Memory/Storage Unit Requirements for QR-UOV
In QR-UOV, arithmetic is performed over an -dimensional vector space defined over . Following the QR-UOV specification [14], QUISA packs three vector components () per memory address to reduce storage overhead. As shown in Figure 1, the architecture employs three memory units: MEM-1, MEM-2, and MEM-3. MEM-1 and MEM-2 provide a 24-bit datapath by storing three bytes per address for QR-UOV arithmetic, whereas MEM-3 stores 64-bit words containing the seeds and input data for the SHAKE-128/256-based PRG. Further details are given below:
MEM-1 stores results for KeyGen, Sign, and Verify, excluding the element-wise addition of the matrix and the generation of . Its size is determined by the fixed address-generation schedule of the implemented algorithms, which depends only on the QR-UOV security parameters of Table I, and is confirmed by RTL simulation. The maximum accessed addresses are 4513 and 2586 for the Sign and Verify operations of SL-I, fitting within a address space. Likewise, SL-III and SL-V require and address spaces, respectively. Since each address stores three bytes, the resulting memory sizes are , , and bits.
MEM-2 stores the intermediate results of (i) the element-wise addition of the matrix and (ii) the generated matrix. Its size is determined directly from the QR-UOV algorithm and depends only on the parameters of Table I. The element-wise addition requires addresses, corresponding to 936, 1976, and 3570 locations for SL-I, SL-III, and SL-V, respectively, whereas storing requires addresses, resulting in 17496, 52728, and 128625 locations. Consequently, the total storage fits within , , and address spaces. Since each address stores three bytes, the resulting memory sizes are , , and bits.
MEM-3 stores the inputs to the SHAKE-128/256 wrapper, including , , , and . During Sign and Verify, is stored in consecutive memory locations for SHAKE-128/256 to generate . QR-UOV supports arbitrary-length messages, the KATs used for verification employ 33-byte messages. Under this configuration, the largest SL-V input occupies 25 addresses on the 64-bit datapath, making a $25\times64
MEM–3 sufficient for all security levels. Longer messages only require increasing the depth of MEM–3.
In QUISA, MEM–1 and MEM–2 are implemented as true dual-port BRAM IPs generated using the Vivado Block Memory Generator, whereas MEM–3 is inferred as a simple dual-port BRAM using the ram_style="block" directive. The overall memory cost depends on the target deployment scenario as discussed below. ❶ QUISA coprocessor: Supporting all QR-UOV security levels within a unified coprocessor requires dimensioning the memory units according to the largest parameter set (SL–V), resulting in (MEM–1), (MEM–2), and (MEM–3). The memory footprint is dominated by MEM–2, which stores the matrices generated during on-the-fly KeyGen. ❷ Dedicated implementation: When targeting a single QR-UOV security level, the memory units are dimensioned according to the selected parameter set, eliminating the over-provisioning of the unified architecture. Consequently, SL–I requires MEM–1=, MEM–2=, and MEM–3=. Similarly, SL–III requires MEM–1=, MEM–2=, and MEM–3=, while SL–V remains unchanged. ❸ Dedicated Sign implementation: The hardware Sign engine neither generates nor stores the matrices. Thus, MEM–2 only stores the intermediate results of the matrix operations, requiring , , and for SL–I, SL–III, and SL–V, respectively, while MEM–1 and MEM–3 remain unchanged. ❹ Dedicated Verify implementation: Unlike the hardware Sign engine, Verify requires the matrices, which form part of the public key. In this work, they are preloaded into MEM–2, requiring , , and for SL–I, SL–III, and SL–V, respectively. Alternatively, the matrices can be streamed from external memory, reducing the on-chip MEM–2 requirement at the expense of additional memory-transfer cycles during signature verification. This approach trades on-chip BRAM for external-memory bandwidth.
Parallel Pseudorandom Sampling and Packing Unit (PPSPU)
The blue-dotted region in Figure 1 forms the PPSPU, comprising a SHAKE-128/256 wrapper, a byte stream unit, a SHAKE-based rejection sampling unit (XOFRejSamp), a byte selector unit, and an output format block. All components are implemented as separate RTL modules except for the byte selector, whose functionality is integrated into XOFRejSamp. We refer readers to sections III-C1–III-C3 for details.
SHAKE-128/256 Wrapper + Byte Stream Unit
The SHAKE-128/256 wrapper in QUISA supports the Expand-related functions and the Hash operation required in Algorithms 1–3. Except Hash, the SHAKE-128/256 wrapper loads 64-bit words directly from MEM–3 through the routing network of Figure 1. In contrast, the Hash operation needs to compute over the QR-UOV arithmetic data, which is stored in 24-bit words in MEM–1 and MEM–2. To bridge this mismatch, a lightweight byte stream unit reads 24-bit words from two BRAM ports in parallel, extracts up to six bytes per cycle, and accumulates them into a 168-byte local buffer. Once the required bytes are collected, the buffer data is repacked into 64-bit words and forwarded to the SHAKE-128/256 wrapper for hash computations. The SHAKE-128/256 wrapper architecture is described below.
The INST–F of QUISA uses a 2-bit r–type field to drive the SHAKE-128/256 wrapper, where, based on encoding 0 to 3, one variant among SHA3-256, SHA3-512, SHAKE-128, and SHAKE-256 is selected. All variants share Absorb and Squeeze phases of the KECCAK permutation. The Absorb phase performs 24 rounds, each executing the , , , , and transformations, while the Squeeze phase outputs 64-bit words. QUISA employs a high-speed open-source KECCAK core [23], where the Absorb and Squeeze phases require 24 and 21 cycles, respectively, the latter corresponding to the SHAKE-128 rate ().
To interface with the Absorb phase of the KECCAK core [23], the SHAKE-128/256 wrapper uses a 1-bit control signal, disable_iv_injection, to select the input format. When enabled, all SHA3-256, SHA3-512, SHAKE-128, and SHAKE-256 operations follow the FIPS 202 standard [24]. When disabled, only SHAKE-128/256 append a 2-byte IV before domain separation, as specified by QR-UOV [14]. This control modifies only the input formatting, leaving the KECCAK permutation and Squeeze phases unchanged at 24 and 21 cycles, respectively. Consequently, the wrapper supports both QR-UOV modes: PRG with IV insertion and Hash with standard SHAKE-128/256 processing.
Accordingly, our SHAKE-128/256 wrapper supports two datapaths. The blue path in Figure 1 corresponds to PRG, where a 64-bit input to the SHAKE-128/256 wrapper produces a 64-bit output that is forwarded to the XOFRejSamp for rejection sampling; the output formatter (green path) then writes two 24-bit words to MEM-1 or MEM-2 through a routing network. In contrast, the red path corresponds to Hash, where 24-bit inputs are processed by the byte stream unit to form a 64-bit input for the SHAKE-128/256 wrapper, and the resulting output is forwarded directly, with the formatter selecting two 24-bit words before rejection sampling for memory write-back. Thus, the SHAKE-128/256 wrapper supports QR-UOV-specific input handling while preserving standard-compliant operation, enabling its use in both QR-UOV and other PQC schemes, such as ML-KEM [25], and ML-DSA [26], without design modifications or additional hardware costs.
Rejection Sampling + Byte Selector Unit + Output Format Block
Section III-C1 described the SHAKE-based PRG in QUISA, which generates a pseudorandom byte stream. Each byte is ANDed with , producing a candidate in . Since is a Mersenne prime in QR-UOV [14], it is the only value outside and is therefore rejected whenever it appears. Rejection sampling continues until the required number of valid field elements is obtained. In the round-2 reference implementation [27], the pseudorandom stream is divided into main and auxiliary regions. During rejection sampling, invalid candidates (= ) in the main region are replaced with valid candidates from the auxiliary region, as illustrated in the left part of Figure 2. Implementing this replacement mechanism in hardware requires simultaneous access to both regions, which results in irregular memory accesses and sequential dependencies that limit parallel execution of the PRG and rejection sampling. To overcome this limitation, QUISA minimally modifies the second stage of the rejection sampler, as shown in the right part of Figure 2. Instead of replacing invalid main candidates with auxiliary candidates, QUISA sequentially compacts valid candidates from the main region, using the auxiliary region only when additional valid samples are required to reach the target output length. This modification enables regular memory accesses and allows parallel execution of both PRG and rejection sampling.

Figure 2. Reference and modified implementations of rejsamp_rejection_with_aux().
To implement rejection sampling in hardware, as in [17], selecting or rejecting one byte per cycle is straightforward and minimizes hardware resources, albeit at the cost of higher clock cycles. A high-performance alternative is to process multiple bytes per cycle. Although the SHAKE-based PRG naturally outputs 8-byte words per cycle, selecting and packing 8 valid bytes is inefficient because QR-UOV operates on -dimensional vectors with , leading to unaligned memory writes and additional read-modify-write operations. Therefore, QUISA selects and packs up to 3 valid bytes per cycle, naturally matching the 3-byte memory organization and reducing clock cycles compared with the one-byte-per-cycle approach of [17].
Figure 3 shows the proposed SHAKE-based rejection sampling architecture, denoted as XOFRejSamp. The purple block (left) implements rejsamp_and_q() by receiving 8 bytes from the SHAKE output every clock cycle and bitwise AND-ing them with in parallel, generating eight candidates in that are concatenated from LSB to MSB into a 64-bit word. The light-brown block (right) implements the rejection stage (rejsamp_rejection_with_aux()) by comparing all eight candidates with in parallel to generate the valid signals (v0–v7). Valid candidates (< ) are packed from the LSB side, while non-valid candidates are shifted toward the MSB together with their reordered valid signals. This packing is realized using a simple combinational if-else circuit, allowing rejection sampling to sustain the 8-byte-per-cycle throughput of the SHAKE-based PRG.

Figure 3. XOFRejSamp: SHAKE-based rejection sampling.
The benefit of reordering the valid bytes and their flags is realized in the byte selector unit, where an 8 × 1 multiplexer (in Figure 3) accumulates up to eight valid bytes per cycle, rather than one byte over eight cycles, into the red-colored buffer sized to the SHAKE-128 rate. Once all valid bytes from a 168-byte block are buffered, they are written to memory. Since the SHAKE-128/256 wrapper produces one 168-byte block every 21 cycles (8 bytes/cycle), whereas QUISA stores data as two 3-byte words (6 bytes/cycle), writing the entire block requires 168/6 = 28 cycles. Consequently, an additional 7 cycles are needed before the next SHAKE block arrives, preventing full overlap between the SHAKE-128/256 wrapper and XOFRejSamp.
The output format block in Figure 3 enables parallel execution using a lightweight controller and an additional -byte buffer, where 168 bytes correspond to the SHAKE-128 rate and 6 bytes store leftover data. In the F-IN state, the controller stores the 168-byte output of the byte selector into the buffer in one cycle. In the F-OUT state, the buffer shifts by 48 bits per cycle, outputting six valid bytes through dout1 and dout2. Thus, processing a -byte buffer requires cycles. Complete 6-byte groups are written to MEM-1/MEM-2, while any remaining bytes (up to six) are retained as leftover data. The controller then enters the WAIT state for the next 168-byte SHAKE block.
Leftover bytes occur when the number of valid bytes in the green buffer of Figure 3 is not divisible by 6. In this case, up to six valid bytes from the current Squeeze are retained and merged with the 168-byte output of the next Squeeze to preserve the QR-UOV data format. In QUISA, this merge is implemented using an if--else structure (not shown in Figure 3). A counter tracks the valid-byte count (1–6) from the reordered valid flags during each Squeeze phase and passes it to the output format controller, which aligns the output of the next Squeeze. This process repeats until all required bytes are generated for the Expand-related functions or the message is fully processed for Hash.
Processing Timeline of the PPSPU
Figure 4 shows the parallel execution of the SHAKE-128/256 wrapper and XOFRejSamp. The KECCAK core alternates between Absorb and Squeeze phases, while XOFRejSamp simultaneously processes the previous 168-byte output block through BUFF-IN and BUFF-OUT buffers. During each 21-cycle Squeeze phase, BUFF-IN accumulates up to 168 bytes. Immediately afterward, these bytes are merged with up to 6 leftover bytes from the previous iteration into BUFF-OUT in a single clock cycle (blue blocks). Thereafter, BUFF-OUT overlaps with the subsequent Absorb and Squeeze phases, outputting 6 bytes per cycle for memory write-back over 29 cycles. This pipelined organization enables concurrent execution of the PRG, Hash, and RejSamp functions. For SL-I parameters with , , , and , the AES-CTR-based rejection sampler in [17] requires 8525 clock cycles to generate pseudorandom bytes and extract valid bytes, whereas the proposed PPSPU completes the same operation in only 895 cycles, achieving a speedup.

Figure 4. PPSPU: Parallel execution of the SHAKE-128/256 wrapper and XOFRejSamp.
Arithmetic Unit (AU)
The arithmetic unit (AU) in QUISA implements the finite-field operations required by QR-UOV over , where is a Mersenne prime and . As shown in Figure 5, the AU consists of four main components: mod-ADD, mod-SUB, a MAC tile, and an FSM controller.

Figure 5. Arithmetic unit architecture.
mod-ADD and mod-SUB Architectures in Fql
The mod-ADD and mod-SUB units in Figure 5 perform three modular additions or subtractions in parallel using lanes 0–2. Each lane operates on one coefficient from the packed 24-bit inputs and to produce the corresponding coefficient output . Taking lane-0 as an example, and are first combined using an 8-bit adder to generate an intermediate sum . Modular reduction is then performed by an end-around-carry operation, where the carry bit is folded back into the lower seven bits as . This exploits the identity , enabling an efficient reduction without dedicated modular arithmetic. A final correction stage, implemented using a multiplexer, ensures canonical residues by mapping to zero; otherwise, is forwarded as the valid result. For mod-ADD, the operands are directly added, i.e., , whereas mod-SUB performs subtraction by inverting the second operand and computing . The same datapath is replicated across all three lanes, allowing three modular results to be produced in a single clock cycle.
Multiplication in
Let and denote two vector elements in . Their product is computed as , , , where all operations are performed modulo q. This computation requires nine coefficient multiplications and six modular additions, with each output coefficient formed by the sum of three partial products. A conventional hardware implementation would accumulate these partial products using cascaded two-input modular adders. In contrast, the proposed MAC tile in Figure 5 employs both mod-add2 (two-input) and mod-add3 (three-input) units, allowing three partial products to be accumulated in a single stage. This reduces the addition depth and shortens the critical path of the MAC datapath.
a) MAC Tile: It is organized into four stages: (i) modular multiplication, (ii) a sum tree, (iii) accumulation, and (iv) final recombination, as described below:
To initiate the processing, nine modular multipliers (MMs) compute the pairwise products , where , each operating on 7-bit operands to produce a 14-bit product reduced modulo q via the Mersenne identity through a fold and conditional subtraction (purple blocks in Figure 5). Since such small-width multiplications do not efficiently utilize DSP slices, each MM is implemented using a * operator in RTL, allowing the synthesis tool to use FPGA LUTs efficiently. The reduced products are registered in orange boxes in Figure 5 using multiplexers. These multiplexers allow users the choice to configure the MAC with different pipeline depths. In the second stage, the nine reduced products are organized into a sum tree of two mod-add2 units and one mod-add3 unit, computing , , and in a single clock cycle, as these adders are fully combinational. The outputs of – together with and (which bypass the sum tree) are routed to their respective accumulators through multiplexers (see Figure 5). These multiplexers provide the same pipeline depth flexibility as stage 1. In the third stage, as shown in Figure 5, the five accumulator registers – accumulate , , , , and , respectively, retaining partial sums over cycles, where is the length of the input vector pair being processed (either or words depending on the operation). One input word pair is consumed per cycle, allowing the tile to operate as a true multiply-accumulate unit over vectors of arbitrary length. In the final stage, the accumulated values are recombined in a single cycle through two mod-add2 and one mod-add3 units, as shown in Figure 5, to produce the three output coefficients: , , , which correspond to , , and respectively, and are packed into a 24-bit word for write-back to memory.
The MAC tile supports a configurable pipeline depth via MAC_STAGES, which automatically inserts optional register stages after the MM outputs and the sum tree to improve timing closure. Figure 5 shows the general MAC architecture with both optional register stages. However, the implementation results in section IV correspond to MAC_STAGES = 2, where only the register stage after the MM outputs is active. With MAC_STAGES = 2, the MAC pipeline introduces MAC_LAT = 1 cycles of latency. Since the BRAM read latency is 2 cycles, the MAC tile internally manages both latencies through a shift register (mac_cons_sr) that delays the input valid signal by MAC_LAT cycles to assert the accumulation enable exactly when valid data arrives from memory. This gives a total latency of cycles for an inner product of length .
Address Scheduling for mod-ADD, mod-SUB and MAC Tile
In Figure 5, the mod-ADD, mod-SUB, and the MAC tile compute operations over a vector-element. The FSM controller generates the read and write addresses and controls the execution of mod-ADD, mod-SUB, and MAC tile operations according to the QR-UOV parameters and . For mod-ADD and mod-SUB, two 24-bit operands are read sequentially from memory units, and the resulting vector element is written back. In particular, for mod-ADD, MEM-1 and MEM-2 operate concurrently: one provides the input operands, while the other stores the result in the same cycle, reducing latency. The mod-SUB also executes sequentially, where operands are read, the subtraction is performed, and the result is written back to the same memory before the next operands are accessed, introducing a small clock cycle overhead. For both mod-ADD and mod-SUB, the controller generates linear addresses of length or , supporting vector–vector (), vector–matrix (), and matrix–matrix () operations to be executed iteratively.
Similar to mod-ADD and mod-SUB, the MAC tile supports , , and operations iteratively. For these operations, the FSM generates three sequences of read/write addresses: linear (increment by 1), stride-based (increment by or ), and triangular (index-dependent offset with decreasing stride). Linear addressing accesses consecutive elements, while stride-based addressing uses a fixed offset to access matrix columns stored in row-major order. The benefit of stride-based addressing is evident in operations such as and in Algorithm 1, which require accessing the transpose of and . Since these matrices are stored in row-major order, their transposed elements are accessed using a stride equal to the matrix dimension ( or ), eliminating the need to store explicit transposed matrices and reducing both memory usage and access overhead.
For symmetric matrix operations, the controller employs triangular address generation in two scenarios. First, during symmetric matrix construction, only the non-redundant upper triangular elements are written into memory. Second, during symmetric matrix multiplication, only the non-redundant terms are fetched for processing. In both cases, the first operand address increments linearly, while the second operand address is initialized with an index-dependent offset and updated with a progressively decreasing stride to avoid redundant memory accesses. For all addressing modes (linear, stride-based, and triangular), the MAC tile consumes one operand pair per cycle and accumulates the corresponding products. Similar to mod-SUB, the MAC tile operates sequentially: operands are read, the inner product is accumulated, and the result is written back before the next operand pair is accessed. Thus, the same arithmetic datapath supports symmetric matrix construction, symmetric matrix multiplication, and the general , , and operations required by QR-UOV. The iterative read/write address scheduling, using linear, stride-based, and triangular access patterns for mod-ADD, mod-SUB, and MAC tile computations, allows the arithmetic unit to reuse the same datapath of Figure 5 across KeyGen, Sign, and Verify. Also, this strategy reduces hardware resource utilization with a modest increase in clock cycles.
Linear System Solver (LSS)
During signing, the linear system solver (LSS) solves over , where is constructed from the vinegar vector (Algorithm 2, lines 4–10), denotes the oil variables, and is the target vector. Since is independent of the random salt , LU decomposition with partial pivoting is performed once before the repeat loop (lines 13–16), resolving zero pivots through on-the-fly row swaps. The probability that has no solution is at most [14]. Thus, the specification suggests choosing a new salt until at least one solution is obtained. Note that since QUISA takes a sequence of instructions from the host controller, choosing another salt requires only modifying the sequence of instructions rather than making any changes in the datapath of the proposed architecture. This entire procedure is realized in hardware using three modules: (i) an LU decomposition block (LUB), (ii) a sample solution unit (S-Sol), and (iii) a CopyWords unit, as shown in Figure 6. The CopyWords unit is used for two purposes. First, the vector elements generated in line 8 of Algorithm 2 contain only a single valid byte at the LSB position of each 24-bit memory word. After that, CopyWords reads three consecutive words, extracts their valid LSB bytes, packs them into a single valid 24-bit word, and writes the result back to memory. This process continues until all valid bytes are packed. Second, CopyWords supports direct word-level copying, which is reused to store the generated signature contiguously in memory. The architectures of LUB and S-Sol are described in sections III-E1 and III-E2, respectively.

Figure 6. Linear system solver: operating LUB, CopyWords & S-Sol modules independently.
LU-Decompose Block (LUB)
The LUB module (left panel of Figure 6) reads two 24-bit words per cycle and produces one 24-bit word for write-back. It also generates metadata comprising the rank, pivot-column positions, and matrix vector ordering after swapping, which is stored and updated on-the-fly in the QUISA top module. This metadata enables the sample solution unit to reconstruct the solution according to the pivot structure and original vector ordering. The LUB performs four FSM-controlled operations: (i) matrix vector loading, (ii) pivot search with vector swapping, (iii) normalization, and (iv) elimination. Here, a matrix vector denotes a sequence of words.
The LUB module operates on two matrix vectors: the pivot vector and the current vector , streamed into the local buffers row_i_buf and row_j_buf. Each stores words corresponding to coefficients over . Loading a vector requires cycles, including two BRAM-latency cycles. A new pivot requires loading both vectors; otherwise, only vector is reloaded while the pivot vector remains buffered.
Once both vectors are buffered, the controller checks whether the pivot element of row_i_buf at column is non-zero; otherwise, rows are loaded into row_j_buf iteratively until a non-zero entry is found, or is advanced if none exists. This continues until a valid pivot is found or all columns are exhausted, handling rank-deficient matrices by recording the echelon rank and completing the decomposition without stalling or restarting. The two buffers are then swapped, written back to memory in cycles, and orig_row_id is updated to preserve the original row ordering.
When a valid pivot is identified, the pivot-column index and rank metadata are updated. The pivot vector is then normalized in-place within row_i_buf using the multiplicative inverse of the pivot element, retrieved from a precomputed ROM-based lookup table (Fq_inv_table) over . The remaining elements are scaled by the inverse using a dedicated combinational multiplier with Mersenne reduction. This multiplier is separate from the AU MAC tile to avoid scheduling overhead. Since one field element is processed per cycle, normalization requires at most cycles, where is the current pivot-column index. The normalized vector is written back to memory and simultaneously retained in row_i_buf for immediate reuse during elimination.
The elimination is applied to each vector below the pivot vector . The elimination factor is the element at pivot column of row_j_buf, read in a single cycle. The vector is then updated as , where modular multiplication and subtraction are performed using lightweight combinational circuits, processing one field element per cycle. Updating the remaining elements therefore requires at most cycles. The updated vector is repacked into 24-bit words and written back to memory in cycles. This procedure repeats for all vectors to complete a single elimination pass.
QUISA repeats the above steps until LU decomposition is complete or all pivot columns are exhausted. The metadata is tracked on-the-fly in dedicated buffers and becomes immediately available to S-Sol (section III-E2).
Sample Solution Unit (S-Sol)
Like LUB, S-Sol is used only during Sign to solve the linear system. It reads 24-bit words from memory to load the LU-factored matrix vectors of and the elements of , and writes the solution back upon completion. S-Sol also receives the metadata generated by LUB to reconstruct . This process consists of three FSM-controlled phases: (i) matrix vector loading, (ii) forward substitution, and (iii) backward substitution.
A vector of the LU-factored matrix is streamed from memory into a local buffer row_buf, storing words corresponding to field coefficients, requiring $M + 2 cycles including two cycles of BRAM latency. The metadata received from LUB is unpacked combinationally into two local arrays: orig_row_id, which retains the original row ordering prior to swapping and is used during forward substitution to index into correctly, and index_map, which retains the pivot-column position of each pivot row and is used during backward substitution to place each solution element at its correct position in .
Once a vector of is loaded into row_buf, S-Sol computes the intermediate vector by performing forward substitution over the pivot rows, where is the rank provided by LUB metadata. For each pivot row , the dot product is accumulated over cycles into T_ACC using a 21-bit accumulator with Mersenne reduction. The corresponding element b[orig_row_id[i]] is then read from memory in three cycles, including two cycles of BRAM latency, and is computed as , where is retrieved from Fq_inv_table over and modular multiplication and subtraction are performed using lightweight combinational circuits. The computed is stored in b2_buf and simultaneously written back to memory, packed into 24-bit words of three field coefficients.
When forward substitution is complete, S-Sol recovers by performing backward substitution in reverse order over the pivot rows. Any free variable not associated with a pivot column is assigned zero directly into x_buf via a decrementing pointer i_ptr, which advances until it reaches the pivot-column position index_map[j] of the current pivot row . For each pivot row , traversed from down to , the dot product is accumulated over cycles into T_ACC, and the solution element is then computed as using a lightweight combinational subtraction circuit, and stored in x_buf at position index_map[j]. Once all pivot rows are processed, the complete solution vector is streamed from x_buf to memory over cycles, with three field coefficients packed into each 24-bit word.
Overall, S-Sol reconstructs from the LU-factored matrix , the vector , and the metadata produced on-the-fly by LUB, completing the linear system solution over in a hardware realization tightly coupled to the decomposition block.
Implementation Results and Comparisons
The QUISA coprocessor is manually modeled in Verilog-HDL using Vivado IDE and implemented up to the Post-PAR stage on the Artix-7 (xc7a200tsbv484-3) FPGA device. The Post-PAR execution encompassed KAT-based validation of all functional blocks, i.e., KeyGen, Sign, and Verify operations vs. all security levels and benchmarked against the round-2 reference implementation by the QR-UOV team 2.
blackClock-Cycle Counts and Timing Results
Table III reports the clock cycles, execution time, and throughput for the KeyGen, Sign, and Verify operations. The clock cycles are obtained from the behavioral simulation of the full instruction sequence. The execution time is calculated as at MHz, and the throughput is derived as in operations per second (ops/s). The clock cycles, computation time, and throughput columns in Table III reveal that KeyGen is the computational bottleneck at all security levels due to the large public key, which grows 7.2 from SL-I to SL-V, while the corresponding cycle count grows by only 5.7, as it scales with the matrix dimensions rather than the total public key size. In contrast, Sign and Verify are significantly more efficient: at SL-I, they require only 10% and 7.5% of the KeyGen cycle count, respectively, reflecting the compact signature sizes of QR-UOV. For all security levels, Verify outperforms Sign by 1.3–1.4 in clock cycles.
| Security Levels | Clock Cycles KeyGen | Clock Cycles Sign | Clock Cycles Verify | Time (ms) KeyGen | Time (ms) Sign | Time (ms) Verify | Throughput (ops/s) KeyGen | Throughput (ops/s) Sign | Throughput (ops/s) Verify |
| SL-I | 5,330,536 | 535,697 | 399,777 | 66.63 | 6.69 | 4.99 | 15.01 | 149.48 | 200.40 |
| SL-III | 22,594,572 | 1,607,428 | 1,194,832 | 282.43 | 20.09 | 14.93 | 3.54 | 49.78 | 66.98 |
| SL-V | 30,415,770 | 3,809,819 | 2,801,059 | 380.19 | 47.62 | 35.01 | 2.63 | 20.99 | 28.56 |
Table III. Clock cycles, execution time, and throughput @ 80 MHz.
To further analyze the execution cost, Figure 7 presents the clock cycle distribution of QUISA for SL-I. Figure 7a, Figure 7c and Figure 7e report the contribution of the functional modules, while Figure 7b, Figure 7d and Figure 7f show the corresponding computational blocks. The module-level distribution (Figure 7a, Figure 7c & Figure 7c) confirms that KeyGen is the computational bottleneck of QR-UOV, whereas Sign and Verify require substantially fewer clock cycles. It also shows that AU accounts for most of the clock cycles in all three operations. The block-level distribution (Figure 7b, Figure 7d & Figure 7f) further identifies the source of this cost: SYM-MAT-MUL dominates KeyGen, while Sign is mainly dominated by SYM-MAT-MUL together with the LUB and S-Sol units. In Verify, most clock cycles are spent in the AU-based operations.

Figure 7. Clock cycle distribution of QUISA for SL-I.
Table IV reports the algorithmic clock-cycle counts of the proposed QUISA architecture and the AVX2/AVX512 QR-UOV round-2 software implementations. The software results are taken from the QR-UOV round-2 specification 3, where the experiments were performed on an AMD EPYC 9654P processor using GCC 11.4.0 and OpenSSL 3.0.2. Among the software implementations, the table shows that the AES-based PRG implementations require fewer algorithmic clock cycles than the corresponding SHAKE-based implementations across all QR-UOV operations and security levels. Since FPGA and CPU clock cycles are architecture dependent, the reported values should not be interpreted as direct execution-time or throughput comparisons. Instead, they provide a reference for the algorithmic clock-cycle requirements of the corresponding hardware and software implementations under different PRG choices. Overall, the proposed QUISA architecture requires fewer algorithmic clock cycles across all QR-UOV operations and security levels than the corresponding AVX2/AVX512 software implementations.
| Security Level | Ref | Parameters | Platform | Clock Cycles (M) KeyGen/Sign/Verify | Clock Cycles (M) KeyGen/Sign/Verify |
| SL-I | [14] | 127,156,54,3 | AVX2 | 10.077/3.118/2.741 | 8.587/1.586/1.224 |
| 127,156,54,3 | AVX512 | 9.985/3.130/2.748 | 8.542/1.597/1.226 | ||
| QUISA | 127,156,54,3 | Artix-7 | 5.330/0.535/0.399 | 5.330/0.535/0.399 | |
| SL-III | [14] | 127,228,78,3 | AVX2 | 37.508/9.861/8.678 | 32.311/4.599/3.410 |
| 127,228,78,3 | AVX512 | 36.717/9.824/8.604 | 31.643/4.621/3.424 | ||
| QUISA | 127,228,78,3 | Artix-7 | 22.594/1.607/1.194 | 22.594/1.607/1.194 | |
| SL-V | [14] | 127,306,105,3 | AVX2 | 109.125/24.067/20.992 | 95.579/10.504/7.463 |
| 127,306,105,3 | AVX512 | 102.334/23.880/20.950 | 88.518/10.289/7.334 | ||
| QUISA | 127,306,105,3 | Artix-7 | 30.415/3.809/2.801 | 30.415/3.809/2.801 |
Table IV. Algorithmic clock-cycle counts of the proposed QUISA architecture and the AVX2/AVX512 QR-UOV round-2 software implementations [14]. Green-shaded cells denote results using SHAKE-based PRG, whereas red-shaded cells denote results for QUISA with SHAKE-based PRG and the software implementations with AES-based PRG.
Area Consumption
Table V reports the area breakdown of QUISA in terms of slices, LUTs, FFs, DSP blocks, and BRAM tiles, where no DSP slices are utilized. Since , it does not favor DSP-based multiplication in QR-UOV. As expected, PPSPU accounts for approximately 55% of the total LUT utilization of QUISA, driven primarily by XOFRejSamp and the SHAKE-128/256 wrapper that operate in parallel, contributing 51% and 27% of the PPSPU LUT utilization, respectively. The second largest block is the LSS, accounting for of total LUTs and of total FFs, comprising three submodules: LUB ( of LSS LUTs, of LSS FFs) responsible for on-the-fly rank-deficient row-echelon transformation, S-Sol ( of LSS LUTs) for solution sampling, and CopyWords () contributing negligibly. The AU, including the MAC tile ( of AU LUTs), is notably compact at of total LUTs, reflecting the area efficiency of the LUT-based finite-field arithmetic. The BSU, CopyWords, and Compare modules contribute negligibly to the overall utilization, reflecting their minimal control logic. Mem-2 dominates the BRAM utilization ( of total BRAM tiles) as QUISA computes KeyGen on-the-fly, requiring storage of the large public key matrix , while Mem-1 consumes and Mem-3 contributes negligibly with a single BRAM tile.
Comparison With Related Hardware Implementations
tbl:VI compares QUISA with existing FPGA implementations of digital signatures. Direct comparison is inherently challenging because different schemes employ different parameter sets, leading to varying key and signature sizes that affect both hardware costs and performance. In addition, MQ-based UOV and MAYO implementations use AES for PRG, whereas QUISA relies on SHAKE, whose substantially higher computational cost directly increases the clock cycle count. Consequently, the goal of QUISA is not to outperform existing designs but to establish the first FPGA benchmark for QR-UOV and demonstrate a unified coprocessor that supports all three NIST security levels.
Since QR-UOV is a structured variant of UOV, the FPGA implementation in [18] provides the most relevant comparison. At SL-I, QUISA requires more LUTs than UOV. However, this trend reverses at higher security levels, where its unified architecture maintains a nearly constant footprint of 35k LUTs, making it 2.2 more LUT-efficient than UOV at SL-V (35k vs. 77k LUTs). In addition, QUISA eliminates DSP usage, whereas UOV requires up to four DSPs. For KeyGen, QUISA achieves 2.20 and 1.30 fewer clock cycles at SL-I and SL-V, respectively. At SL-III, however, UOV is faster because QR-UOV incurs substantially higher SHAKE-based rejection sampling overhead due to the larger increase in vinegar variables (156228 versus 160184 for UOV). Sign and Verify remain slower across all security levels due to the inherently larger QR-UOV signatures. Overall, QUISA demonstrates a clear area advantage while remaining competitive in KeyGen.
| Design Units | Slices | LUTs | FFs | DSPs | BRAM Tiles/IPs |
| PPSPU | 5997 | 19373 | 7528 | 0 | 0 |
| └ SHAKE-128/256 wrapper | 1448 | 5181 | 3067 | 0 | 0 |
| └ KECCAK | 1396 | 5004 | 2975 | 0 | 0 |
| └ XOFRejSamp | 3108 | 9977 | 2929 | 0 | 0 |
| └ Output Format Block (OFB) | 1419 | 4172 | 1497 | 0 | 0 |
| └ Byte Stream Unit (BSU) | 22 | 43 | 35 | 0 | 0 |
| Arithmetic Unit (AU) | 605 | 1719 | 287 | 0 | 0 |
| └ Multiplier (1 MAC) | 334 | 931 | 120 | 0 | 0 |
| Linear System Solver (LSS) | 4543 | 13116 | 7504 | 0 | 0 |
| └ LU-Decompose (LUB) | 2903 | 8749 | 5018 | 0 | 0 |
| └ Sample Solution Unit (S-Sol) | 1555 | 4192 | 2408 | 0 | 0 |
| └ CopyWords | 85 | 175 | 78 | 0 | 0 |
| Compare | 34 | 76 | 47 | 0 | 0 |
| Mem-1 () | 59 | 164 | 16 | 0 | 44/1 |
| Mem-2 () | 288 | 724 | 32 | 0 | 176/1 |
| Mem-3 () | 38 | 98 | 0 | 0 | 1/0 |
| Proposed QUISA | 11144 | 35248 | 18375 | 0 | 221/2 |
Table V. Area distribution of QUISA on Artix-7 device.
The fault-resilient MAYO implementation in [19] is designed exclusively for SL-I, while QUISA supports all three security levels within a fixed hardware footprint, using only 1.66 more LUTs. The lower Sign latency of MAYO is largely a consequence of its smaller signature size rather than the underlying hardware architecture. Since Verify clock cycles are not reported in [19], a complete comparison is not possible, as reflected by “–” in Table VI. The high-performance MAYO implementation in [20] supports all three security levels by instantiating 2, 3, and 4 round-based AES128 engines for SL-I, SL-III, and SL-V, respectively. Although this improves performance, the hardware cost increases with the security level, reaching 6.14 more LUTs than QUISA at SL-V, together with substantially higher FF and DSP utilization. In contrast, QUISA offers a constant hardware footprint for all security levels without requiring DSPs. The higher BRAM utilization of QUISA (221 tiles) is inherent to QR-UOV, as it requires the storage of the matrix during KeyGen for signature verification.
Compared with standardized PQC signatures, QUISA implements QR-UOV using fewer LUTs (35k vs. 54k) than the ML-DSA design in [28]. Its higher computational cost reflects the large matrix operations and SHAKE-based rejection sampling required by QR-UOV. The SLH-DSA implementations in [29] require fewer hardware resources, whereas QUISA achieves lower signing latency across all security levels. FALCON provides substantially faster verification with a smaller hardware footprint; however, [30] reports a verification-only architecture.
Conclusions and Future Work
The paper presents QUISA, an instruction-set-driven co-processor architecture that implements the complete QR-UOV MQ-based signature scheme across all NIST security levels on FPGAs. Our high-performance PPSPU module forms the core of the QUISA architecture. By executing SHAKE-based pseudorandom byte generation and rejection sampling in parallel, it minimizes clock cycles. To demonstrate the flexibility of the QUISA architecture, we introduce a dual-datapath architecture supporting PRG, hash, and rejection sampling for MQ-based PQC algorithms, as well as FIPS 202-compliant PRG and hash operations, without additional hardware costs. All other functional modules of the QUISA operate iteratively. In particular, iterative memory address scheduling and shift-add folding-based modular reduction enable a compact, resource-efficient arithmetic unit. Likewise, iterative LU decomposition and sample solution modules provide a complete linear system solver with only minor clock-cycle overhead, making it applicable to other MQ-based schemes over .
The parallel and iterative architectures of QUISA enable high performance with minimal hardware resources. For NIST SL-V, it performs QR-UOV KeyGen, Sign, and Verify in 380.19, 47.62, and 35.01 , respectively, using 11,144 slices, 35,248 LUTs, 18,375 FFs, and 221 BRAM tiles without DSPs on an Artix-7 FPGA. The DSP-free design is platform-agnostic, while the ASIC implementation requires only replacing the BRAMs (MEM-1 and MEM-2) with SRAM macros generated by commercial memory compilers.
| Ref | Scheme | Platform @ MHz | LUT/FF/DSP/BRAM | Clock Cycles (KeyGen/Sign/Verify) | Time () (KeyGen/Sign/Verify) |
| [19] | MAYOSL-I | A7 @ 100 | 21k/13k/11/129 | 996k/2M/– | 9.96/28.67/– |
| [20] | MAYOSL-I | K7 @ 100 | 94k/32k/2/45.5 | 29k/95k/30k | 0.30/0.96/0.30 |
| MAYOSL-III | K7 @ 100 | 147k/52k/2/96 | 65k/214k/66k | 0.65/2.15/0.67 | |
| MAYOSL-V | K7 @ 100 | 215k/73k/2/194.5 | 118k/384k/119k | 1.19/3.89/1.19 | |
| [18] | UOVSL-I | A7 @ 90 | 28k/24k/2/66 | 11M/843k/284k | 123.03/9.37/3.15 |
| UOVSL-III | A7 @ 96 | 38k/29k/4/184.5 | 16.7M/1.46M/823k | 174.24/15.26/8.57 | |
| UOVSL-V | A7 @ 92 | 77k/38k/4/359 | 39.0M/3.3M/1.9M | 424.63/35.95/20.88 | |
| ML-DSA | |||||
| [28] | ML-DSASL-II | US+ @ 230 | 54k/29k/16/29 | 4.87k/24.28k/6.63k | 21/106/29 (in s) |
| ML-DSASL-III | 8.29k/32.80k/9.73k | 36/143/42 (in s) | |||
| ML-DSASL-V | 14.03k/37.59k/14.64k | 61/160/64 (in s) | |||
| SLH-DSA ([29] uses SHA-2 for Hash & results are for parameter variant-f) | |||||
| [29] | SLH-DSASL-I | A7 @ 110 | 6.78k/6.08k/–/8 | –/5M/536k | –/45.73/4.88 |
| SLH-DSASL-III | A7 @ 100 | 15.43k/15.14k/–/12 | –/9M/1.35M | –/90.06/13.58 | |
| SLH-DSASL-V | A7 @ 100 | 15.51k/15.20k/–/12 | –/17M/1.39M | –/173.41/14.00 | |
| FALCON-1024 (signature verification architectures only) | |||||
| [30] | FALCONSL-V | A7 @ 200 | 8.64k/7.02k/16/3 | –/–/2767 | –/–/13.84 (in s) |
| QUISA | QR-UOVSL-I | A7 @ 80 | 35k/18k/0/221 | 5M/535k/399k | 66.63/6.69/4.99 |
| QR-UOVSL-III | 22M/1.6M/1.1M | 282.43/20.09/14.93 | |||
| QR-UOVSL-V | 30M/3.8M/2.8M | 380.19/47.62/35.01 |
Table VI. Comparison with the most recent SoTA digital signature schemes.
Acknowledgments
The authors would like to thank the QR-UOV team for their valuable discussions and continued support throughout this work. We also thank Ryan Bevin (Queen’s University Belfast, Northern Ireland, United Kingdom) for his assistance in setting up the reference implementation and Muhammad Rashid (Umm Al-Qurrah University, Makkah, Saudi Arabia) for his insightful technical comments and careful proofreading of the manuscript.
References
Biographies
Malik Imran

Figure 8 (PDF p. 14).
Malik Imran is a Research Fellow at the Centre for Secure Information Technologies (CSIT), Queen’s University Belfast, Northern Ireland. He received his Ph.D. in Information and Communication Technologies from Tallinn University of Technology (TalTech), Estonia, in 2023. He received M.S. and B.S. degrees in Telecommunication and Networks and Computer Engineering from Pakistan in 2015 and 2011, respectively. His research interests focus on secure-by-design hardware accelerators for cryptographic primitives, with emphasis on post-quantum cryptography, homomorphic encryption and privacy computing.
Ciara Rafferty

Figure 9 (PDF p. 14).
Ciara Rafferty (M’14, SM’24) is a Senior Lecturer at the Centre for Secure Information Technologies (CSIT) in Queen’s University Belfast, Northern Ireland. She received her BSc degree in Mathematics with Extended Studies in Germany from Queen’s University Belfast in 2011 and the PhD degree in Electrical and Electronic Engineering from Queen’s University Belfast in data security in 2015. Her research interests include post-quantum cryptography, privacy enhancing technologies and optimised hardware architectures of cryptographic primitives.
Ayesha Khalid

Figure 10 (PDF p. 14).
Ayesha Khalid (M’2017–SM’2022) is a Senior Lecturer with Queen’s University of Belfast, Belfast, U.K. She received her the B.E. degree in Computer Systems Engineering from the National University of Sciences and Technology (NUST), Pakistan, and the M.S. degree in Electrical Engineering from the Center for Advanced Studies in Engineering (CASE), University of Engineering and Technology, UET-Taxila. Her research interests include lattice-based cryptography, embedded systems security, side channel attacks, and cryptographic hardware. She was a recipient of the DAAD Scholarship Award for her Ph.D. studies at RWTH Aachen, Germany.
Maire O'Neill

Figure 11 (PDF p. 14).
Maire O’Neill (M’03-SM’11) received the M.Eng. degree with distinction and the PhD degree in electrical and electronic engineering from Queen’s University Belfast, U.K., in 1999 and 2002, respectively. She is a Chair of Information Security at Queen’s and holds an EPSRC Leadership fellowship to conduct research into next generation data security architectures. She previously held a UK Royal Academy of Engineering research fellowship from 2003 to 2008. She has authored two research books and has more than 100 peer-reviewed conference and journal publications. Her research interests include hardware cryptographic architectures, side channel analysis, physical unclonable functions and post-quantum cryptography. In 2014 she was awarded a Royal Academy of Engineering Silver Medal, which recognises outstanding personal contribution by an early or mid-career engineer that has resulted in successful market exploitation.
References
- [1]FUJITSU, “Welcome to the world of quantum computing,” 2023, last accessed on April 7, 2026. Available at: https://global.fujitsu/-/media/Project/Fujitsu-HQ/technology/research/events/iscc24/welcome-to-the-world-of-quantum-computing.pdf?rev=15824565471243d4902b575b05b19fb7&hash=41362124BA1E24CD68019BEB0854A93.
- [2]IBM, “Quantum roadmap,” November 2025, last accessed on April 7, 2026. Available at:https://www.ibm.com/downloads/documents/us-en/143d5cda24021e4.
- [3]P. W. Shor, “Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer,” SIAM Journal on Computing, vol. 26, no. 5, pp. 1484–1509, 1997, https://doi.org/10.1137/S0097539795293172.
- [4]L. Grover, “A fast quantum mechanical algorithm for database search,” in Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, ser. STOC ’96, New York, NY, USA: Association for Computing Machinery, 1996, p. 212–219, https://doi.org/10.1145/237814.237866.
- [5]R. L. Rivest, A. Shamir, and L. Adleman, “A method for obtaining digital signatures and public-key cryptosystems,” Commun. ACM, vol. 21, no. 2, p. 120–126, Feb. 1978, https://doi.org/10.1145/359340.359342.
- [6]V. S. Miller, “Use of elliptic curves in cryptography,” in Advances in Cryptology, ser. CRYPTO ’85. Berlin, Heidelberg: Springer-Verlag, 1985, p. 417–426, https://link.springer.com/chapter/10.1007/3-540-39799-X_31.
- [7]L. Chen, S. Jordan, Y.-K. Liu, D. Moody, R. Peralta, R. Perliner, and D. Smith-Tone, “FIPS IR 8105: Report on post-quantum cryptography,” April 2016, https://csrc.nist.gov/pubs/ir/8105/final.
- [8]R. Avanzi, J. Bos, L. Ducas, E. Kiltz, T. Lepoint, V. Lyubashevsky, J. M. Schanck, P. Schwabe, G. Seiler, and D. Stehlé, “CRYSTALS-Kyber algorithm specifications and supporting documentation,” NIST PQC Round 3, 2020, last accessed on April 4, 2026. Available at: https://pq-crystals.org/kyber/data/kyber-specification-round3-20210131.pdf.
- [9]L. Ducas, E. Kiltz, T. Lepoint, V. Lyubashevsky, P. Schwabe, G. Seiler, and D. Stehlé, “CRYSTALS-Dilithium: A lattice-based digital signature scheme,” IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2018, no. 1, p. 238–268, Feb. 2018, https://tches.iacr.org/index.php/TCHES/article/view/839.DOI
- [10]P.-A. Fouque, J. Hoffstein, P. Kirchner, V. Lyubashevsky, T. Pornin, T. Prest, T. Ricosset, G. Seiler, W. Whyte, and Z. Zhang, “Falcon: Fast-Fourier Lattice-based Compact Signatures over NTRU, Specification v1.2,” January 2020, last accessed on April 4, 2026. Available at: https://falcon-sign.info/falcon.pdf.
- [11]D. J. Bernstein, A. Hülsing, S. Kölbl, R. Niederhagen, J. Rijneveld, and P. Schwabe, “The SPHINCS+ signature framework,” in Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, ser. CCS ’19. New York, NY, USA: Association for Computing Machinery, 2019, p. 2129–2146, https://doi.org/10.1145/3319535.3363229.
- [12]H. Furue, Y. Ikematsu, Y. Kiyomura, and T. Takagi, “A new variant of unbalanced oil and vinegar using quotient ring: QR-UOV,” in Advances in Cryptology — ASIACRYPT 2021: 27th International Conference on the Theory and Application of Cryptology and Information Security, Singapore, December 6–10, 2021, Proceedings, Part IV. Berlin, Heidelberg: Springer-Verlag, 2021, p. 187–217, https://doi.org/10.1007/978-3-030-92068-5_7.
- [13]A. Kipnis, J. Patarin, and L. Goubin, “Unbalanced oil and vinegar signature schemes,” in Advances in Cryptology — EUROCRYPT ’99, J. Stern, Ed. Berlin, Heidelberg: Springer-Verlag, 1999, pp. 206–222, https://link.springer.com/chapter/10.1007/3-540-48910-X_15.DOI
- [14]H. Furue, Y. Ikematsu, F. Hoshino, T. Takagi, H. Kosuge, K. Yamakoshi, R. Akiyama, S. Nakamura, S. Orihara, and K. Kinjo, “Name of proposal: QR-UOV, (round-2 specification),” 2025, last accessed on April 9, 2026. https://csrc.nist.gov/csrc/media/Projects/pqc-dig-sig/documents/qruov-spec-round2-web.pdf.
- [15]F. Hoshino, H. Furue, Y. Ikematsu, T. Takagi, K. Yasuda, T. Miyazawa, A. Nagai, and K. Kinjo, “More efficient software implementation of QR-UOV,” in Proceedings of the Symposium on Cryptography and Information Security (SCIS), 2024, pp. 1–5, http://crypto.mist.i.u-tokyo.ac.jp/publications/SCIS2024-1A-2-5.pdf.
- [16]H. Amagasa, R. Ueno, and N. Homma, “AVX2 implementation of QR-UOV for modern x86 processors,” Cryptology ePrint Archive, Paper 2025/1599, 2025, https://eprint.iacr.org/2025/1599.DOI
- [17]M. Imran, S. Khan, Z. U. Abideen, C. Rafferty, A. Khalid, M. Rashid, and M. O’Neill, “RejSCore: Rejection sampling core for multivariate-based public key cryptography,” in 2025 Asian Hardware Oriented Security and Trust Symposium (AsianHOST), Nanjing, China, 2025, pp. 1–6, https://ieeexplore.ieee.org/document/11370348.
- [18]W. Beullens, M.-S. Chen, S.-H. Hung, M. J. Kannwischer, B.-Y. Peng, C.-J. Shih, and B.-Y. Yang, “Oil and vinegar: Modern parameters and implementations,” IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2023, no. 3, p. 321–365, Jun. 2023, https://tches.iacr.org/index.php/TCHES/article/view/10966.
- [19]O. Sayari, S. Marzougui, T. Aulbach, J. Krämer, and J.-P. Seifert, “HaMAYO: A fault-tolerant reconfigurable hardware implementation of the MAYO signature scheme,” in Constructive Side-Channel Analysis and Secure Design, R. Wacquez and N. Homma, Eds. Cham: Springer Nature Switzerland, 2024, pp. 240–259, https://link.springer.com/chapter/10.1007/978-3-031-57543-3_13.DOI
- [20]F. Heringer, S. Streit, F. Krieger, A. C. Mert, and S. S. Roy, “Whipping the multivariate-based MAYO signature scheme using hardware platforms,” in Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, ser. CCS ’24. New York, NY, USA: Association for Computing Machinery, 2024, p. 3421–3435, https://doi.org/10.1145/3658644.3690258.
- [21]U. Banerjee, T. S. Ukyab, and A. P. Chandrakasan, “Sapphire: A configurable crypto-processor for post-quantum lattice-based protocols,” IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2019, no. 4, p. 17–61, Aug. 2019, https://tches.iacr.org/index.php/TCHES/article/view/8344.
- [22]S. Sinha Roy and A. Basso, “High-speed instruction-set coprocessor for lattice-based key encapsulation mechanism: Saber in hardware,” IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2020, no. 4, p. 443–466, Aug. 2020, https://tches.iacr.org/index.php/TCHES/article/view/8690.DOI
- [23]K. Team, “Keccak in VHDL: High-speed core,” last accessed on June, 2025. https://keccak.team/hardware.html.
- [24]M. J. Dworkin, “SHA-3 Standard: Permutation-Based Hash and Extended-Output Functions,” NIST Federal Information Processing Standard (FIPS) 202, Gaithersburg, MD, USA, August 2015, last accessed on May 2025. Available at: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf.DOI
- [25]NIST, “FIPS 203: Module-lattice-based key-encapsulation mechanism standard,” 2023, last accessed on April 2, 2026. https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf.
- [26]———, “FIPS 204: Module-lattice-based digital signature standard,” 2023, last accessed on April 2, 2026. https://doi.org/10.6028/NIST.FIPS.204.
- [27]QR-UOV Team, “QR-UOV: Quantum-Resistant Unbalanced Oil and Vinegar Signature Scheme,” 2020, reference C/C++ code: last accessed on April 8, 2026. https://github.com/qruov/qruov.
- [28]Q. Norga, S. Kundur, and I. Verbauwhede, “ML-DSA-OSH: An efficient, open-source hardware implementation of ML-DSA,” in 2026 Design, Automation & Test in Europe Conference (DATE), 2026, pp. 1–3.DOI
- [29]S. Deshpande, Y. Lee, C. Karakuş, J. Szefer, and Y. Paek, “SPHINCSLET: An area-efficient accelerator for the full SPHINCS+ digital signature algorithm,” ACM Trans. Embed. Comput. Syst., vol. 24, no. 5, Sep. 2025. [Online]. Available: https://doi.org/10.1145/3728469
- [30]H. Hu, Y. Chu, G. Du, X. Wang, Y. Song, D. Zhang, and Z. Li, “A falcon signature verification accelerator using area-efficient NTT architecture with simplified barrett modular multiplier,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 34, no. 3, pp. 860–871, 2026.DOI