MCPcopy Create free account

hub / github.com/cloudflare/circl / functions

Functions5,182 in github.com/cloudflare/circl

↓ 3 callersFunctionEasyExponentiation
EasyExponentiation calculates g = f^(p^6-1)(p^2+1), where g becomes an element of the 6-th cyclotomic group.
ecc/bls12381/ff/cyclo6.go:67
↓ 3 callersMethodEncode
Encode returns a vector of MeasurementLength() elements representing a measurement of type [Measurement].
vdaf/prio3/internal/prio3/prio3.go:538
↓ 3 callersMethodEvalPoly
EvalPoly is evaluates the circuit over the polynomial ring of the field.
vdaf/prio3/internal/flp/gadgets.go:20
↓ 3 callersMethodEvaluatePoint
Given a 3-isogeny phi and a point pB = x(PB), compute x(QB), the x-coordinate of the image QB = phi(PB) of PB under phi : E_(A:C) -> E_(A':C'). The o
dh/sidh/internal/p434/curve.go:297
↓ 3 callersMethodEvaluatePoint
Given a 4-isogeny phi and a point xP = x(P), compute x(Q), the x-coordinate of the image Q = phi(P) of P under phi : E_(A:C) -> E_(A':C'). Input: Iso
dh/sidh/internal/p434/curve.go:343
↓ 3 callersMethodEvaluatePoint
Given a 3-isogeny phi and a point pB = x(PB), compute x(QB), the x-coordinate of the image QB = phi(PB) of PB under phi : E_(A:C) -> E_(A':C'). The o
dh/sidh/internal/p751/curve.go:297
↓ 3 callersMethodEvaluatePoint
Given a 4-isogeny phi and a point xP = x(P), compute x(Q), the x-coordinate of the image Q = phi(P) of P under phi : E_(A:C) -> E_(A':C'). Input: Iso
dh/sidh/internal/p751/curve.go:343
↓ 3 callersMethodEvaluatePoint
Given a 3-isogeny phi and a point pB = x(PB), compute x(QB), the x-coordinate of the image QB = phi(PB) of PB under phi : E_(A:C) -> E_(A':C'). The o
dh/sidh/internal/p503/curve.go:297
↓ 3 callersMethodEvaluatePoint
Given a 4-isogeny phi and a point xP = x(P), compute x(Q), the x-coordinate of the image Q = phi(P) of P under phi : E_(A:C) -> E_(A':C'). Input: Iso
dh/sidh/internal/p503/curve.go:343
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/mldsa/mldsa65/internal/vec.go:47
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/mldsa/mldsa44/internal/vec.go:47
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/mldsa/mldsa87/internal/vec.go:47
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/dilithium/mode2/internal/vec.go:47
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/dilithium/mode3/internal/vec.go:45
↓ 3 callersMethodExceeds
Checks whether any of the coefficients exceeds the given bound in supnorm Requires the vector to be normalized.
sign/dilithium/mode5/internal/vec.go:47
↓ 3 callersMethodFill
randombytes.
internal/nist/drbg.go:49
↓ 3 callersFunctionFp2Batch3Inv
Set (y1, y2, y3) = (1/x1, 1/x2, 1/x3). All xi, yi must be distinct.
dh/sidh/internal/p434/curve.go:221
↓ 3 callersFunctionFp2Batch3Inv
Set (y1, y2, y3) = (1/x1, 1/x2, 1/x3). All xi, yi must be distinct.
dh/sidh/internal/p751/curve.go:221
↓ 3 callersFunctionFp2Batch3Inv
Set (y1, y2, y3) = (1/x1, 1/x2, 1/x3). All xi, yi must be distinct.
dh/sidh/internal/p503/curve.go:221
↓ 3 callersFunctionFpOrder
FpOrder is the order of the base field for towering returned as a big-endian slice. FpOrder = 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730
ecc/bls12381/ff/fp.go:69
↓ 3 callersFunctionFromBytes
FromBytes returns a point from the input buffer.
ecc/goldilocks/point.go:43
↓ 3 callersFunctionHardExponentiation
HardExponentiation calculates u = g^(Cy_6(p)/r), where u is a root of unity.
ecc/bls12381/ff/cyclo6.go:85
↓ 3 callersMethodHashToElement
HashToElement hashes a message (msg) using a domain separation string (dst) producing a group element with uniform distribution.
group/group.go:50
↓ 3 callersFunctionHashToField
HashToField generates a set of elements {u1,..., uN} = Hash(b) where each u in GF(p) and L is the security parameter.
group/hash.go:11
↓ 3 callersFunctionIDByName
[IDByName] returns the [ID] that corresponds to the given name, or an error if no parameter set was found. See [ID] documentation for the specific nam
sign/slhdsa/params.go:45
↓ 3 callersMethodIdentifier
()
oprf/oprf.go:86
↓ 3 callersMethodImport
PrivateKey operations
dh/csidh/csidh.go:199
↓ 3 callersMethodInv
(x *Cyclo6)
ecc/bls12381/ff/cyclo6.go:11
↓ 3 callersMethodIsEqual
(x *Gt)
ecc/bls12381/gt.go:15
↓ 3 callersMethodIsOnCurve
()
ecc/fourq/point.go:284
↓ 3 callersMethodIsOne
Returns true if the element is the neutral multiplicative element.
vdaf/prio3/arith/arith.go:30
↓ 3 callersFunctionJinvariant
Computes j-invariant for a curve y2=x3+A/Cx+x with A,C in F_(p^2). Result is returned in jBytes buffer, encoded in little-endian format. Caller provid
dh/sidh/internal/p434/curve.go:29
↓ 3 callersFunctionJinvariant
Computes j-invariant for a curve y2=x3+A/Cx+x with A,C in F_(p^2). Result is returned in jBytes buffer, encoded in little-endian format. Caller provid
dh/sidh/internal/p751/curve.go:29
↓ 3 callersFunctionJinvariant
Computes j-invariant for a curve y2=x3+A/Cx+x with A,C in F_(p^2). Result is returned in jBytes buffer, encoded in little-endian format. Caller provid
dh/sidh/internal/p503/curve.go:29
↓ 3 callersMethodKeySize
KeySize returns the size in bytes of the keys used by the AEAD cipher.
hpke/algs.go:205
↓ 3 callersMethodMarshal
Marshal encodes the public key exponent (e).
blindsign/blindrsa/internal/keys/big_keys.go:23
↓ 3 callersMethodMarshalBinary
MarshalBinary returns a slice of ScalarSize bytes that contains the minimal residue of z such that 0 <= z < ScalarOrder (in big-endian order).
ecc/bls12381/ff/scalar.go:69
↓ 3 callersMethodMarshalBinary
MarshalBinary encodes a KeyShare into a byte array in a format readable by UnmarshalBinary. Note: Only Index's up to math.MaxUint16 are supported
tss/rsa/keyshare.go:33
↓ 3 callersMethodMarshalBinary
MarshalBinary returns a slice with the compressed representation of the underlying element in G1 or G2.
sign/bls/bls.go:217
↓ 3 callersFunctionMul
Mul calculates z = x*y mod p.
math/fp25519/fp.go:199
↓ 3 callersMethodMul
(x *Fp4, y *Fp4)
ecc/bls12381/ff/fp4.go:43
↓ 3 callersMethodMul
(x, y *Fp6)
ecc/bls12381/ff/fp6.go:27
↓ 3 callersMethodMulBeta
()
ecc/bls12381/ff/fp2.go:17
↓ 3 callersMethodNIST
()
kem/kyber/gen.go:29
↓ 3 callersMethodNTT
Applies in-place forward NTT(). See Poly.NTT() for assumptions.
pke/kyber/kyber1024/internal/vec.go:65
↓ 3 callersMethodNTT
Applies in-place forward NTT(). See Poly.NTT() for assumptions.
pke/kyber/kyber512/internal/vec.go:63
↓ 3 callersMethodNTT
Applies in-place forward NTT(). See Poly.NTT() for assumptions.
pke/kyber/kyber768/internal/vec.go:65
↓ 3 callersMethodNeg
Neg sets the receiver to -x, and returns the receiver.
group/group.go:85
↓ 3 callersFunctionNew
(numShares uint8, maxMeasurement uint64, context []byte)
vdaf/prio3/sum/sum.go:37
↓ 3 callersFunctionNew
(numShares uint8, length, maxWeight, chunkLength uint, context []byte)
vdaf/prio3/mhcv/mhcv.go:40
↓ 3 callersFunctionNew
(numShares uint8, context []byte)
vdaf/prio3/count/count.go:35
↓ 3 callersFunctionNew
New produces an encoder of the MLSBSet algorithm.
math/mlsbset/mlsbset.go:44
↓ 3 callersFunctionNewDRBG
randombyte_init(seed, NULL, 256).
internal/nist/drbg.go:43
↓ 3 callersFunctionNewDraft10
NewDraft10 creates a new instance of Kangaroo12 draft version -10.
xof/k12/k12.go:52
↓ 3 callersFunctionNewExpanderXOF
NewExpanderXOF returns an Expander based on an extendable output function. The kSecLevel parameter is the target security level in bits, and dst is a
expander/expander.go:94
↓ 3 callersFunctionNewKeyFromSeed
NewKeyFromSeed derives a public/private keypair deterministically from the given seed. Panics if seed is not of length KeySeedSize.
kem/kyber/kyber512/kyber.go:60
↓ 3 callersFunctionNewKeyFromSeed
NewKeyFromSeed derives a public/private keypair deterministically from the given seed. Panics if seed is not of length KeySeedSize.
kem/mlkem/mlkem768/kyber.go:57
↓ 3 callersFunctionNewPreHashWithHash
[NewPreHashWithHash] is used to prehash messages using either the SHA2 or SHA3 hash functions. Returns [ErrPreHash] if the function is not supported.
sign/slhdsa/message.go:29
↓ 3 callersFunctionNewVerifier
(v Variant, pk *rsa.PublicKey)
blindsign/blindrsa/brsa.go:202
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/mldsa/mldsa65/internal/vec.go:16
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/mldsa/mldsa44/internal/vec.go:16
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/mldsa/mldsa87/internal/vec.go:16
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/dilithium/mode2/internal/vec.go:16
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/dilithium/mode3/internal/vec.go:14
↓ 3 callersMethodNormalize
Normalize the polynomials in this vector.
sign/dilithium/mode5/internal/vec.go:16
↓ 3 callersMethodOid
Return the appropriate OIDs for this instance. It is implicitly assumed that the encoding is simple: e.g. uses the same OID for signature and public
pki/pki.go:50
↓ 3 callersMethodOutputLength
()
vdaf/prio3/internal/prio3/prio3.go:522
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/kyber/kyber1024/kyber.go:238
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/kyber/kyber768/kyber.go:238
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/mlkem/mlkem768/kyber.go:235
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/mlkem/mlkem1024/kyber.go:235
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/mlkem/mlkem512/kyber.go:235
↓ 3 callersMethodPack
Packs pk to buf. Panics if buf is not of size PublicKeySize.
kem/xwing/xwing.go:86
↓ 3 callersMethodPkg
()
pke/kyber/gen.go:27
↓ 3 callersFunctionPolyDeriveUniformLeqEta
Sample p uniformly with coefficients of norm less than or equal η, using the given seed and nonce. p will not be normalized, but will have coefficien
sign/mldsa/mldsa65/internal/sample.go:129
↓ 3 callersFunctionPolyDeriveUniformLeqEta
Sample p uniformly with coefficients of norm less than or equal η, using the given seed and nonce. p will not be normalized, but will have coefficien
sign/mldsa/mldsa44/internal/sample.go:129
↓ 3 callersFunctionPolyDeriveUniformLeqEta
Sample p uniformly with coefficients of norm less than or equal η, using the given seed and nonce. p will not be normalized, but will have coefficien
sign/mldsa/mldsa87/internal/sample.go:129
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/mldsa/mldsa65/internal/sample.go:21
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/mldsa/mldsa44/internal/sample.go:21
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/mldsa/mldsa87/internal/sample.go:21
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/dilithium/mode2/internal/sample.go:21
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/dilithium/mode3/internal/sample.go:19
↓ 3 callersFunctionPolyDeriveUniformX4
For each i, sample ps[i] uniformly from the given seed and nonces[i]. ps[i] may be nil and is ignored in that case. Can only be called when DeriveX4A
sign/dilithium/mode5/internal/sample.go:21
↓ 3 callersFunctionPolyDotHat
Sets p to the inner product of a and b using "pointwise" multiplication. See MulHat() and NTT() for a description of the multiplication. Assumes a an
pke/kyber/kyber1024/internal/vec.go:30
↓ 3 callersFunctionPolyDotHat
Sets p to the inner product of a and b using "pointwise" multiplication. See MulHat() and NTT() for a description of the multiplication. Assumes a an
pke/kyber/kyber512/internal/vec.go:28
↓ 3 callersFunctionPolyDotHat
Sets p to the inner product of a and b using "pointwise" multiplication. See MulHat() and NTT() for a description of the multiplication. Assumes a an
pke/kyber/kyber768/internal/vec.go:30
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/mldsa/mldsa65/internal/mat.go:52
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/mldsa/mldsa44/internal/mat.go:52
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/mldsa/mldsa87/internal/mat.go:52
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/dilithium/mode2/internal/mat.go:52
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/dilithium/mode3/internal/mat.go:50
↓ 3 callersFunctionPolyDotHat
Set p to the inner product of a and b using pointwise multiplication. Assumes a and b are in Montgomery form and their coefficients are pairwise suff
sign/dilithium/mode5/internal/mat.go:52
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/mldsa/mldsa65/internal/pack.go:13
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/mldsa/mldsa44/internal/pack.go:13
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/mldsa/mldsa87/internal/pack.go:13
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/dilithium/mode2/internal/pack.go:13
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/dilithium/mode3/internal/pack.go:11
↓ 3 callersFunctionPolyPackLeqEta
Writes p with norm less than or equal η into buf, which must be of size PolyLeqEtaSize. Assumes coefficients of p are not normalized, but in [q-η,q+η
sign/dilithium/mode5/internal/pack.go:13
↓ 3 callersFunctionPolyUnpackLeqEta
Sets p to the polynomial of norm less than or equal η encoded in the given buffer of size PolyLeqEtaSize. Output coefficients of p are not normalized
sign/mldsa/mldsa65/internal/pack.go:49
↓ 3 callersFunctionPolyUnpackLeqEta
Sets p to the polynomial of norm less than or equal η encoded in the given buffer of size PolyLeqEtaSize. Output coefficients of p are not normalized
sign/mldsa/mldsa44/internal/pack.go:49
← previousnext →801–900 of 5,182, ranked by callers