MCPcopy Create free account

hub / github.com/DistributedML/Biscotti / functions

Functions7,917 in github.com/DistributedML/Biscotti

FunctionExample_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
FunctionExample_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
FunctionExample_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
FunctionExample_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
FunctionExample_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
FunctionExample_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
FunctionExample_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
MethodFieldName
(ProtoField)
lib/dedis/protobuf/generate.go:155
MethodFieldName
(f ProtoField)
lib/dedis/protobuf/generate.go:168
MethodFinalize
()
lib/dedis/kyber/pairing/bn256/point.go:569
MethodFit
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
MethodFormat
Format satisfies the fmt.Formatter interface.
lib/gonum/matrix/mat64/format.go:60
MethodFrobenius
Frobenius computes (xω+y)^p = x^p ω·ξ^((p-1)/6) + y^p
lib/dedis/kyber/pairing/bn256/gfp12.go:122
MethodFrobeniusP2
FrobeniusP2 computes (xω+y)^p² = x^p² ω·ξ^((p²-1)/6) + y^p²
lib/dedis/kyber/pairing/bn256/gfp12.go:130
MethodFrobeniusP4
(a *gfP6)
lib/dedis/kyber/pairing/bn256/gfp6.go:73
MethodFrobeniusP4
(a *gfP12)
lib/dedis/kyber/pairing/bn256/gfp12.go:137
FunctionFuzz
(data []byte)
lib/dedis/protobuf/fuzz.go:32
FunctionFuzz
(data []byte)
lib/dedis/fixbuf/fuzz.go:48
FunctionGbmv
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
FunctionGbmv
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
FunctionGbmv
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
FunctionGbmv
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
FunctionGecon
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
FunctionGeev
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
FunctionGelqf
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
FunctionGels
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
FunctionGemm
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
FunctionGemm
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
FunctionGemm
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
FunctionGemm
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
FunctionGemv
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
FunctionGemv
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
FunctionGemv
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
FunctionGemv
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
FunctionGenCommitmentKey
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
MethodGeneralizedValues
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
MethodGenerateClientKey
()
kyber-demo/publicKey.go:81
MethodGenerateClientKey
()
DistSys/publicKey.go:81
MethodGenerateClientKey
()
DistSys/test/publicKey.go:81
FunctionGeqrf
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
FunctionGer
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
FunctionGer
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
FunctionGerc
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
FunctionGerc
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
FunctionGeru
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
FunctionGeru
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
FunctionGesvd
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
MethodGet
Read structured data from the proof
lib/dedis/kyber/proof/hash.go:113
MethodGet
Read structured data from the proof
lib/dedis/kyber/proof/deniable.go:275
MethodGetFirstPKG2
()
keyGeneration/publicKey.go:75
MethodGetFirstPKG2
()
kyber-demo/publicKey.go:75
MethodGetFirstPKG2
()
DistSys/publicKey.go:75
MethodGetFirstPKG2
()
DistSys/test/publicKey.go:75
MethodGetGeneratorG1
()
keyGeneration/publicKey.go:63
MethodGetGeneratorG1
()
kyber-demo/publicKey.go:63
MethodGetGeneratorG1
()
DistSys/publicKey.go:63
MethodGetGeneratorG1
()
DistSys/test/publicKey.go:63
MethodGetGeneratorG2
()
keyGeneration/publicKey.go:69
MethodGetGeneratorG2
()
kyber-demo/publicKey.go:69
MethodGetGeneratorG2
()
DistSys/publicKey.go:69
MethodGetGeneratorG2
()
DistSys/test/publicKey.go:69
MethodGetMinerPart
(nodeList []int, myMinerPartRPC *MinerPartRPC)
DistSys/main.go:459
MethodGetUpdateList
(iteration int, nodeList *([]int))
DistSys/main.go:438
FunctionGetrf
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
FunctionGetri
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
FunctionGetrs
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
FunctionGgsvd3
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
FunctionGoTypeFor
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
FunctionGoTypeForEnum
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
FunctionGroupNew
GroupNew is the Default implementation of reflective constructor for Group
lib/dedis/kyber/group/internal/marshalling/marshal.go:75
MethodH
H performs an implicit transpose.
lib/gonum/matrix/conv/conv.go:68
MethodH
H performs an implicit conjugate transpose by returning the Matrix field.
lib/gonum/matrix/cmat128/matrix.go:51
MethodHash
Hash returns a newly instantiated sha256 hash function.
lib/dedis/kyber/pairing/bn256/suite.go:135
MethodHash
Hash returns a newly instanciated sha256 hash function.
lib/dedis/kyber/group/edwards25519/suite.go:25
MethodHash
SHA256 hash function
lib/dedis/kyber/group/curve25519/suite.go:25
MethodHash
SHA256 hash function
lib/dedis/kyber/group/nist/qrsuite.go:26
MethodHash
SHA256 hash function
lib/dedis/kyber/group/nist/suite.go:25
MethodHash
Hash returns the hash representation of this share
lib/dedis/kyber/share/poly.go:33
MethodHash
Hash returns the hash representation of this share.
lib/dedis/kyber/share/poly.go:291
MethodHash
()
lib/dedis/kyber/sign/cosi/cosi_test.go:23
FunctionHbmv
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
FunctionHbmv
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
FunctionHemm
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
FunctionHemm
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
FunctionHemv
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
FunctionHemv
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
FunctionHer
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
FunctionHer
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
FunctionHer2
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
FunctionHer2
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
FunctionHer2k
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
FunctionHer2k
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
FunctionHerk
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
FunctionHerk
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
MethodHideDecode
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
MethodHideDecode
HideDecode a uniform representation of this object from a slice, whose length must be exactly HideLen().
lib/dedis/kyber/group/mod/int.go:456
MethodHideDecode
(rep []byte)
lib/dedis/kyber/group/curve25519/basic.go:70
MethodHideDecode
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
MethodHideDecode
(rep []byte)
lib/dedis/kyber/group/curve25519/proj.go:67
MethodHideDecode
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
← previousnext →5,401–5,500 of 7,917, ranked by callers