Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DistributedML/Biscotti
/ functions
Functions
7,917 in github.com/DistributedML/Biscotti
⨍
Functions
7,917
◇
Types & classes
796
Function
Example_or1
This code creates an Or predicate indicating that the prover either knows a secret x such that X=x*B, or the prover knows a secret y such that Y=y*B.
lib/dedis/kyber/proof/proof_test.go:181
Function
Example_or2
This code shows how to create and verify Or-predicate proofs, such as the one above. In this case, we know a secret x such that X=x*B, but we don't kn
lib/dedis/kyber/proof/proof_test.go:195
Function
Example_protobuf
This example defines, encodes, and decodes a Person message format equivalent to the example used in the Protocol Buffers overview.
lib/dedis/protobuf/person_test.go:30
Function
Example_rep1
This code creates a simple discrete logarithm knowledge proof. In particular, that the prover knows a secret x that is the elliptic curve discrete log
lib/dedis/kyber/proof/proof_test.go:75
Function
Example_rep2
This example shows how to generate and verify noninteractive proofs of the statement in the example above, i.e., a proof of ownership of public key X.
lib/dedis/kyber/proof/proof_test.go:84
Function
Example_rep3
This code creates a predicate stating that the prover knows a representation of point X with respect to two different bases B1 and B2. This means the
lib/dedis/kyber/proof/proof_test.go:144
Function
Example_schnorr
This example shows how to perform a simple Schnorr signature. Please, use this example as a reference to understand the abstraction only. There is a `
lib/dedis/kyber/examples/sig_test.go:93
Method
FieldName
(ProtoField)
lib/dedis/protobuf/generate.go:155
Method
FieldName
(f ProtoField)
lib/dedis/protobuf/generate.go:168
Method
Finalize
()
lib/dedis/kyber/pairing/bn256/point.go:569
Method
Fit
Fit sets the parameters of the probability distribution from the data samples x with relative weights w. If weights is nil, then all the weights are 1
lib/gonum/stat/distuv/laplace.go:48
Method
Format
Format satisfies the fmt.Formatter interface.
lib/gonum/matrix/mat64/format.go:60
Method
Frobenius
Frobenius computes (xω+y)^p = x^p ω·ξ^((p-1)/6) + y^p
lib/dedis/kyber/pairing/bn256/gfp12.go:122
Method
FrobeniusP2
FrobeniusP2 computes (xω+y)^p² = x^p² ω·ξ^((p²-1)/6) + y^p²
lib/dedis/kyber/pairing/bn256/gfp12.go:130
Method
FrobeniusP4
(a *gfP6)
lib/dedis/kyber/pairing/bn256/gfp6.go:73
Method
FrobeniusP4
(a *gfP12)
lib/dedis/kyber/pairing/bn256/gfp12.go:137
Function
Fuzz
(data []byte)
lib/dedis/protobuf/fuzz.go:32
Function
Fuzz
(data []byte)
lib/dedis/fixbuf/fuzz.go:48
Function
Gbmv
Gbmv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans or blas.ConjTrans, where A is a
lib/gonum/blas/blas32/blas32.go:235
Function
Gbmv
Gbmv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans or blas.ConjTrans, where A is a
lib/gonum/blas/blas64/blas64.go:223
Function
Gbmv
Gbmv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans, y = alpha * A^H * x + beta * y
lib/gonum/blas/cblas128/cblas128.go:226
Function
Gbmv
Gbmv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans, y = alpha * A^H * x + beta * y
lib/gonum/blas/cblas64/cblas64.go:226
Function
Gecon
Gecon estimates the reciprocal of the condition number of the n×n matrix A given the LU decomposition of the matrix. The condition number computed may
lib/gonum/lapack/lapack64/lapack64.go:66
Function
Geev
Geev computes the eigenvalues and, optionally, the left and/or right eigenvectors for an n×n real nonsymmetric matrix A. The right eigenvector v_j of
lib/gonum/lapack/lapack64/lapack64.go:548
Function
Gelqf
Gelqf computes the LQ factorization of the m×n matrix A using a blocked algorithm. A is modified to contain the information to construct L and Q. The
lib/gonum/lapack/lapack64/lapack64.go:145
Function
Gels
Gels finds a minimum-norm solution based on the matrices A and B using the QR or LQ factorization. Gels returns false if the matrix A is singular, and
lib/gonum/lapack/lapack64/lapack64.go:99
Function
Gemm
Level 3 Gemm computes C = alpha * A * B + beta * C, where A, B, and C are dense matrices, and alpha and beta are scalars. tA and tB specify whether A
lib/gonum/blas/blas32/blas32.go:373
Function
Gemm
Level 3 Gemm computes C = alpha * A * B + beta * C, where A, B, and C are dense matrices, and alpha and beta are scalars. tA and tB specify whether A
lib/gonum/blas/blas64/blas64.go:361
Function
Gemm
Level 3 Gemm computes C = alpha * A * B + beta * C, where A, B, and C are dense matrices, and alpha and beta are scalars. tA and tB specify whether A
lib/gonum/blas/cblas128/cblas128.go:376
Function
Gemm
Level 3 Gemm computes C = alpha * A * B + beta * C, where A, B, and C are dense matrices, and alpha and beta are scalars. tA and tB specify whether A
lib/gonum/blas/cblas64/cblas64.go:376
Function
Gemv
Level 2 Gemv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans or blas.ConjTrans, wher
lib/gonum/blas/blas32/blas32.go:227
Function
Gemv
Level 2 Gemv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans or blas.ConjTrans, wher
lib/gonum/blas/blas64/blas64.go:215
Function
Gemv
Level 2 Gemv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans, y = alpha * A^H * x +
lib/gonum/blas/cblas128/cblas128.go:216
Function
Gemv
Level 2 Gemv computes y = alpha * A * x + beta * y, if t == blas.NoTrans, y = alpha * A^T * x + beta * y, if t == blas.Trans, y = alpha * A^H * x +
lib/gonum/blas/cblas64/cblas64.go:216
Function
GenCommitmentKey
GenCommitmentKey generates a commitment key for use in Commit. This key must be kept secret in order to prevent an adversary from learning what data h
vrf-reference/crypto/commitments/commitments.go:57
Method
GeneralizedValues
GeneralizedValues returns the generalized singular values of the factorized matrices. If the input slice is non-nil, the values will be stored in-plac
lib/gonum/matrix/mat64/gsvd.go:137
Method
GenerateClientKey
()
kyber-demo/publicKey.go:81
Method
GenerateClientKey
()
DistSys/publicKey.go:81
Method
GenerateClientKey
()
DistSys/test/publicKey.go:81
Function
Geqrf
Geqrf computes the QR factorization of the m×n matrix A using a blocked algorithm. A is modified to contain the information to construct Q and R. The
lib/gonum/lapack/lapack64/lapack64.go:125
Function
Ger
Ger performs a rank-1 update A += alpha * x * y^T, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/blas32/blas32.go:333
Function
Ger
Ger performs a rank-1 update A += alpha * x * y^T, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/blas64/blas64.go:321
Function
Gerc
Gerc performs a rank-1 update A += alpha * x * y^H, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas128/cblas128.go:336
Function
Gerc
Gerc performs a rank-1 update A += alpha * x * y^H, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas64/cblas64.go:336
Function
Geru
Geru performs a rank-1 update A += alpha * x * y^T, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas128/cblas128.go:329
Function
Geru
Geru performs a rank-1 update A += alpha * x * y^T, where A is an m×n dense matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas64/cblas64.go:329
Function
Gesvd
Gesvd computes the singular value decomposition of the input matrix A. The singular value decomposition is A = U * Sigma * V^T where Sigma is an m×n
lib/gonum/lapack/lapack64/lapack64.go:191
Method
Get
Read structured data from the proof
lib/dedis/kyber/proof/hash.go:113
Method
Get
Read structured data from the proof
lib/dedis/kyber/proof/deniable.go:275
Method
GetFirstPKG2
()
keyGeneration/publicKey.go:75
Method
GetFirstPKG2
()
kyber-demo/publicKey.go:75
Method
GetFirstPKG2
()
DistSys/publicKey.go:75
Method
GetFirstPKG2
()
DistSys/test/publicKey.go:75
Method
GetGeneratorG1
()
keyGeneration/publicKey.go:63
Method
GetGeneratorG1
()
kyber-demo/publicKey.go:63
Method
GetGeneratorG1
()
DistSys/publicKey.go:63
Method
GetGeneratorG1
()
DistSys/test/publicKey.go:63
Method
GetGeneratorG2
()
keyGeneration/publicKey.go:69
Method
GetGeneratorG2
()
kyber-demo/publicKey.go:69
Method
GetGeneratorG2
()
DistSys/publicKey.go:69
Method
GetGeneratorG2
()
DistSys/test/publicKey.go:69
Method
GetMinerPart
(nodeList []int, myMinerPartRPC *MinerPartRPC)
DistSys/main.go:459
Method
GetUpdateList
(iteration int, nodeList *([]int))
DistSys/main.go:438
Function
Getrf
Getrf computes the LU decomposition of the m×n matrix A. The LU decomposition is a factorization of A into A = P * L * U where P is a permutation matr
lib/gonum/lapack/lapack64/lapack64.go:212
Function
Getri
Getri computes the inverse of the matrix A using the LU factorization computed by Getrf. On entry, a contains the PLU decomposition of A as computed b
lib/gonum/lapack/lapack64/lapack64.go:228
Function
Getrs
Getrs solves a system of equations using an LU factorization. The system of equations solved is A * X = B if trans == blas.Trans A^T * X = B if trans
lib/gonum/lapack/lapack64/lapack64.go:243
Function
Ggsvd3
Ggsvd3 computes the generalized singular value decomposition (GSVD) of an m×n matrix A and p×n matrix B: U^T*A*Q = D1*[ 0 R ] V^T*B*Q = D2*[ 0 R ] wh
lib/gonum/lapack/lapack64/lapack64.go:343
Function
GoTypeFor
GoTypeFor returns a string representation of the given type using a mapping in types. GoTypeFor will panic if no type mapping is found after searching
lib/gonum/internal/binding/binding.go:81
Function
GoTypeForEnum
GoTypeForEnum returns a string representation of the given enum type using a mapping in types. GoTypeForEnum will panic if no type mapping is found af
lib/gonum/internal/binding/binding.go:114
Function
GroupNew
GroupNew is the Default implementation of reflective constructor for Group
lib/dedis/kyber/group/internal/marshalling/marshal.go:75
Method
H
H performs an implicit transpose.
lib/gonum/matrix/conv/conv.go:68
Method
H
H performs an implicit conjugate transpose by returning the Matrix field.
lib/gonum/matrix/cmat128/matrix.go:51
Method
Hash
Hash returns a newly instantiated sha256 hash function.
lib/dedis/kyber/pairing/bn256/suite.go:135
Method
Hash
Hash returns a newly instanciated sha256 hash function.
lib/dedis/kyber/group/edwards25519/suite.go:25
Method
Hash
SHA256 hash function
lib/dedis/kyber/group/curve25519/suite.go:25
Method
Hash
SHA256 hash function
lib/dedis/kyber/group/nist/qrsuite.go:26
Method
Hash
SHA256 hash function
lib/dedis/kyber/group/nist/suite.go:25
Method
Hash
Hash returns the hash representation of this share
lib/dedis/kyber/share/poly.go:33
Method
Hash
Hash returns the hash representation of this share.
lib/dedis/kyber/share/poly.go:291
Method
Hash
()
lib/dedis/kyber/sign/cosi/cosi_test.go:23
Function
Hbmv
Hbmv performs y = alpha * A * x + beta * y, where A is an n×n Hermitian band matrix, x and y are vectors, and alpha and beta are scalars.
lib/gonum/blas/cblas128/cblas128.go:314
Function
Hbmv
Hbmv performs y = alpha * A * x + beta * y, where A is an n×n Hermitian band matrix, x and y are vectors, and alpha and beta are scalars.
lib/gonum/blas/cblas64/cblas64.go:314
Function
Hemm
Hemm performs C = alpha * A * B + beta * C, if s == blas.Left, C = alpha * B * A + beta * C, if s == blas.Right, where A is an n×n or m×m Hermitian ma
lib/gonum/blas/cblas128/cblas128.go:472
Function
Hemm
Hemm performs C = alpha * A * B + beta * C, if s == blas.Left, C = alpha * B * A + beta * C, if s == blas.Right, where A is an n×n or m×m Hermitian ma
lib/gonum/blas/cblas64/cblas64.go:472
Function
Hemv
Hemv computes y = alpha * A * x + beta * y, where A is an n×n Hermitian matrix, x and y are vectors, and alpha and beta are scalars.
lib/gonum/blas/cblas128/cblas128.go:306
Function
Hemv
Hemv computes y = alpha * A * x + beta * y, where A is an n×n Hermitian matrix, x and y are vectors, and alpha and beta are scalars.
lib/gonum/blas/cblas64/cblas64.go:306
Function
Her
Her performs a rank-1 update A += alpha * x * y^T, where A is an m×n Hermitian matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas128/cblas128.go:343
Function
Her
Her performs a rank-1 update A += alpha * x * y^T, where A is an m×n Hermitian matrix, x and y are vectors, and alpha is a scalar.
lib/gonum/blas/cblas64/cblas64.go:343
Function
Her2
Her2 performs a rank-2 update A += alpha * x * y^H + conj(alpha) * y * x^H, where A is an n×n Hermitian matrix, x and y are vectors, and alpha is a sc
lib/gonum/blas/cblas128/cblas128.go:358
Function
Her2
Her2 performs a rank-2 update A += alpha * x * y^H + conj(alpha) * y * x^H, where A is an n×n Hermitian matrix, x and y are vectors, and alpha is a sc
lib/gonum/blas/cblas64/cblas64.go:358
Function
Her2k
Her2k performs the Hermitian rank-2k update C = alpha * A * B^H + conj(alpha) * B * A^H + beta * C, if t == blas.NoTrans, C = alpha * A^H * B + conj(a
lib/gonum/blas/cblas128/cblas128.go:502
Function
Her2k
Her2k performs the Hermitian rank-2k update C = alpha * A * B^H + conj(alpha) * B * A^H + beta * C, if t == blas.NoTrans, C = alpha * A^H * B + conj(a
lib/gonum/blas/cblas64/cblas64.go:502
Function
Herk
Herk performs the Hermitian rank-k update C = alpha * A * A^H + beta*C, if t == blas.NoTrans, C = alpha * A^H * A + beta*C, if t == blas.ConjTrans, wh
lib/gonum/blas/cblas128/cblas128.go:487
Function
Herk
Herk performs the Hermitian rank-k update C = alpha * A * A^H + beta*C, if t == blas.NoTrans, C = alpha * A^H * A + beta*C, if t == blas.ConjTrans, wh
lib/gonum/blas/cblas64/cblas64.go:487
Method
HideDecode
Decode a uniform representation of this object from a slice, whose length must be exactly HideLen(). This method cannot fail on correctly-sized input
lib/dedis/kyber/encoding.go:80
Method
HideDecode
HideDecode a uniform representation of this object from a slice, whose length must be exactly HideLen().
lib/dedis/kyber/group/mod/int.go:456
Method
HideDecode
(rep []byte)
lib/dedis/kyber/group/curve25519/basic.go:70
Method
HideDecode
Elligator 2 forward-map from representative to Edwards curve point. Currently a straightforward, unoptimized implementation. See section 5.2 of the El
lib/dedis/kyber/group/curve25519/el2.go:115
Method
HideDecode
(rep []byte)
lib/dedis/kyber/group/curve25519/proj.go:67
Method
HideDecode
Elligator 1 forward-map from representative to Edwards curve point. Currently a straightforward, unoptimized implementation. See section 3.2 of the El
lib/dedis/kyber/group/curve25519/el1.go:81
← previous
next →
5,401–5,500 of 7,917, ranked by callers