WO2024042113A1 - Method for designing a device for a cryptographic application - Google Patents

Method for designing a device for a cryptographic application Download PDF

Info

Publication number
WO2024042113A1
WO2024042113A1 PCT/EP2023/073098 EP2023073098W WO2024042113A1 WO 2024042113 A1 WO2024042113 A1 WO 2024042113A1 EP 2023073098 W EP2023073098 W EP 2023073098W WO 2024042113 A1 WO2024042113 A1 WO 2024042113A1
Authority
WO
WIPO (PCT)
Prior art keywords
multiplication
data processing
designing
processing stage
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/EP2023/073098
Other languages
English (en)
French (fr)
Inventor
Jan-Pieter D'ANVERS
Michiel VAN BEIRENDONCK
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KU Leuven
Original Assignee
KU Leuven
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KU Leuven filed Critical KU Leuven
Priority to US19/106,394 priority Critical patent/US20260064366A1/en
Priority to JP2025511669A priority patent/JP2025527707A/ja
Priority to CN202380070569.2A priority patent/CN119968610A/zh
Priority to KR1020257008837A priority patent/KR20250113386A/ko
Priority to EP23755444.9A priority patent/EP4577905B1/en
Publication of WO2024042113A1 publication Critical patent/WO2024042113A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/499—Denomination or exception handling, e.g. rounding or overflow
    • G06F7/49942—Significance control
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/483—Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/52—Multiplying; Dividing
    • G06F7/523—Multiplying only
    • G06F7/5235—Multiplying only using indirect methods, e.g. quarter square method, via logarithmic domain
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/008—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption

