History log of /PHP-8.2/ext/sodium/tests/crypto_core_ristretto255.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# 2addab15 10-Aug-2021 Nikita Popov

Comment out ristretto255 scalar invert test

This fails intermittently depending on which random scalar is
picked.


# 98184afd 10-Aug-2021 Nikita Popov

Improve ristretto255 scalarmult exception messages

These fail due to bad inputs, not internal errors.


# f31db209 10-Aug-2021 Nikita Popov

Add missing parts of previous commit


# 9168aab3 10-Aug-2021 Nikita Popov

Fix ristretto255 tests

Both tests were skipped because of a typo in the checked constant
name.

The scalarmult test was using illegal test vectors. The new test
is based on:

Fix ristretto255 tests

Both tests were skipped because of a typo in the checked constant
name.

The scalarmult test was using illegal test vectors. The new test
is based on:
https://github.com/jedisct1/libsodium/blob/6d566070b48efd2fa099bbe9822914455150aba9/test/default/scalarmult_ristretto255.c

The $L value contained one extra null byte. The number of "false"
return values was too small.

scalar_invert() doesn't return a valid point -- not sure on that
one.

show more ...


# 9b794f8e 07-May-2021 P.I.E. Security Team

Expose libsodium's Ristretto255 API (#6922)