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
↓ 3 callers
Function
NewDistKeyGenerator
NewDistKeyGenerator returns a DistKeyGenerator out of the suite, the longterm secret key, the list of participants, and the threshold t parameter. It
lib/dedis/kyber/share/dkg/rabin/dkg.go:180
↓ 3 callers
Function
NewEdDSA
NewEdDSA will return a freshly generated key pair to use for generating EdDSA signatures.
lib/dedis/kyber/sign/eddsa/eddsa.go:32
↓ 3 callers
Function
NewMask
NewMask returns a new participation bitmask for cosigning where all cosigners are disabled by default. If a public key is given it verifies that it is
lib/dedis/kyber/sign/cosi/cosi.go:233
↓ 3 callers
Function
NewVRFVerifierFromPEM
NewVRFVerifierFromPEM creates a vrf public key from a PEM data structure.
vrf-reference/crypto/vrf/p256/p256.go:284
↓ 3 callers
Function
NewVerifier
NewVerifier returns a Verifier out of: - its longterm secret key - the longterm dealer public key - the list of public key of verifiers. The list MUST
lib/dedis/kyber/share/vss/pedersen/vss.go:320
↓ 3 callers
Function
NewVerifier
NewVerifier returns a Verifier out of: - its longterm secret key - the longterm dealer public key - the list of public key of verifiers. The list MUST
lib/dedis/kyber/share/vss/rabin/vss.go:337
↓ 3 callers
Method
NumSuffStat
()
lib/gonum/stat/distuv/general_test.go:70
↓ 3 callers
Method
PrintChain
()
DistSys/blockchain.go:43
↓ 3 callers
Method
Prob
(x []float64)
lib/gonum/stat/distmv/general_test.go:17
↓ 3 callers
Method
ProcessJustification
ProcessJustification takes a justification and validates it. It returns an error in case the justification is wrong.
lib/dedis/kyber/share/dkg/pedersen/dkg.go:260
↓ 3 callers
Method
ProcessJustification
ProcessJustification takes a justification and validates it. It returns an error in case the justification is wrong.
lib/dedis/kyber/share/dkg/rabin/dkg.go:339
↓ 3 callers
Method
ProcessJustification
ProcessJustification takes a DealerResponse and returns an error if something went wrong during the verification. If it is the case, that probably mea
lib/dedis/kyber/share/vss/pedersen/vss.go:454
↓ 3 callers
Method
ProcessJustification
ProcessJustification takes a DealerResponse and returns an error if something went wrong during the verification. If it is the case, that probably mea
lib/dedis/kyber/share/vss/rabin/vss.go:463
↓ 3 callers
Method
RandChol
RandChol generates the Cholesky decomposition of a random matrix from the distribution.
lib/gonum/stat/distmat/wishart.go:160
↓ 3 callers
Method
RandSym
RandSym generates a random symmetric matrix from the distribution.
lib/gonum/stat/distmat/wishart.go:149
↓ 3 callers
Method
RankOne
RankOne updates an LU factorization as if a rank-one update had been applied to the original matrix A, storing the result into the receiver. That is,
lib/gonum/matrix/mat64/lu.go:145
↓ 3 callers
Function
ReadHexPoint
ReadHexPoint reads a point from r in hex representation.
lib/dedis/kyber/util/encoding/encoding.go:15
↓ 3 callers
Function
ReadHexScalar
ReadHexScalar takes a hex-encoded scalar and returns that scalar, optionally an error
lib/dedis/kyber/util/encoding/encoding.go:38
↓ 3 callers
Function
RecoverSecret
RecoverSecret reconstructs the shared secret p(0) from a list of private shares using Lagrange interpolation.
lib/dedis/kyber/share/poly.go:174
↓ 3 callers
Method
Reseed
Reseed makes an XOF writeable again after it has been read from by sampling a key from it's output and initializing a fresh XOF implementation with th
lib/dedis/kyber/xof.go:37
↓ 3 callers
Method
RowView
RowView returns row i of the matrix data represented as a column vector, backed by the matrix data. See RowViewer for more information.
lib/gonum/matrix/mat64/dense.go:253
↓ 3 callers
Function
ScalIncTo
ScalIncTo is var idst, ix uintptr for i := 0; i < int(n); i++ { dst[idst] = alpha * x[ix] ix += incX idst += incDst }
lib/gonum/internal/asm/f64/scal.go:50
↓ 3 callers
Function
Scale
Scale multiplies every element in dst by the scalar c.
lib/gonum/floats/floats.go:687
↓ 3 callers
Method
ScaleSym
ScaleSym multiplies the elements of a by f, placing the result in the receiver.
lib/gonum/matrix/mat64/symmetric.go:342
↓ 3 callers
Method
ScaleSym
(f float64, a Symmetric)
lib/gonum/matrix/mat64/symmetric_test.go:452
↓ 3 callers
Function
SchnorrSign
This simplified implementation of Schnorr Signatures is based on crypto/anon/sig.go The ring structure is removed and The anonimity set is reduced to
DistSys/kyber.go:873
↓ 3 callers
Method
Set
(f *gfP)
lib/dedis/kyber/pairing/bn256/gfp.go:23
↓ 3 callers
Method
Set
Set point to be equal to P2.
lib/dedis/kyber/group/curve25519/basic.go:81
↓ 3 callers
Method
Set
(CP2 kyber.Point)
lib/dedis/kyber/group/curve25519/proj.go:86
↓ 3 callers
Method
Set
(CP2 kyber.Point)
lib/dedis/kyber/group/curve25519/ext.go:94
↓ 3 callers
Method
SetMask
SetMask sets the participation bitmask according to the given byte slice interpreted in little-endian order, i.e., bits 0-7 of byte 0 correspond to co
lib/dedis/kyber/sign/cosi/cosi.go:270
↓ 3 callers
Function
Sign
Sign creates a BLS signature S = x * H(m) on a message m using the private key x. The signature S is a point on curve G1.
lib/dedis/kyber/sign/bls/bls.go:24
↓ 3 callers
Function
Skew
Skew computes the skewness of the sample data. If weights is nil then all of the weights are 1. If weights is not nil, then len(x) must equal len(weig
lib/gonum/stat/stat.go:976
↓ 3 callers
Method
SolveLU
SolveLU 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 == tr
lib/gonum/matrix/mat64/lu.go:260
↓ 3 callers
Function
SortWeighted
SortWeighted rearranges the data in x along with their corresponding weights so that the x data are sorted. The data is sorted in place. Weights may b
lib/gonum/stat/stat.go:1008
↓ 3 callers
Method
Sub
(p *extendedGroupElement, q *cachedGroupElement)
lib/dedis/kyber/group/edwards25519/ge.go:196
↓ 3 callers
Method
SuffStat
([]float64, []float64, []float64)
lib/gonum/stat/distuv/general_test.go:71
↓ 3 callers
Method
SymOuterK
(alpha float64, x Matrix)
lib/gonum/matrix/mat64/symmetric_test.go:424
↓ 3 callers
Method
SymRankOne
SymRankOne performs a rank-1 update of the original matrix A and refactorizes its Cholesky factorization, storing the result into the reciever. That i
lib/gonum/matrix/mat64/cholesky.go:300
↓ 3 callers
Method
T
T performs an implicit transpose by returning the receiver inside a Transpose.
lib/gonum/matrix/mat64/triangular.go:174
↓ 3 callers
Function
Trace
Trace returns the trace of the matrix. Trace will panic if the matrix is not square.
lib/gonum/matrix/mat64/matrix.go:807
↓ 3 callers
Function
UniqueID
UniqueID computes a unique string for a domain, userID and appID combo.
vrf-reference/crypto/vrf/vrf.go:45
↓ 3 callers
Method
UnmarshalBinary
UnmarshalBinary decodes the binary form into the receiver. It panics if the receiver is a non-zero Vector. See MarshalBinary for the on-disk layout.
lib/gonum/matrix/mat64/io.go:270
↓ 3 callers
Method
UnsafeSetResponseDKG
UnsafeSetResponseDKG is an UNSAFE bypass method to allow DKG to use VSS that works on basis of approval only.
lib/dedis/kyber/share/vss/rabin/vss.go:681
↓ 3 callers
Method
ValuesA
ValuesA returns the singular values of the factorized A matrix. If the input slice is non-nil, the values will be stored in-place into the slice. In t
lib/gonum/matrix/mat64/gsvd.go:162
↓ 3 callers
Method
ValuesB
ValuesB returns the singular values of the factorized B matrix. If the input slice is non-nil, the values will be stored in-place into the slice. In t
lib/gonum/matrix/mat64/gsvd.go:187
↓ 3 callers
Function
Verify
Verify checks the given BLS signature S on the message m using the public key X by verifying that the equality e(H(m), X) == e(H(m), x*B2) == e(x*H(m)
lib/dedis/kyber/sign/bls/bls.go:38
↓ 3 callers
Function
VerifyEncShareBatch
VerifyEncShareBatch provides the same functionality as VerifyEncShare but for slices of encrypted shares. The function returns the valid encrypted sha
lib/dedis/kyber/share/pvss/pvss.go:99
↓ 3 callers
Method
at
(i, j int)
lib/gonum/matrix/mat64/index_bound_checks.go:18
↓ 3 callers
Method
at
(i int)
lib/gonum/matrix/mat64/index_bound_checks.go:52
↓ 3 callers
Function
basicPointTest
(t *testing.T, s *Suite)
lib/dedis/kyber/pairing/bn256/suite_test.go:249
↓ 3 callers
Function
benchGenSigEd25519
(nkeys int)
lib/dedis/kyber/sign/anon/sig_test.go:265
↓ 3 callers
Function
benchScalarAdd
(b *testing.B, new func() kyber.Scalar)
lib/dedis/kyber/group/edwards25519/scalar_test.go:133
↓ 3 callers
Function
benchScalarMul
(b *testing.B, new func() kyber.Scalar)
lib/dedis/kyber/group/edwards25519/scalar_test.go:146
↓ 3 callers
Function
benchScalarSub
(b *testing.B, new func() kyber.Scalar)
lib/dedis/kyber/group/edwards25519/scalar_test.go:159
↓ 3 callers
Function
benchSign
(suite Suite, pub []kyber.Point, pri kyber.Scalar, niter int)
lib/dedis/kyber/sign/anon/sig_test.go:272
↓ 3 callers
Function
benchVerify
(suite Suite, pub []kyber.Point, sig []byte, niter int)
lib/dedis/kyber/sign/anon/sig_test.go:279
↓ 3 callers
Function
benchmarkCholesky
(b *testing.B, n int)
lib/gonum/matrix/mat64/cholesky_test.go:440
↓ 3 callers
Function
bigFromBase10
(s string)
lib/dedis/kyber/pairing/bn256/constants.go:7
↓ 3 callers
Function
bitDiff
bitDiff compares the bits between two arrays returning the fraction of differences. If the two arrays are not of the same length no comparison is made
lib/dedis/kyber/xof/xof_test.go:152
↓ 3 callers
Function
checkMatrix
(m, n int, a []float64, lda int)
lib/gonum/lapack/testlapack/matgen.go:642
↓ 3 callers
Function
checkProbQuantContinuous
checkProbQuantContinuous checks that the Prob, Rand, and Quantile are all consistent. checkProbContinuous only checks that Prob is a valid distributio
lib/gonum/stat/distuv/distribution_test.go:176
↓ 3 callers
Method
cleanVerifiers
cleanVerifiers checks the aggregator's response array and creates a StatusComplaint response for all verifiers who have no response in the array.
lib/dedis/kyber/share/vss/rabin/vss.go:585
↓ 3 callers
Method
clone
()
lib/gonum/blas/native/general_double.go:79
↓ 3 callers
Function
cloneCommitment
(input kyber.Point)
DistSys/kyber.go:935
↓ 3 callers
Method
commit
prover: recursively produce all commitments
lib/dedis/kyber/proof/proof.go:81
↓ 3 callers
Function
context
context returns the context slice to be used when encrypting a share
lib/dedis/kyber/share/vss/pedersen/dh.go:43
↓ 3 callers
Function
context
context returns the context slice to be used when encrypting a share
lib/dedis/kyber/share/vss/rabin/dh.go:46
↓ 3 callers
Method
coordLen
Number of bytes required to store one coordinate on this curve
lib/dedis/kyber/group/nist/curve.go:237
↓ 3 callers
Function
corrToCov
corrToCov converts a correlation matrix to a covariance matrix. The input sigma should be vector of standard deviations corresponding to the covarianc
lib/gonum/stat/statmat.go:116
↓ 3 callers
Function
covToCorr
covToCorr converts a covariance matrix to a correlation matrix.
lib/gonum/stat/statmat.go:95
↓ 3 callers
Method
createBlockSecAgg
creates a block from all the updates recorded.
DistSys/honest.go:391
↓ 3 callers
Method
data
Extract embedded data from a point group element, or an error if embedded data is invalid or not present.
lib/dedis/kyber/group/curve25519/curve.go:399
↓ 3 callers
Method
decodePoint
Decode an Edwards curve point into the given x,y coordinates. Returns an error if the input does not denote a valid curve point. Note that this does N
lib/dedis/kyber/group/curve25519/curve.go:232
↓ 3 callers
Function
denseEqual
(a *Dense, acomp matComp)
lib/gonum/matrix/mat64/mul_test.go:259
↓ 3 callers
Function
det2x2
(a, b, c, d float64)
lib/gonum/lapack/testlapack/dlags2.go:100
↓ 3 callers
Function
dgemmSerial
dgemmSerial is serial matrix multiply
lib/gonum/blas/native/dgemm.go:181
↓ 3 callers
Function
dhExchange
dhExchange computes the shared key from a private key and a public key
lib/dedis/kyber/share/vss/pedersen/dh.go:14
↓ 3 callers
Function
dhExchange
dhExchange computes the shared key from a private key and a public key
lib/dedis/kyber/share/vss/rabin/dh.go:14
↓ 3 callers
Method
enumVars
prover/verifier: enumerate the variables named in a predicate
lib/dedis/kyber/proof/proof.go:78
↓ 3 callers
Method
evaluateBlockQuality
(block Block)
DistSys/honest.go:631
↓ 3 callers
Function
expBench
(b *testing.B, size int)
lib/gonum/matrix/mat64/dense_test.go:1932
↓ 3 callers
Function
extractSVD
(svd *SVD)
lib/gonum/matrix/mat64/svd_test.go:171
↓ 3 callers
Function
feIsNegative
(f *fieldElement)
lib/dedis/kyber/group/edwards25519/fe.go:248
↓ 3 callers
Function
fieldPrefix
(f ProtoField, def TagPrefix)
lib/dedis/protobuf/generate.go:55
↓ 3 callers
Function
fullExchangeWithRenewal
(t *testing.T)
lib/dedis/kyber/share/dkg/pedersen/dkg_test.go:492
↓ 3 callers
Function
getAvg
(parsed_files_directory,num_runs)
eval/eval_performance/parseLogs.py:212
↓ 3 callers
Method
getCommits
verifier: get all the commitments required in this predicate, and fill the r slice with empty secrets for responses needed.
lib/dedis/kyber/proof/proof.go:88
↓ 3 callers
Method
getWeights
(self)
CentralBlockML/code/modelBranch.py:28
↓ 3 callers
Method
getXY
()
lib/dedis/kyber/group/curve25519/curve.go:26
↓ 3 callers
Function
get_completion_time
(startTime, endTime)
usenix-eval/parseLogs.py:53
↓ 3 callers
Function
get_completion_time
(startTime, endTime)
eval/eval_performance/parseLogs.py:57
↓ 3 callers
Function
h2b
(h string)
vrf-reference/crypto/vrf/p256/p256_test.go:346
↓ 3 callers
Method
init
Initialize a twisted Edwards curve with given parameters. Caller passes pointers to null and base point prototypes to be initialized.
lib/dedis/kyber/group/curve25519/curve.go:98
↓ 3 callers
Method
init
()
DistSys/vrf.go:16
↓ 3 callers
Method
initializeData
Load data and initialize chain
DistSys/honest.go:96
↓ 3 callers
Function
innerTypeName
(t reflect.Type, enums enumTypeMap, renamer GeneratorNamer)
lib/dedis/protobuf/generate.go:73
↓ 3 callers
Function
intervalsOverlap
(a, b interval)
lib/gonum/matrix/mat64/shadow_test.go:171
↓ 3 callers
Method
isInQUAL
(idx uint32)
lib/dedis/kyber/share/dkg/pedersen/dkg.go:297
↓ 3 callers
Function
isOrthonormal
(q *Dense, tol float64)
lib/gonum/matrix/mat64/qr_test.go:52
← previous
next →
1,001–1,100 of 7,917, ranked by callers