Expand description
§Core cryptography functions
Functions§
- crypto_
core_ ed25519_ is_ valid_ point - Checks if a given point is on the Ed25519 curve.
- crypto_
core_ ed25519_ is_ valid_ point_ relaxed - Version of
crypto_core_ed25519_is_valid_point
that optionally ignores the high bit check. - crypto_
core_ hchacha20 - Implements the HChaCha20 function.
- crypto_
core_ hsalsa20 - Implements the HSalsa20 function.
- crypto_
scalarmult - Computes a shared secret
q
, givenn
, our secret key, andp
, their public key, using a Diffie-Hellman key exchange. - crypto_
scalarmult_ base - Computes the public key for a previously generated secret key.
Type Aliases§
- Ed25519
Point - Stack-allocated Ed25519 point.
- HCha
Cha20 Input - Stack-allocated HChaCha20 input.
- HCha
Cha20 Key - Stack-allocated HChaCha20 key.
- HCha
Cha20 Output - Stack-allocated HChaCha20 output.
- HSalsa20
Input - Stack-allocated HSalsa20 input.
- HSalsa20
Key - Stack-allocated HSalsa20 key.
- HSalsa20
Output - Stack-allocated HSalsa20 output.