Developer(s)  Microsoft Research 

Initial release  2015 
Stable release  v3.1

Repository  github 
Written in  C 
Operating system  Windows 10, Linux 
Platform  IA32, x8664, ARM32, ARM64 
Type  Ellipticcurve cryptographic library 
License  MIT License 
Website  www 
In cryptography, FourQ is an elliptic curve developed by Microsoft Research. It is designed for key agreements schemes (ellipticcurve Diffie–Hellman) and digital signatures (Schnorr), and offers about 128 bits of security.^{[1]} It is equipped with a reference implementation made by the authors of the original paper. The open source implementation is called FourQlib and runs on Windows and Linux and is available for x86, x64, and ARM.^{[2]} It is licensed under the MIT License and the source code is available on GitHub.^{[3]}
Its name is derived from the four dimensional Gallant–Lambert–Vanstone scalar multiplication, which allows high performance calculations.^{[4]} The curve is defined over a two dimensional extension of the prime field defined by the Mersenne prime .
The curve was published in 2015 by Craig Costello and Patrick Longa from Microsoft Research on ePrint.^{[1]}
The paper was presented in Asiacrypt in 2015 in Auckland, New Zealand, and consequently a reference implementation was published on Microsoft's website.^{[2]}
There were some efforts to standardize usage of the curve under IETF; these efforts were withdrawn in late 2017.^{[5]}
The curve is defined by a twisted Edwards equation
is a nonsquare in , where is the Mersenne prime .
In order to avoid small subgroup attacks,^{[6]} all points are verified to lie in an Ntorsion subgroup of the elliptic curve, where N is specified as a 246bit prime dividing the order of the group.
The curve is equipped with two nontrivial endomorphisms: related to the power Frobenius map, and , a low degree efficiently computable endomorphism (see complex multiplication).
The currently best known discrete logarithm attack is the generic Pollard's rho algorithm, requiring about group operations on average. Therefore, it typically belongs to the 128 bit security level.
In order to prevent timing attacks, all group operations are done in constant time, i.e. without disclosing information about key material.^{[1]}
Most cryptographic primitives, and most notably ECDH, require fast computation of scalar multiplication, i.e. for a point on the curve and an integer , which is usually thought as distributed uniformly at random over .
Since we look at a prime order cyclic subgroup, one can write scalars such that and for every point in the Ntorsion subgroup.
Hence, for a given we may write
If we find small , we may compute quickly by utilizing the implied equation
Babai rounding technique^{[7]} is used to find small . For FourQ it turns that one can guarantee an efficiently computable solution with .
Moreover, as the characteristic of the field is a Mersenne prime, modulations can be carried efficiently.
Both properties (four dimensional decomposition and Mersenne prime characteristic), alongside usage of fast multiplication formulae (extended twisted Edwards coordinates), make FourQ the currently fastest elliptic curve for the 128 bit security level.
FourQ is implemented in the cryptographic library CIRCL, published by Cloudflare.^{[8]}