Definitions

  • the present invention is generally related to the field of cryptography. More in particular, the invention relates to methods for designing devices for use in cryptographic applications.
  • Background of the invention [0002] In a context like, e.g., cloud computing users run a certain risk when uploading raw data to untrusted cloud servers. Therefore, it is required that sufficient security be provided to protect the users’ data.
  • FHE Fully Homomorphic Encryption
  • FHE algorithms are often executed on cloud compute servers. Computations are however slow. Typically, execution of a FHE scheme is bottlenecked by the multiplication operation.
  • the ciphertext data on which computations are performed in a FHE scheme are large polynomials (length N) from a certain scheme-dependent polynomial ring. Typical operations on these polynomials include addition and multiplication. While addition is linear in the length of the polynomial (O(N) operations), multiplication has a quadratic cost (O(N 2 ) operations) when using a generic straightforward technique, also known as schoolbook multiplication.
  • NTT Number Theoretic Transformation
  • Toom-Cook multiplication or Karatsuba multiplication.
  • a multiplication using the NTT is generally the most efficient of these algorithms, but it also imposes the most stringent conditions on the polynomial ring used. As such it cannot be used for every FHE scheme.
  • FHE schemes typically use the NTT for fast polynomial multiplication when the underlying ring structure allows it.
  • FHEW Fast Fourier Transform
  • TFHE both enable the use of homomorphic Boolean algebra, e.g. NAND, XOR and XNOR logic gates apart from homomorphic additions and multiplications.
  • FHE ciphertext include noise into the encryption for security purposes. Further, each FHE operation increases the noise present in the ciphertext. Additional FFT quantization noise can be tolerated to some extent.
  • Quantization noise may arise from the fact that an FFT works with real numbers and is approximated with floating-point or fixed-point representations. FHE is tolerant to this noise as long as a certain threshold noise level is not exceeded. Therefore, a FHE scheme has to periodically invoke a bootstrapping operation to decrease the amount of noise in the ciphertext so that one remains below the threshold noise level. However, too much noise causes bootstrapping to fail, and as such, the use of the FFT requires very careful treatment. [0007] Schemes like TFHE and FHEW bootstrap after every encrypted gate. Compared to earlier generation FHE schemes they feature much faster bootstrapping algorithms which additionally allow being programmed with an arbitrary function applied to the ciphertext.
  • a General-LWE ciphertext is a vector of k+1 polynomials; a General-GSW ciphertext is a matrix of (k+1)l x (k+1) polynomials.
  • these polynomials are defined over the real Torus, i.e. their coefficients lie within the interval (0, 1].
  • FHEW these polynomials have integer coefficients.
  • the first step of the “external product” is to decompose each polynomial in the General-LWE ciphertext into l polynomials. Then, the external product in decomposed format, can be represented as a vector-matrix multiplication of polynomials.
  • the output is again a General-LWE ciphertext.
  • the vector (the decomposed GLWE ciphertext) is of dimension 1 ⁇ (k+1)l
  • the matrix (the General-GSW ciphertext) is of dimension (k+1)l ⁇ (k+1)
  • the output is of dimension 1 ⁇ (k+1).
  • the variables k and l are cryptographic FHE parameters.
  • an important feature of FHE applications is that they have inherent cryptographic mathematical noise present in ciphertext data. When ciphertext data is decrypted, the noise is rounded away and the correct result is retrieved.
  • the GLWE output ciphertext of the external product, c(X) (c0(X), c1(X), ..., ck(X)), contains cryptographic mathematical noise.
  • a polynomial multiplication is efficiently computed using a Fast Fourier Transform (FFT).
  • FFT Fast Fourier Transform
  • additional FFT quantization noise can be tolerated in c(X) even in a cryptographic setting due to this inherent mathematical noise.
  • the amount of tolerated noise depends on the cryptographic parameter set. For example, in the above-mentioned paper by I. Chillotti noise formulas are derived for the cryptographic noise present in c(X). [0011] Real numbers can be represented with finite precision in various ways.
  • the typical method is to use floating-point numbers with single or double precision.
  • the precision is defined by the size of the mantissa and the dynamic range by the size of the exponent.
  • This approach is efficient due to the integration of a floating-point unit (FPU) in CPUs and it is therefore the typical representation-of-choice for software designers.
  • Implementations of the above-mentioned TFHE and FHEW schemes have been restricted to double-precision floating point FFTs because single-precision FFTs were found to introduce too much noise. Double-precision floating-point FFTs have been found to keep the amount of introduced noise small enough.
  • a fixed point representation is determined by the number of bits in the representation and by the scaling factor.
  • the integer representations can be seen as versions of a fixed-point representation that have been scaled to remove the decimal point.
  • a single representation is selected for the FFT and IFFT. Verifying that the noise remains small enough is done by testing for a decryption failure over a number of tests.
  • using a single representation ignores the fact that each operation contributes differently to the output noise, depending on the data processed.
  • matching the FFT noise with the mathematical external product noise allows for much more fine-grained noise control and optimisations than only testing for decryption failures.
  • the method first divides the performance of the multiplication of polynomials over at least two interconnected data processing stages, wherein at least one data processing stage is arranged to receive an input operand to perform the multiplication and at least one data processing stage is arranged to provide an output signal of the multiplication.
  • the method further comprises : - defining for each data processing stage one or more parameters related to representation of data to be processed in that data processing stage, - defining one or more constraints for the output signal of the multiplication, - determining for each data processing stage individually a value for the one or more parameters whereby said one or more constraints are taken into account, - applying the determined values for the one or more parameters in each of the data processing stages in the device for performing the multiplication of polynomials in the cryptographic application.
  • the proposed solution indeed allows for designing the various data processing stages of the device for performing a multiplication of polynomials so that each stage has its own, preferably optimized, set of parameters.
  • the parameter set as determined allows, given the type of representation (e.g., fixed-point or floating-point), representing variables used when performing the multiplication in an optimal way whereby the one or more constraints on the output signal are met.
  • the input operand is a vector of polynomials.
  • a second input operand is then a matrix of polynomials, that can be pre-computed into the FFT domain.
  • the one or more parameters comprise one or more of ⁇ bit width, dynamic range, size of the integer part, size of the fractional part, location of decimal point ⁇ .
  • the device is reconfigurable.
  • the method for designing a device comprises a step of splitting up the polynomial multiplication in a plurality of subtasks, whereby each data processing stage performs at least one subtask.
  • said dividing over the at least two data processing stages depends on the hardware implementation of the device.
  • the device has an architecture comprising a plurality of consecutive stages forming a pipeline. The device may then be applied in a Field Programmable Gate Array.
  • a maximum noise level is taken as one of the constraints.
  • the multiplication of polynomials is part of a fully homomorphic encryption scheme.
  • the step of determining for each data processing stage individually the parameter values is performed by means of simulations.
  • the step of determining for each data processing stage individually the value is performed by determining one or more properties of the data to be processed based on a model of noise sources affecting the one or more constraints on the one or more properties and/or on at least one property of an input to a subtask of the data processing stage.
  • one noise source may then stem from removing bits at the least significant bit side of an input of a subtask of the data processing stage.
  • One noise source may stem from dropping bits at the most significant bit side of the input of a subtask of the data processing stage.
  • the multiplication of polynomials is performed using a negacyclic convolution.
  • the representation of data is a fixed-point representation.
  • Fig.1 illustrates a block scheme of an accelerator structure on which the method of the invention can be applied.
  • Fig.2 illustrates an unfolded version of the block scheme of Fig.1.
  • Fig.3 illustrates the butterfly structure as commonly used in FFT implementations.
  • Fig.4 illustrates the split into subtasks and the additional building blocks for the intermediate variables in the third example.
  • Fig.5 illustrates a three step procedure to perform a multiplication.
  • Fig.6 illustrates a possible alternative architecture for the device.
  • illustrative embodiments [0041] The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims.
  • the present invention presents a method to design a device for performing a multiplication of polynomials in a cryptographic application.
  • the multiplication is first divided into at least two data processing stages, to be implemented with optimized data representations.
  • one or more parameters are established determining how to represent variables that are used in the data processing stages when performing the multiplication in the cryptographic application.
  • the MSB value characterizes whether overflow may occur or not.
  • a parameterization is performed for variable c : MSBc and LSBc. By cutting off bits at the MSB, i.e.
  • constraints are known upfront and, for example, can take the form of a maximal noise variance introduced or a maximal probability (e.g.2 -20 or 2 -40 ) of having a variable overflow, without being limited thereto.
  • the goal is to determine parameters that allow for an efficient implementation, while fulfilling said design constraint(s) for the output signal.
  • a generic overview of the proposed approach is now provided, which is applied on an algorithm to be implemented in the device to perform a multiplication of polynomials on an input operand in a cryptographic application.
  • the polynomial multiplication operation is split up in a plurality of subtasks.
  • the device according to this invention comprises at least two data processing stages that are interconnected. Each data processing stage performs at least one subtask.
  • At least one data processing stage is configured to receive the input operand for performing the multiplication. At least one data processing stage is configured to provide an output signal representing the result of the multiplication of polynomials. Any subtask that does not generate an output of the multiplication operation produces a variable which is called in this description an intermediate variable. Any intermediate variable is next used as an input to one or more subsequent subtasks.
  • the input operand may contain one of the variables to be multiplied or both (all) variables. For example, when performing a multiplication of two variables, the two variables may form the input operand. In advantageous embodiments the input operand is a vector of polynomials. One or more constraints are imposed on certain properties of the resulting output of the operation (e.g., a maximum on the variance of the noise introduced).
  • the design method of this invention comprises the following main steps. For each data processing stage of the device one or more parameters are defined that relate to the way data to be processed in that stage (i.e., the intermediate variables) is represented. Also one or more constraints are defined that the output of the polynomial multiplication operation has to meet. In a next step for each data processing stage individually specific values are determined for each parameter of the representations, so that all constraints are fulfilled. Preferably, the values for these parameters are determined in an optimal way, that is, according to an appropriate optimization function. The parameter values are then used in each of the data processing stages of the device to implement the multiplication of polynomials in the device.
  • a preferred way to determine the parameter values for each data processing stage is the following.
  • One or more properties are determined of a variable output by one of the subtasks of the data processing stage being considered. These properties of the variable may be based on a model of the noise source(s) affecting the one or more constraints on the properties of the signal output by that one subtask and/or on at least one property of an input to said one subtask.
  • the model is built in function of parameters of the representation(s) to be determined. This is repeated for all intermediate variables of all the data processing stages as well as for the output variable. For each data processing stage specific values are determined for each parameter of the representations, so that the one or more properties fulfil all constraints.
  • the parameter values as determined are then used in the respective data processing stages in the device for performing the multiplication of polynomials.
  • Building the model of noise sources can be performed as follows. The algorithm performing the multiplication is split into various subtasks and the intermediate variables are identified. For each subtask the input-output behaviour of the properties with respect to the constraints (e.g., the noise introduced, the scaling factor of the input to the output, ...) is determined. For each of these variables the type of representation (i.e., fixed point, floating point, ...) is chosen. The parameters of this representation (like, e.g., highest representable value, lowest representable value, ...) are still undetermined and are initially left as symbolic variables, i.e., as variables without a specific value yet.
  • the extra building block represents the effect of the limited precision of the representation of the variable but has no effect on the algorithm itself.
  • the extra building block has an input-output behaviour that links the symbolic parameters with the imposed constraints.
  • the algorithm is stepped through from input to output and the model is built up for each constraint. For this, one or more relevant properties at the input of the subtasks or of the input operand are determined (e.g., noise variance, input variance, biggest possible value, ...) and these properties are then propagated to the output. For each subtask the input-output behaviour is used to transform the input properties to the corresponding output properties.
  • values are determined for each of the symbolic parameters, so that the constraints are fulfilled. Preferably, these values are selected such that the implementation cost is as low as possible.
  • One way to achieve this is to select a cost function for each symbolic parameter, that models the implementation cost for given values of this parameter.
  • a solution can then be found by solving an optimization problem wherein one determines a value that reduces, and preferably minimizes, the overall cost function while adhering to all constraints.
  • the selected values for the parameters as determined are applied to instantiate the design of the respective data processing stages of the device for the cryptographic application.
  • the tuning of the data representations can be performed by means of simulations.
  • each computational stage contributes independently to the output noise.
  • each computational stage is implemented with very high precision, leading to negligible output noise.
  • a single stage is tweaked (e.g., reducing the bit width of a fixed-point representation), and the resulting output noise is measured and compared to the high-precision case.
  • the output noise due to the tweaked stage comes close to the tolerated output noise (e.g., within X bits).
  • This threshold bit width is then considered the “optimum” bit width for this particular stage. This is repeated until a threshold bit width is determined for each particular stage.
  • each stage is implemented with its threshold bit width, and the total output noise is measured for all stages collectively. If this output noise exceeds the tolerated output noise, then the whole process is repeated for a larger threshold bit width (i.e., the tolerance of X bits is increased).
  • the tuning of data representation happens in a similar way, except that a cost function is assigned to each of the tuned stages. Stages that have a higher computational cost are first tuned to their minimum bit width. Subsequently, following stages are tuned while keeping the costly stage at the tuned bit width. This way, the costly stage is implemented with the absolute minimum precision, at the cost of the other stages being implemented with higher precision.
  • FIG.1 A block scheme of an advantageous accelerator structure is presented in Fig.1.
  • the architecture has clear resemblances to a streaming DSP processor architecture with large fully- pipelined, directly cascaded computational stages and heavily simplified control logic.
  • the accelerator is conceived to achieve maximum throughput/area, with maximally unrolled arithmetic units, eliminating control logic and hard-coded routing paths.
  • FFT-based multiplication works according to Equation (2), by converting the input polynomials [a 0 a 1 ... a (k+1)l-1 ] into another representation using the FFT.
  • the multiplication operation with polynomials B i,j (which are pre-computed in the FFT domain) can be performed pointwise (N operations per pair in Equation (2)).
  • the accumulation step of the vector-matrix product is preferably executed in FFT-domain. Afterwards, the result needs to be converted back to the initial representation using the inverse FFT (IFFT).
  • IFFT inverse FFT
  • the FFT and IFFT conversion operations are typically the most expensive operations of the FFT-based multiplication requiring O(N.log(N)) operations, with N the number of coefficients in the polynomials. The number of coefficients determines the FFT depth and width.
  • An FFT-based multiplication operates on complex numbers, with both the real and imaginary part being real numbers, whereas other multiplication algorithms use integers.
  • a finite precision is used to represent real numbers, the computation of a multiplication is not always exact and can be noisy, i.e. a small error ⁇ could be introduced :
  • a certain level of noise introduced by the FFT can be tolerated in FHE apart from the (mathematical) noise already present in the equations for security. This means that the magnitude of the noise ⁇ needs to be considered very carefully. Implementations of FHE impose tight restrictions on the introduced noise. If too much noise is introduced by the FFT into the polynomial multiplication, computations fail and return an incorrect result.
  • Fig.2 shows an unfolded version of the exemplary accelerator hardware architecture with a pipeline structure depicted in Fig.1.
  • Such an architecture is advantageously applied in a Field Programmable Gate Array (FPGA).
  • the matrix input Bi,j in Equation 1 can be pre-computed in the FFT- domain.
  • the inputs Bi,j are available in FFT domain.
  • the FFT component (12) computes the FFT of the vector a applied to the input of the structure.
  • a Multiply- Accumulate (MAC) component (13) accumulates the components of the point-wise operations in the FFT domain.
  • An inverse FFT component (14) is provided to put the output vector back from the FFT domain.
  • MAC Multiply- Accumulate
  • Equation 1 there are (k+1).l forward FFTs, and (k+1) inverse FFTs, hence these blocks require different throughputs. All the blocks are connected as a pipeline as already mentioned.
  • the architecture can be divided into a number of stages (functional blocks). There is the FFT block, the MAC block, and the inverse FFT blocks. Within each of these blocks there may be multiple stages as well.
  • the FFT block has log 2 (N) stages of ‘butterfly’ units. These butterfly units perform a butterfly operation, which is an important part of the FFT transformation.
  • the variables in the fast Fourier transformation, and thus also in the butterfly operations, are complex numbers. However, it is typically possible to assume the distribution and properties of the real and imaginary part are the same. In such a scenario, one can focus in the analysis on the properties of the real part only.
  • a maximal noise variance constraint is imposed on each butterfly structure.
  • the goal is, for example, to select a value for the position of the least significant bit (LSB) of each intermediate variable.
  • the LSB and variances of the noise and the signal are taken as the relevant properties.
  • additional building blocks are added to the scheme for intermediate variables v at , v c , v d as depicted in Fig.4. These blocks model the inaccuracies due to the limited range of the representation.
  • a model is built of the noise introduced due to cutting off the least significant bits for example, by assuming that the LSB bits that are cut off, are independently uniformly distributed.
  • the multiplication subtask in the butterfly operation can be simplified by exploiting knowledge of the twiddle input properties.
  • the model can then be computed by starting from the twiddle input, which has reduced accuracy due to the finite representation (except for twiddles 1 and –1 and i and -i). Symbolic parameters are put in bold to distinguish them from the other parameters or properties.
  • the ramp() function returns a 0 for negative input values and returns the input value for positive input values. The reason for having this function is that additional noise is only present if there are relevant bits discarded, which happens if LSBv ⁇ LSBin.
  • the polynomial multiplication using FFT as discussed in the example above can also be seen as a computation of the inner product between the input (being a vector of polynomials) and a bootstrapping key (also a vector of polynomials).
  • a three-step procedure an FFT, coefficientwise multiplication and accumulation, and an inverse FFT.
  • Such a procedure is depicted in Fig.5.
  • the second multiplication term i.e., the bootstrapping key
  • the input is known beforehand (as was already indicated w.r.t.
  • One challenge is the substantial number of operations, and thus the substantial number of parameters, that need to be determined.
  • twist-and-fold step at the start and at the end of the algorithm, which accounts for the negacyclic behaviour.
  • steps can be seen in Figs.1 and 2 : they are represented by the multiplications before the FFT and after the IFFT, respectively.
  • This twist-and- fold step comprises an extra packing of the input and a multiplication with a complex number (the twiddle factor).
  • the packing takes two integers a, b and combines them into a complex number a + bi. This operation typically does not produce any noise.
  • the additional multiplication operation can be modelled using the approaches as described previously.
  • the postprocessing after the IFFT is the inverse operation.
  • the negacyclic convolution may be performed in a separate data processing stage.
  • a type of representation for the variables In an FFT scheme for performing polynomial multiplication as considered in this invention, a fixed-point representation is advantageously selected. The above-described approach can then be applied to determine the parameters of the fixed-point representation of the variables that occur when the device performs the operation, while the imposed constraints are met.
  • a device e.g., a hardware circuit, can be constructed with fixed-point arithmetic for these parameters. In practice, it may be advantageous to have a library of parameterized hardware circuit implementations, where the fixed- point bit widths are generic parameters.
  • a circuit can be chosen to match the input types, and these parameters are set at “circuit-synthesis time” to match the required output noise ⁇ .
  • the architecture is simulated with very large bit widths for a, b, and c, leading to negligible output noise variance ⁇ 2 noise,out ⁇ ⁇ 2 maxnoise.
  • a cost function is assigned to the parameters ‘a’, ’b’, and ‘c’.
  • a simple cost function is applicable here: since there are more forward than inverse FFT (Fig.1), a higher cost is assigned to ‘a’ than to ‘b’. Further, since the inverse FFT operation is more costly than the MAC operation, a higher cost is assigned to ‘b’ than to ‘c’.
  • the output noise is simulated by sweeping the mostly costly parameter, ‘a’, first.
  • the device e.g., hardware circuit
  • the output noise ⁇ is measured, and the output noise can be compared to a floating-point reference implementation.
  • the output noise is verified to meet the noise bounds (e.g., standard-deviation 2) determined above.
  • An FPGA bitstream can be created for the circuit with the optimal fixed-point parameter set determined in the method as presented above.
  • the FPGA bitstream allows accelerating the FHE bootstrapping procedure, which involves many (thousands) iterations of polynomial-vector multiplication.
  • the architecture is implemented as depicted in Fig.1. Resembling a streaming DSP processor, the architecture has fully pipelined units that are directly cascaded. Data streams from one processing stage to the next. It is an object of the invention to implement each data processing stage with a different optimized data representation.
  • conversions between data representations can be hard- wired in the dedicated connections between streaming processing stages.
  • this architecture has simplified control logic.
  • FIG.6 Another example of an architecture that can be considered is depicted in Fig.6 (based on Matcha).
  • the architecture resembles a more classical CPU, with a central memory file and connected arithmetic processing units.
  • the computing components FFT, MAC, inverse FFT
  • the computing components can be connected to a memory file by means of crossbars.
  • a suitable data representation is to be determined for each stage of the structure, i.e., for the FFT block, the various MAC blocks and the inverse FFT.
  • the central memory can be considered a separate write-back stage, and its implementation and data representation can be optimised similarly.
  • the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive. The foregoing description details certain embodiments of the invention. It will be appreciated, however, that no matter how detailed the foregoing appears in text, the invention may be practiced in many ways. The invention is not limited to the disclosed embodiments. [0092] Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure and the appended claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Nonlinear Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Complex Calculations (AREA)
PCT/EP2023/073098 2022-08-26 2023-08-23 Method for designing a device for a cryptographic application Ceased WO2024042113A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US19/106,394 US20260064366A1 (en) 2022-08-26 2023-08-23 Method for designing a device for a cryptographic application
JP2025511669A JP2025527707A (ja) 2022-08-26 2023-08-23 暗号アプリケーションのためのデバイスを設計する方法
CN202380070569.2A CN119968610A (zh) 2022-08-26 2023-08-23 设计用于加密应用的设备的方法
KR1020257008837A KR20250113386A (ko) 2022-08-26 2023-08-23 암호 애플리케이션을 위한 디바이스 설계를 위한 방법
EP23755444.9A EP4577905B1 (en) 2022-08-26 2023-08-23 Method for designing a device for a cryptographic application

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP22192305.5 2022-08-26
EP22192305 2022-08-26

Publications (1)

Publication Number Publication Date
WO2024042113A1 true WO2024042113A1 (en) 2024-02-29

Family

ID=83081913

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2023/073098 Ceased WO2024042113A1 (en) 2022-08-26 2023-08-23 Method for designing a device for a cryptographic application

Country Status (6)

Country Link
US (1) US20260064366A1 (enExample)
EP (1) EP4577905B1 (enExample)
JP (1) JP2025527707A (enExample)
KR (1) KR20250113386A (enExample)
CN (1) CN119968610A (enExample)
WO (1) WO2024042113A1 (enExample)

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "lattice crypto - Why use negacyclic convolutions for polynomial multiplication instead of regular convolutions? - Cryptography Stack Exchange", 23 May 2022 (2022-05-23), XP093020682, Retrieved from the Internet <URL:https://crypto.stackexchange.com/questions/100249/why-use-negacyclic-convolutions-for-polynomial-multiplication-instead-of-regular> [retrieved on 20230203] *
I. CHILLOTTI ET AL., J.CRYPTOL, vol. 33, 2020, pages 34 - 91
L. DUCAS ET AL., EUROCRYPT, 2015, pages 617 - 640
SAMARDZIC NIKOLA NSAMAR@MIT EDU ET AL: "F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption", PROCEEDINGS OF THE 2021 IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING, ACMPUB27, NEW YORK, NY, USA, 18 October 2021 (2021-10-18), pages 238 - 252, XP058901671, ISBN: 978-1-4503-9182-5, DOI: 10.1145/3466752.3480070 *
SU YANG ET AL: "FPGA-Based Hardware Accelerator for Leveled Ring-LWE Fully Homomorphic Encryption", IEEE ACCESS, IEEE, USA, vol. 8, 10 September 2020 (2020-09-10), pages 168008 - 168025, XP011810425, DOI: 10.1109/ACCESS.2020.3023255 *
SUJOY SINHA ROY ET AL: "FPGA-based High-Performance Parallel Architecture for Homomorphic Computing on Encrypted Data", vol. 20190220:174016, 14 February 2019 (2019-02-14), pages 1 - 12, XP061031839, Retrieved from the Internet <URL:http://eprint.iacr.org/2019/160.pdf> [retrieved on 20190214] *

Also Published As

Publication number Publication date
KR20250113386A (ko) 2025-07-25
EP4577905C0 (en) 2026-06-24
US20260064366A1 (en) 2026-03-05
CN119968610A (zh) 2025-05-09
EP4577905A1 (en) 2025-07-02
EP4577905B1 (en) 2026-06-24
JP2025527707A (ja) 2025-08-22

Similar Documents

Publication Publication Date Title
Kaufmann et al. Verifying large multipliers by combining SAT and computer algebra
Chen et al. High-speed polynomial multiplication architecture for ring-LWE and SHE cryptosystems
US12512961B2 (en) Multi-modal cryptographic processor
Javeed et al. Efficient number theoretic transform architecture for CRYSTALS-kyber
Chen et al. Parameter space for the architecture of FFT-based Montgomery modular multiplication
US20240411833A1 (en) Architecture for number theoretic transform and inverse number theoretic transform
Dai et al. Area-time efficient architecture of FFT-based montgomery multiplication
Das et al. Hybrid recursive Karatsuba multiplications on FPGAs
US20260149586A1 (en) Method for performing an operation in a cryptographic application
Foster et al. Flexible HLS-based implementation of the Karatsuba multiplier targeting homomorphic encryption schemes
Hartshorn et al. Number theoretic transform (NTT) FPGA accelerator
EP4577905B1 (en) Method for designing a device for a cryptographic application
EP4641546A1 (en) Cryptographic system pipelined number theoretic transform accelerator
El-Kady et al. High-level synthesis design approach for number-theoretic multiplier
Roy et al. Compact ring-lwe based cryptoprocessor
Tan et al. An efficient polynomial multiplier architecture for the bootstrapping algorithm in a fully homomorphic encryption scheme
Das et al. ATP-Optimized Implementation of Four-Way Toom-Cook Multiplications on FPGAs for Large Integer Arithmetic
Bao et al. AEKA: FPGA implementation of area-efficient Karatsuba accelerator for ring-binary-LWE-based lightweight PQC
EP4447383A1 (en) Number theoretic transform with parallel coefficient processing
Fiege et al. Discovering optimal constant matrix multiplication circuits with boolean satisfiability
Serhiienko et al. Calculation of the Sigmoid Activation Function in FPGA Using Rational Fractions
Shrivastava et al. Post-Quantum HAWK Signature Acceleration with RISC-V-Based Hardware-Software Co-Design
Petrovsky et al. Automatic generation of split-radix 2-4 parallel-pipeline FFT processors: hardware reconfiguration and core optimizations
US12712731B2 (en) Apparatus and methods for prime field modular reduction
Kumar et al. An efficient DFT implementation using modified group distributed arithmetic

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23755444

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2025511669

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 202517026314

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2023755444

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2023755444

Country of ref document: EP

Effective date: 20250326

WWE Wipo information: entry into national phase

Ref document number: 202380070569.2

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 202517026314

Country of ref document: IN

WWP Wipo information: published in national office

Ref document number: 202380070569.2

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2023755444

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020257008837

Country of ref document: KR