package
2.0.0-20250214080821-4a4802dce5fb
Repository: https://github.com/xlabs/tss-lib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
ConvertByteArrayToBoolArray converts a packed []byte back to a []bool.
GetRandomBytes returns random bytes of length.
Return a random generator of RQn with high probability.
No description provided by the author
Generate a random element in the group of all the elements in Z/nZ that has a multiplicative inverse.
No description provided by the author
GetRandomQuadraticNonResidue returns a quadratic non residue of odd n.
GetRandomSafePrimesConcurrent tries to find safe primes concurrently.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustGetRandomInt panics if it is unable to gather entropy from `io.Reader` or when `bits` is <= 0.
Returns true when the byte slice is non-nil and non-empty.
Returns true when all of the slices in the multi-dimensional byte slice are non-nil and non-empty.
PadToLengthBytesInPlace pad {0, ...} to the front of src if len(src) < length output length is equal to the parameter length.
RejectionSample implements the rejection sampling logic for converting a SHA512/256 hash to a value between 0-q.
SHA-512/256 is protected against length extension attacks and is more performant than SHA-256 on 64-bit architectures.
No description provided by the author
SHA512_256i_TAGGED tagged version of SHA512_256i.
No description provided by the author

# Variables

ErrGeneratorCancelled is an error returned from GetRandomSafePrimesConcurrent when the work of the generator has been cancelled as a result of the context being done (cancellation or timeout).
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Container for output signatures, mostly used for marshalling this data structure to a mobile app.
TrackingID is used to track the specific session when multiple sessions are running in parallel.