Skip to main content

Module types

Module types 

Source

Structsยง

EncryptedPartialSsaShare
Contains an encrypted partial Session Stealth Address (SSA) share.
GeneratedShare
Contains a generated share from a specific previously committed SSA.
PartialSsaShare
Share of a polynomial used to reconstruct a portion of the Session Stealth Address (SSA).
RecoveredSsa
Contains the already recovered secret scalar corresponding to a specific SSA.
SsaCommitment
Contains commitment to a specific SSA and corresponding verifier.
SsaCommitmentProof
Proof that whoever published an SsaCommitment knows its discrete logarithm.
SsaCommitmentState
Represents the current state of a specific SSA commitment on an Exit node.
SsaId
Uniquely identifies a Session Stealth Address (SSA).
SsaPolynomialId
Uniquely identifies a polynomial that allows forming a Session Stealth Address (SSA) corresponding to a specific Session.
SsaRecoveryProgress
Absolute recovery progress for a single SSA cycle.
TaggedEncryptedPartialSsaShare
This is a wrapped EncryptedPartialSsaShare extracted from a specific SURB (presumably along with the associated AcknowledgementChallenge).

Constantsยง

POLY_INDEX_SIZE ๐Ÿ”’
Byte size of the PolynomialIndex when serialized as a big-endian prefix.
SSA_INDEX_SIZE ๐Ÿ”’
Byte size of the SsaIndex when serialized as a big-endian prefix.

Functionsยง

derive_ssa_encryption_key ๐Ÿ”’

Type Aliasesยง

CoefficientIndex
Type used to index coefficients in a polynomial.
EncShareSize
Total size of the EncryptedPartialSsaShare internal representation: SsaPolyIndexPrefixSize + FieldBytesSize.
FieldBytesSize
Size of the field-bytes portion of the encrypted share.
PolynomialIndex
Type used to index polynomials that reconstruct parts of a Session Stealth Addresses (SSA).
RawSsaIndex
Raw zeroable SSA Index.
ScalarRepr ๐Ÿ”’
Wire form of a PixScalar.
SsaIndex
Type used to index Session Stealth Addresses (SSA).
SsaPolyIndexPrefixSize
Size of the SsaIndex and PolynomialIndex prefix prepended to the encrypted share.
TransposedVerifiers
Polynomial coefficient commitments laid out coefficient-major, which is how the wire messages chunk them.