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
↓ 2 callers
Function
NewDLEQProofBatch
NewDLEQProofBatch computes lists of NIZK dlog-equality proofs and of encrypted base points xG and xH. Note that the challenge is computed over all inp
lib/dedis/kyber/proof/dleq/dleq.go:67
↓ 2 callers
Function
NewDistKeyGeneratorWithoutSecret
NewDistKeyGeneratorWithoutSecret simply returns a DistKeyGenerator with an nil secret. It is used to renew the private shares without affecting the s
lib/dedis/kyber/share/dkg/pedersen/dkg.go:138
↓ 2 callers
Function
NewInt64
NewInt64 creates a new Int with a given int64 value and big.Int modulus.
lib/dedis/kyber/group/mod/int.go:60
↓ 2 callers
Function
NewKeyPair
NewKeyPair directly creates a secret/public key pair
lib/dedis/kyber/util/key/key.go:31
↓ 2 callers
Function
NewNumber
(n int)
lib/dedis/protobuf/encoding_test.go:25
↓ 2 callers
Function
NewNumberNoMarshal
(n int)
lib/dedis/protobuf/encoding_test.go:64
↓ 2 callers
Function
NewProposalNormal
NewProposalNormal constructs a new ProposalNormal for use as a proposal distribution for Metropolis-Hastings. ProposalNormal is a multivariate normal
lib/gonum/stat/samplemv/metropolishastings.go:183
↓ 2 callers
Function
NewVRFSigner
NewVRFSigner creates a signer object from a private key.
vrf-reference/crypto/vrf/p256/p256.go:239
↓ 2 callers
Function
NewVRFSignerFromPEM
NewVRFSignerFromPEM creates a vrf private key from a PEM data structure.
vrf-reference/crypto/vrf/p256/p256.go:266
↓ 2 callers
Function
NewVRFVerifierFromRawKey
NewVRFVerifierFromRawKey returns the public key from a raw public key bytes.
vrf-reference/crypto/vrf/p256/p256.go:293
↓ 2 callers
Function
NewWeighted
NewWeighted returns a Weighted for the weights w. If src is nil, rand.Rand is used as the random source. Note that sampling from weights with a high
lib/gonum/stat/sampleuv/weighted.go:41
↓ 2 callers
Function
NewWishart
NewWishart returns a new Wishart distribution with the given shape matrix and degrees of freedom parameter. NewWishart returns whether the creation wa
lib/gonum/stat/distmat/wishart.go:46
↓ 2 callers
Method
NumParameters
Uniform doesn't have a mode because it's any value in the distribution NumParameters returns the number of parameters in the distribution.
lib/gonum/stat/distuv/uniform.go:85
↓ 2 callers
Method
NumSuffStat
NumSuffStat returns the number of sufficient statistics for the distribution.
lib/gonum/stat/distuv/exponential.go:108
↓ 2 callers
Method
NumSuffStat
NumSuffStat returns the number of sufficient statistics for the distribution.
lib/gonum/stat/distuv/norm.go:114
↓ 2 callers
Method
Permutation
Permutation constructs an r×r permutation matrix with the given row swaps. A permutation matrix has exactly one element equal to one in each row and c
lib/gonum/matrix/mat64/lu.go:239
↓ 2 callers
Method
Pivot
Pivot returns pivot indices that enable the construction of the permutation matrix P (see Dense.Permutation). If swaps == nil, then new memory will be
lib/gonum/matrix/mat64/lu.go:121
↓ 2 callers
Method
PointNeg
PointNeg benchmarks the negation operation for points
lib/dedis/kyber/util/test/group.go:111
↓ 2 callers
Method
PointSub
PointSub benchmarks the substraction operation for points
lib/dedis/kyber/util/test/group.go:104
↓ 2 callers
Method
PriShare
()
lib/dedis/kyber/sign/dss/dss.go:40
↓ 2 callers
Method
PrincipalComponents
PrincipalComponents performs a weighted principal components analysis on the matrix of the input data which is represented as an n×d matrix a where ea
lib/gonum/stat/pca_cca.go:37
↓ 2 callers
Method
PrivatePoly
PrivatePoly returns the private polynomial used to generate the deal. This private polynomial can be saved and then later on used to generate new shar
lib/dedis/kyber/share/vss/pedersen/vss.go:296
↓ 2 callers
Function
Prod
Prod returns the product of the elements of the slice. Returns 1 if len(s) = 0.
lib/gonum/floats/floats.go:572
↓ 2 callers
Method
QFromGSVD
QFromGSVD extracts the matrix Q from the singular value decomposition, storing the result in-place into the receiver. Q is size c×c.
lib/gonum/matrix/mat64/gsvd.go:310
↓ 2 callers
Method
QUAL
QUAL returns the index in the list of participants that forms the QUALIFIED set as described in the "New-DKG" protocol by Rabin. Basically, it consist
lib/dedis/kyber/share/dkg/rabin/dkg.go:367
↓ 2 callers
Function
Quantile
Quantile returns the sample of x such that x is greater than or equal to the fraction p of samples. The exact behavior is determined by the CumulantKi
lib/gonum/stat/stat.go:932
↓ 2 callers
Method
Quantile
(x, p []float64)
lib/gonum/stat/samplemv/sample_test.go:19
↓ 2 callers
Method
RankOne
RankOne performs a rank-one update to the matrix a and stores the result in the receiver. If a is zero, see Outer. m = a + alpha * x * y'
lib/gonum/matrix/mat64/dense_arithmetic.go:652
↓ 2 callers
Method
RankTwo
RankTwo performs a symmmetric rank-two update to the matrix a and stores the result in the receiver m = a + alpha * (x * y' + y * x')
lib/gonum/matrix/mat64/symmetric.go:317
↓ 2 callers
Method
Read
(dst []byte)
lib/dedis/kyber/xof/blake2xb/blake.go:43
↓ 2 callers
Method
Read
(dst []byte)
lib/dedis/kyber/xof/keccak/keccak.go:39
↓ 2 callers
Function
RecoverPriPoly
RecoverPriPoly takes a list of shares and the parameters t and n to reconstruct the secret polynomial completely, i.e., all private coefficients. It
lib/dedis/kyber/share/poly.go:229
↓ 2 callers
Function
Rejection
Rejection generates len(batch) samples using the rejection sampling algorithm and stores them in place into samples. Sampling continues until batch is
lib/gonum/stat/sampleuv/sample.go:215
↓ 2 callers
Function
Rejection
Rejection generates rows(batch) samples using the rejection sampling algorithm and stores them in place into samples. Sampling continues until batch i
lib/gonum/stat/samplemv/samplemv.go:228
↓ 2 callers
Method
Reset
Reset resets the factorization so that it can be reused as the receiver of a dimensionally restricted operation.
lib/gonum/matrix/mat64/cholesky.go:85
↓ 2 callers
Method
ReweightAll
ReweightAll resets the weights of the distribution. ReweightAll panics if len(w) != c.Len. All of the weights must be nonnegative, and at least one of
lib/gonum/stat/distuv/categorical.go:161
↓ 2 callers
Method
ReweightAll
ReweightAll sets the weight of all items in the Weighted. ReweightAll panics if len(w) != s.Len.
lib/gonum/stat/sampleuv/weighted.go:123
↓ 2 callers
Method
Sample
Sample generates rows(batch) samples using the Metropolis Hastings sample generation method. The initial location is NOT updated during the call to Sa
lib/gonum/stat/samplemv/metropolishastings.go:60
↓ 2 callers
Method
Sample
(batch *mat64.Dense)
lib/gonum/stat/samplemv/samplemv.go:46
↓ 2 callers
Method
ScalarAdd
ScalarAdd benchmarks the addition operation for scalars
lib/dedis/kyber/util/test/group.go:34
↓ 2 callers
Method
ScalarDecode
ScalarDecode benchmarks the unmarshalling operation for scalars
lib/dedis/kyber/util/test/group.go:90
↓ 2 callers
Method
ScalarDiv
ScalarDiv benchmarks the division operation for scalars
lib/dedis/kyber/util/test/group.go:62
↓ 2 callers
Method
ScalarEncode
ScalarEncode benchmarks the marshalling operation for scalars
lib/dedis/kyber/util/test/group.go:83
↓ 2 callers
Method
ScalarInv
ScalarInv benchmarks the inverse operation for scalars
lib/dedis/kyber/util/test/group.go:69
↓ 2 callers
Method
ScalarMul
ScalarMul benchmarks the multiplication operation for scalars
lib/dedis/kyber/util/test/group.go:55
↓ 2 callers
Method
ScalarNeg
ScalarNeg benchmarks the negation operation for scalars
lib/dedis/kyber/util/test/group.go:48
↓ 2 callers
Method
ScalarPick
ScalarPick benchmarks the Pick operation for scalars
lib/dedis/kyber/util/test/group.go:76
↓ 2 callers
Method
ScalarSub
ScalarSub benchmarks the substraction operation for scalars
lib/dedis/kyber/util/test/group.go:41
↓ 2 callers
Method
ScaleVec
(float64, *Vector)
lib/gonum/matrix/mat64/vector_test.go:201
↓ 2 callers
Method
Score
(deriv []float64, x float64)
lib/gonum/stat/distuv/general_test.go:161
↓ 2 callers
Method
SessionID
SessionID returns the current sessionID generated by this dealer for this protocol run.
lib/dedis/kyber/share/vss/rabin/vss.go:305
↓ 2 callers
Method
SetBytes
SetBytes set the value value to a number represented by a byte string. Endianness depends on the endianess set in i.
lib/dedis/kyber/group/mod/int.go:379
↓ 2 callers
Method
SetHash
()
DistSys/block.go:23
↓ 2 callers
Method
SetMean
SetMean changes the mean of the normal distribution. SetMean panics if len(mu) does not equal the dimension of the normal distribution.
lib/gonum/stat/distmv/normal.go:282
↓ 2 callers
Method
SetRawMatrix
SetRawMatrix sets the underlying blas64.General used by the receiver. Changes to elements in the receiver following the call will be reflected in b.
lib/gonum/matrix/mat64/dense.go:183
↓ 2 callers
Method
SetZero
()
lib/dedis/kyber/pairing/bn256/gfp6.go:24
↓ 2 callers
Function
Sign
Sign creates a Sign signature from a msg and a private key. This signature can be verified with VerifySchnorr. It's also a valid EdDSA signature when
lib/dedis/kyber/sign/schnorr/schnorr.go:32
↓ 2 callers
Method
Signature
Signature computes the distributed signature from the list of partial signatures received. It returns an error if there are not enough partial signatu
lib/dedis/kyber/sign/dss/dss.go:186
↓ 2 callers
Method
Skewness
()
lib/gonum/stat/distuv/distribution_test.go:244
↓ 2 callers
Method
SolveLQVec
SolveLQVec finds a minimum-norm solution to a system of linear equations. Please see Dense.SolveLQ for the full documentation.
lib/gonum/matrix/mat64/lq.go:204
↓ 2 callers
Method
SolveLUVec
SolveLUVec solves a system of linear equations using the LU decomposition of a matrix. It computes A * x = b if trans == false A^T * x = b if trans ==
lib/gonum/matrix/mat64/lu.go:303
↓ 2 callers
Method
SolveQRVec
SolveQRVec finds a minimum-norm solution to a system of linear equations. Please see Dense.SolveQR for the full documentation.
lib/gonum/matrix/mat64/qr.go:170
↓ 2 callers
Method
SolveVec
SolveVec finds a minimum-norm solution to a system of linear equations defined by the matrix a and the right-hand side vector b. If A is singular or n
lib/gonum/matrix/mat64/solve.go:109
↓ 2 callers
Function
Sqrt
Sqrt returns the square root of x. Special cases are: Sqrt(+Inf) = +Inf Sqrt(±0) = ±0 Sqrt(x < 0) = NaN Sqrt(NaN) = NaN
lib/gonum/blas/native/internal/math32/sqrt.go:20
↓ 2 callers
Method
Square
(a *gfP12)
lib/dedis/kyber/pairing/bn256/gfp12.go:192
↓ 2 callers
Method
Step
A follower calls Step to provide its message for the next step, and wait for the leader to collect and distribute all messages. Returns the list of co
lib/dedis/kyber/proof/clique.go:41
↓ 2 callers
Method
String
()
lib/dedis/kyber/pairing/bn256/gfp.go:19
↓ 2 callers
Method
SubsetSym
(a Symmetric, set []int)
lib/gonum/matrix/mat64/symmetric_test.go:524
↓ 2 callers
Function
Sum
Sum returns the sum of the elements of the slice.
lib/gonum/floats/floats.go:736
↓ 2 callers
Function
Sum
Sum returns the sum of the elements of the matrix.
lib/gonum/matrix/mat64/matrix.go:782
↓ 2 callers
Method
Survival
(float64)
lib/gonum/stat/distuv/general_test.go:28
↓ 2 callers
Method
Survival
(x float64)
lib/gonum/stat/distuv/distribution_test.go:246
↓ 2 callers
Method
SymRankK
SymRankK performs a symmetric rank-k update to the matrix a and stores the result into the receiver. If a is zero, see SymOuterK. s = a + alpha * x *
lib/gonum/matrix/mat64/symmetric.go:245
↓ 2 callers
Method
SymRankK
(a Symmetric, alpha float64, x Matrix)
lib/gonum/matrix/mat64/symmetric_test.go:396
↓ 2 callers
Method
T
T performs an implicit transpose by returning the receiver inside a Transpose.
lib/gonum/matrix/mat64/vector.go:91
↓ 2 callers
Method
TTri
TTri performs an implicit transpose by returning the receiver inside a TransposeTri.
lib/gonum/matrix/mat64/triangular.go:179
↓ 2 callers
Method
UFromGSVD
UFromGSVD extracts the matrix U from the singular value decomposition, storing the result in-place into the receiver. U is size r×r.
lib/gonum/matrix/mat64/gsvd.go:274
↓ 2 callers
Method
UFromHOGSVD
UFromHOGSVD extracts the matrix U_n from the singular value decomposition, storing the result in-place into the receiver. U_n is size r×c. UFromHOGSV
lib/gonum/matrix/mat64/hogsvd.go:147
↓ 2 callers
Method
UFromLU
UFromLU extracts the upper triangular matrix from an LU factorization.
lib/gonum/matrix/mat64/lu.go:224
↓ 2 callers
Method
UnmarshalBinary
UnmarshalBinary reads the Deal from the binary represenstation.
lib/dedis/kyber/share/vss/pedersen/vss.go:740
↓ 2 callers
Method
UnmarshalBinary
(data []byte)
lib/dedis/protobuf/encoding_test.go:37
↓ 2 callers
Method
UnmarshalFrom
Decode the content of this object by reading from an io.Reader. If r is an XOF, it uses r to pick a valid object pseudo-randomly, which may entail rea
lib/dedis/kyber/encoding.go:32
↓ 2 callers
Method
VFromGSVD
VFromGSVD extracts the matrix V from the singular value decomposition, storing the result in-place into the receiver. V is size p×p.
lib/gonum/matrix/mat64/gsvd.go:292
↓ 2 callers
Method
VFromHOGSVD
VFromHOGSVD extracts the matrix V from the singular value decomposition, storing the result in-place into the receiver. V is size c×c. VFromHOGSVD wi
lib/gonum/matrix/mat64/hogsvd.go:194
↓ 2 callers
Method
Valid
()
lib/dedis/kyber/group/nist/residue.go:62
↓ 2 callers
Method
Values
Values returns the nth set of singular values of the factorized system. If the input slice is non-nil, the values will be stored in-place into the sli
lib/gonum/matrix/mat64/hogsvd.go:170
↓ 2 callers
Method
Vars
Vars returns the column variances of the principal component scores, b * vecs, where b is a matrix with centered columns. Variances are returned in de
lib/gonum/stat/pca_cca.go:75
↓ 2 callers
Method
Vectors
Vectors returns the component direction vectors of a principal components analysis. The vectors are returned in the columns of a d×min(n, d) matrix. I
lib/gonum/stat/pca_cca.go:55
↓ 2 callers
Function
Verify
Verify uses a public key, a message and a signature. It will return nil if sig is a valid signature for msg created by key public, or an error otherwi
lib/dedis/kyber/sign/eddsa/eddsa.go:128
↓ 2 callers
Function
VerifyEncShare
VerifyEncShare checks that the encrypted share sX satisfies log_{H}(sH) == log_{X}(sX) where sH is the public commitment computed by evaluating the pu
lib/dedis/kyber/share/pvss/pvss.go:89
↓ 2 callers
Method
View
(i, j, r, c int)
lib/gonum/matrix/mat64/matrix.go:153
↓ 2 callers
Method
View
View returns a new Matrix that shares backing data with the receiver. The new matrix is located from row i, column j extending r rows and c columns. V
lib/gonum/matrix/mat64/dense.go:284
↓ 2 callers
Function
WriteHexPoint
WriteHexPoint writes a point in hex representation to w.
lib/dedis/kyber/util/encoding/encoding.go:26
↓ 2 callers
Function
WriteHexScalar
WriteHexScalar converts a scalar key to a hex-string
lib/dedis/kyber/util/encoding/encoding.go:49
↓ 2 callers
Method
XORKeyStream
(dst, src []byte)
lib/dedis/kyber/util/random/rand.go:50
↓ 2 callers
Method
Zero
()
lib/dedis/kyber/group/edwards25519/ge.go:66
↓ 2 callers
Method
ZeroRFromGSVD
ZeroRFromGSVD extracts the matrix [ 0 R ] from the singular value decomposition, storing the result in-place into the receiver. [ 0 R ] is size (k+l)×
lib/gonum/matrix/mat64/gsvd.go:207
↓ 2 callers
Function
abs
(a int)
lib/gonum/matrix/mat64/shadow_test.go:220
↓ 2 callers
Function
addBlockToChain
go-routine to process a block received and add to chain. Move to next iteration when done
DistSys/main.go:1335
↓ 2 callers
Function
aggregateSecret
(previousAggregate MinerPart, newSecret MinerPart)
DistSys/kyber.go:244
← previous
next →
1,301–1,400 of 7,917, ranked by callers