MCPcopy Create free account

hub / github.com/cloudflare/circl / functions

Functions5,182 in github.com/cloudflare/circl

↓ 3 callersMethodevaluate
(elements []Blinded, secret Blind)
oprf/server.go:24
↓ 3 callersMethodexp
(x *Cyclo6, n []byte)
ecc/bls12381/ff/cyclo6.go:12
↓ 3 callersFunctionexpandSeed
(seed []byte)
abe/cpabe/tkn20/internal/tkn/bk.go:58
↓ 3 callersFunctionexpandSeedIntoA
(A *nByNU16, seed *[seedASize]byte, xof *sha3.State)
kem/frodo/frodo640shake/matrix_shake.go:7
↓ 3 callersFunctioneye
eye returns the k by k identity matrix.
abe/cpabe/tkn20/internal/tkn/matrixZp.go:130
↓ 3 callersFunctionfiatFpMontMul
The function fiatFpMontMul multiplies two field elements in the Montgomery domain. Preconditions: 0 ≤ eval arg1 < m 0 ≤ eval arg2 < m Postconditi
ecc/bls12381/ff/fpMont381.go:208
↓ 3 callersFunctionfiatScMontMul
The function fiatScMontMul multiplies two field elements in the Montgomery domain. Preconditions: 0 ≤ eval arg1 < m 0 ≤ eval arg2 < m Postconditi
ecc/bls12381/ff/scMont255.go:176
↓ 3 callersMethodfinalize
(f *FinalizeData, e *Evaluation, info []byte)
oprf/client.go:118
↓ 3 callersMethodfixedBlind
(message, salt []byte, r, rInv *big.Int)
blindsign/blindrsa/brsa.go:143
↓ 3 callersMethodforsNodeIter
See FIPS 205 -- Section 8.2 -- Algorithm 15 -- Iterative version. This is a stack-based implementation that computes the tree leaves in order (from t
sign/slhdsa/fors.go:53
↓ 3 callersMethodforsSigSize
()
sign/slhdsa/fors.go:20
↓ 3 callersMethodforsSign
See FIPS 205 -- Section 8.3 -- Algorithm 16.
sign/slhdsa/fors.go:94
↓ 3 callersMethodforsSkGen
See FIPS 205 -- Section 8.1 -- Algorithm 14.
sign/slhdsa/fors.go:39
↓ 3 callersFunctionfp384Cmov
go:noescape
ecc/p384/arith.go:110
↓ 3 callersFunctionfpAdd
go:noescape
ecc/fourq/fp_amd64.go:16
↓ 3 callersFunctionfpInv
fpInv sets z to a^(-1) mod p.
ecc/fourq/fp.go:115
↓ 3 callersFunctionfpSub
go:noescape
ecc/fourq/fp_amd64.go:19
↓ 3 callersFunctionfqCopy
(c, a *Fq)
ecc/fourq/fq.go:40
↓ 3 callersFunctionfqInv
(c, a *Fq)
ecc/fourq/fq.go:103
↓ 3 callersFunctionfqSqrt
fqSqrt calculates c = sqrt(u/v) such that sgn(c)=s.
ecc/fourq/fq.go:44
↓ 3 callersMethodfromBytes
(p *params, c *cursor)
sign/slhdsa/keys.go:117
↓ 3 callersMethodfromBytes
(p *params, c *cursor)
sign/slhdsa/hypertree.go:12
↓ 3 callersMethodfromMont
()
ecc/bls12381/ff/fp.go:45
↓ 3 callersMethodfromMont
()
vdaf/prio3/arith/fp64/fp.go:38
↓ 3 callersMethodfromMont
()
vdaf/prio3/arith/fp128/fp.go:38
↓ 3 callersMethodfromR1
(Q *pointR1)
sign/ed25519/point.go:175
↓ 3 callersMethodgadgetPolyLen
()
vdaf/prio3/internal/flp/valid.go:35
↓ 3 callersMethodhelperProofsShare
(out V, aggID uint8, s *Seed)
vdaf/prio3/internal/prio3/xof.go:120
↓ 3 callersFunctionhexB
(b []byte)
hpke/vectors_test.go:310
↓ 3 callersMethodinverse
inverse sets m to the inverse of a. If a is not invertible, the result is undefined and an error is returned. Aliasing safe
abe/cpabe/tkn20/internal/tkn/matrixZp.go:259
↓ 3 callersMethodisValidProjective
isValidProjective returns true if the point is not a projective point.
ecc/bls12381/g1.go:134
↓ 3 callersMethodisZero
isZero returns false in case v is equal to 0, otherwise true. Constant time.
dh/csidh/fp511.go:203
↓ 3 callersMethodjointRandSeed
(jointRandParts []byte)
vdaf/prio3/internal/prio3/xof.go:182
↓ 3 callersMethodmapToCurveParams
()
group/short.go:404
↓ 3 callersMethodmarshalBinary
()
abe/cpabe/tkn20/internal/tkn/tk.go:341
↓ 3 callersFunctionmax
(in []int)
abe/cpabe/tkn20/internal/tkn/tk.go:541
↓ 3 callersMethodmixAdd
mixAdd calculates P= P+Q, where Q is a precomputed point with Z_Q != 1.
ecc/goldilocks/twistPoint.go:101
↓ 3 callersMethodmixAdd
(Q *pointR3)
sign/ed25519/point.go:108
↓ 3 callersFunctionmodP434
Reduce a field element in [0, 2*p) to one in [0,p). go:noescape
dh/sidh/internal/p434/arith_decl.go:50
↓ 3 callersFunctionmodP503
Reduce a field element in [0, 2*p) to one in [0,p). go:noescape
dh/sidh/internal/p503/arith_decl.go:50
↓ 3 callersFunctionmodP751
Reduce a field element in [0, 2*p) to one in [0,p). go:noescape
dh/sidh/internal/p751/arith_decl.go:50
↓ 3 callersFunctionmodQ32
(x int32)
pke/kyber/internal/common/field_test.go:12
↓ 3 callersFunctionmontDecode
(c, a *fp384)
ecc/p384/arith.go:31
↓ 3 callersFunctionmontReduceLe2Q
For x R ≤ q 2³², find y ≤ 2q with y = x mod q.
sign/internal/dilithium/field.go:20
↓ 3 callersFunctionmontgomeryLadder
* ------------------------------------------------------------------------- Generate invalid public key points / ciphertext for test TestKEMInvalid
dh/sidh/internal/p434/curve_test.go:113
↓ 3 callersFunctionmontgomeryLadder
* ------------------------------------------------------------------------- Generate invalid public key points / ciphertext for test TestKEMInvalid
dh/sidh/internal/p751/curve_test.go:113
↓ 3 callersFunctionmontgomeryLadder
* ------------------------------------------------------------------------- Generate invalid public key points / ciphertext for test TestKEMInvalid
dh/sidh/internal/p503/curve_test.go:113
↓ 3 callersFunctionmul512
(r, m1 *fp, m2 uint64)
dh/csidh/fp511_noasm.go:6
↓ 3 callersFunctionmulA24Generic
(z, x *fp.Elt)
dh/x25519/curve_generic.go:58
↓ 3 callersFunctionmulA24Generic
(z, x *fp448.Elt)
dh/x448/curve_generic.go:58
↓ 3 callersFunctionmustSameLen
(x, y T)
vdaf/prio3/arith/fp64/vector.go:208
↓ 3 callersFunctionmustSameLen
(x, y T)
vdaf/prio3/arith/fp128/vector.go:209
↓ 3 callersFunctionmustSumLen
(z, x, y T)
vdaf/prio3/arith/fp64/vector.go:214
↓ 3 callersFunctionmustSumLen
(z, x, y T)
vdaf/prio3/arith/fp128/vector.go:215
↓ 3 callersFunctionnewLexer
(source string)
abe/cpabe/tkn20/internal/dsl/lexer.go:24
↓ 3 callersFunctionoddCrossing
Executes the permutation (a[1] b[0]) (a[3] b[2]) when considering only the even positions of a and b seen as [8]uint32.
sign/internal/dilithium/asm/src.go:44
↓ 3 callersFunctionoracle
oracle generates 3x2 matrices via the random oracle
abe/cpabe/tkn20/internal/tkn/matrixG1.go:224
↓ 3 callersMethodpermB
permB = 6 for Ascon128 and Ascon80pq, or 8 for Ascon128a.
cipher/ascon/ascon.go:173
↓ 3 callersMethodpermute
permute applies the KeccakF-1600 permutation. It handles any input-output buffering.
internal/sha3/sha3.go:82
↓ 3 callersMethodpi
()
abe/cpabe/tkn20/internal/tkn/policy.go:317
↓ 3 callersMethodpsi
psi is the Galbraith-Scott endomorphism. See https://eprint.iacr.org/2008/117.
ecc/bls12381/g2.go:161
↓ 3 callersFunctionrandSliceUint32WithMax
(length uint, max uint32)
sign/internal/dilithium/field_test.go:12
↓ 3 callersFunctionrandomCyclo6
(t testing.TB)
ecc/bls12381/ff/cyclo6_test.go:10
↓ 3 callersFunctionrandomFp
(t testing.TB)
ecc/bls12381/ff/fp_test.go:11
↓ 3 callersFunctionrandomFp6
(t testing.TB)
ecc/bls12381/ff/fp6_test.go:9
↓ 3 callersFunctionreadVector
(t *testing.T, fileName string, vector interface{})
sign/slhdsa/acvp_test.go:334
↓ 3 callersFunctionred64
(z *Elt, l, h *[7]uint64)
math/fp448/fp_generic.go:276
↓ 3 callersMethodscanTokens
()
abe/cpabe/tkn20/internal/dsl/lexer.go:35
↓ 3 callersMethodsecretFromInfo
(info []byte)
oprf/server.go:78
↓ 3 callersFunctionsequentialBytes
sequentialBytes produces a buffer of size consecutive bytes 0x00, 0x01, ..., used for testing. The alignment of each slice is intentionally randomize
internal/sha3/sha3_test.go:155
↓ 3 callersMethodset
set sets m to a.
abe/cpabe/tkn20/internal/tkn/matrixG1.go:109
↓ 3 callersMethodset
set sets m to a.
abe/cpabe/tkn20/internal/tkn/matrixZp.go:157
↓ 3 callersMethodsetBytes
(b []byte)
sign/bls/bls.go:68
↓ 3 callersFunctionsetBytesBounded
(in []byte, order []byte)
ecc/bls12381/ff/common.go:41
↓ 3 callersMethodshare
share distributes an input into shares for a secret sharing system for the formula: the original vector can be recovered from shares that satisfy the
abe/cpabe/tkn20/internal/tkn/formula.go:249
↓ 3 callersFunctionsignAll
(signature []byte, privateKey PrivateKey, message, ctx []byte, preHash bool)
sign/ed25519/ed25519.go:225
↓ 3 callersMethodsswu
sswu implements the Simplified Shallue-van de Woestijne-Ulas method for mapping a field element to a point on the isogenous curve.
ecc/bls12381/g1Isog.go:32
↓ 3 callersFunctionswapInner
Executes the permutation (a[2] b[0]) (a[3] b[1]) when considering only the even positions of a and b seen as [8]uint32.
sign/internal/dilithium/asm/src.go:35
↓ 3 callersFunctiontestFqAdd
(t *testing.T, f tFqAdd)
ecc/fourq/fq_test.go:192
↓ 3 callersFunctiontestFqMul
(t *testing.T, f tFqMul)
ecc/fourq/fq_test.go:250
↓ 3 callersFunctiontestFqSqr
(t *testing.T, f tFqSqr)
ecc/fourq/fq_test.go:283
↓ 3 callersFunctiontestFqSub
(t *testing.T, f tFqSub)
ecc/fourq/fq_test.go:221
↓ 3 callersFunctiontestMul
Utility function used for testing Mul implementations. Tests caller provided mulFunc against mul()
dh/sidh/internal/p751/arith_amd64_test.go:36
↓ 3 callersFunctiontestMul
Utility function used for testing Mul implementations. Tests caller provided mulFunc against mul()
dh/sidh/internal/p503/arith_amd64_test.go:36
↓ 3 callersFunctiontestRedc
Utility function used for testing REDC implementations. Tests caller provided redcFunc against redc()
dh/sidh/internal/p751/arith_amd64_test.go:62
↓ 3 callersFunctiontestRedc
Utility function used for testing REDC implementations. Tests caller provided redcFunc against redc()
dh/sidh/internal/p503/arith_amd64_test.go:62
↓ 3 callersMethodtoAffine
toAffine updates g with its affine representation.
ecc/bls12381/g2.go:319
↓ 3 callersFunctiontoMont
Converts dst to Montgomery if "toMont==true" or from Montgomery domain otherwise.
dh/csidh/utils_test.go:24
↓ 3 callersMethodtoMont
(x, p *big.Int)
vdaf/prio3/arith/gen.go:94
↓ 3 callersMethodtoposort
Sort the Gates so that Inputs are set before outputs.
abe/cpabe/tkn20/internal/tkn/formula.go:136
↓ 3 callersMethodvalidate
(f *FinalizeData, e *Evaluation)
oprf/client.go:91
↓ 3 callersFunctionverify
(public PublicKey, message, signature, ctx []byte, preHash bool)
sign/ed25519/ed25519.go:329
↓ 3 callersMethodverifyFinalize
(input, info, expectedOutput []byte)
oprf/server.go:125
↓ 3 callersMethodwotsLen1
()
sign/slhdsa/wotsp.go:18
↓ 3 callersMethodwotsPkFromSig
See FIPS 205 -- Section 5.3 -- Algorithm 8.
sign/slhdsa/wotsp.go:102
↓ 3 callersMethodwotsSign
See FIPS 205 -- Section 5.2 -- Algorithm 7.
sign/slhdsa/wotsp.go:64
↓ 3 callersFunctionxDblAdd
xDblAdd implements combined doubling of point P and addition of points P and Q on a Montgomery curve E(x): x^3 + A*x^2 + x by using x-coordinate only
dh/csidh/curve.go:55
↓ 3 callersMethodxmssSigSize
()
sign/slhdsa/xmss.go:17
↓ 3 callersMethodxmssSign
See FIPS 205 -- Section 6.2 -- Algorithm 10.
sign/slhdsa/xmss.go:69
↓ 2 callersFunctionAdd
Add calculates z = x+y mod p.
math/fp25519/fp.go:190
← previousnext →1,001–1,100 of 5,182, ranked by callers