Skip to content

Commit 9b794f8

Browse files
Expose libsodium's Ristretto255 API (#6922)
1 parent 01ce8d3 commit 9b794f8

7 files changed

+779
-1
lines changed

UPGRADING

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,34 @@ PHP 8.1 UPGRADE NOTES
314314
flush its buffers to physical storage.
315315
RFC: https://wiki.php.net/rfc/fsync_function
316316

317+
- Sodium:
318+
. Added the XChaCha20 stream cipher interface functions:
319+
320+
- sodium_crypto_stream_xchacha20()
321+
- sodium_crypto_stream_xchacha20_keygen()
322+
- sodium_crypto_stream_xchacha20_xor()
323+
324+
. Added the Ristretto255 functions, which are available in libsodium 1.0.18.
325+
326+
Ristretto is a technique for constructing prime order elliptic curve groups with non-malleable encodings.
327+
Ristretto255 implements Ristretto atop Curve25519.
328+
329+
- sodium_crypto_core_ristretto255_add()
330+
- sodium_crypto_core_ristretto255_from_hash()
331+
- sodium_crypto_core_ristretto255_is_valid_point()
332+
- sodium_crypto_core_ristretto255_random()
333+
- sodium_crypto_core_ristretto255_scalar_add()
334+
- sodium_crypto_core_ristretto255_scalar_complement()
335+
- sodium_crypto_core_ristretto255_scalar_invert()
336+
- sodium_crypto_core_ristretto255_scalar_mul()
337+
- sodium_crypto_core_ristretto255_scalar_negate()
338+
- sodium_crypto_core_ristretto255_scalar_random()
339+
- sodium_crypto_core_ristretto255_scalar_reduce()
340+
- sodium_crypto_core_ristretto255_scalar_sub()
341+
- sodium_crypto_core_ristretto255_sub()
342+
- sodium_crypto_scalarmult_ristretto255()
343+
- sodium_crypto_scalarmult_ristretto255_base()
344+
317345
========================================
318346
7. New Classes and Interfaces
319347
========================================

0 commit comments

Comments
 (0)