Macrosยง
Structsยง
- Aggregate
Decryption Key - Aggregate
Public Key - Cipher
Text - Decryption
KeyShare - Ephemeral
Public Key - Ephemeral
Signature - G1Affine
- This is an element of $\mathbb{G}_1$ represented in the affine coordinate space. It is ideal to keep elements in this representation to reduce memory usage and improve performance through the use of mixed curve model arithmetic.
- G2Affine
- This is an element of $\mathbb{G}_2$ represented in the affine coordinate space. It is ideal to keep elements in this representation to reduce memory usage and improve performance through the use of mixed curve model arithmetic.
- Public
KeyShare - Secret
KeyShare
Functionsยง
- aggregate_
dk_ shares - create_
dk_ share - decrypt_
preimage - derive_
agg_ dk - derive_
ephemeral_ ๐sk - derive_
pk_ share - encrypt_
preimage - hash_
to_ ๐message - lagrange_
multipliers ๐ - verify_
agg_ dk - The function asserts that the ciphertext is valid.
- verify_
ciphertext - Verifying a ciphertext guarantees that it has not been malleated.
- verify_
dk_ share - The function asserts that the ciphertext is valid.
- xor_
with_ ๐hash