Remove crypto_core_ristretto255_from_string

This commit is contained in:
Frank Denis
2026-02-20 12:05:55 +01:00
parent ed661cd1fc
commit babd0c3e59
5 changed files with 2 additions and 20 deletions
-1
View File
@@ -202,7 +202,6 @@ _crypto_core_keccak1600_xor_bytes 0 1
_crypto_core_ristretto255_add 0 1
_crypto_core_ristretto255_bytes 0 1
_crypto_core_ristretto255_from_hash 0 1
_crypto_core_ristretto255_from_string 0 1
_crypto_core_ristretto255_from_string_ro 0 1
_crypto_core_ristretto255_hashbytes 0 1
_crypto_core_ristretto255_is_valid_point 0 1
File diff suppressed because one or more lines are too long
@@ -80,22 +80,13 @@ _string_to_element(unsigned char *p,
return 0;
}
int
crypto_core_ristretto255_from_string(unsigned char p[crypto_core_ristretto255_BYTES],
const unsigned char *ctx, size_t ctx_len,
const unsigned char *msg, size_t msg_len,
int hash_alg)
{
return _string_to_element(p, ctx, ctx_len, msg, msg_len, hash_alg);
}
int
crypto_core_ristretto255_from_string_ro(unsigned char p[crypto_core_ristretto255_BYTES],
const unsigned char *ctx, size_t ctx_len,
const unsigned char *msg, size_t msg_len,
int hash_alg)
{
return crypto_core_ristretto255_from_string(p, ctx, ctx_len, msg, msg_len, hash_alg);
return _string_to_element(p, ctx, ctx_len, msg, msg_len, hash_alg);
}
void
@@ -46,13 +46,6 @@ int crypto_core_ristretto255_from_hash(unsigned char *p,
const unsigned char *r)
__attribute__ ((nonnull));
SODIUM_EXPORT
int crypto_core_ristretto255_from_string(unsigned char p[crypto_core_ristretto255_BYTES],
const unsigned char *ctx, size_t ctx_len,
const unsigned char *msg, size_t msg_len,
int hash_alg)
__attribute__ ((nonnull(1)));
SODIUM_EXPORT
int crypto_core_ristretto255_from_string_ro(unsigned char p[crypto_core_ristretto255_BYTES],
const unsigned char *ctx, size_t ctx_len,
-1
View File
@@ -231,7 +231,6 @@ crypto_core_keccak1600_xor_bytes
crypto_core_ristretto255_add
crypto_core_ristretto255_bytes
crypto_core_ristretto255_from_hash
crypto_core_ristretto255_from_string
crypto_core_ristretto255_from_string_ro
crypto_core_ristretto255_hashbytes
crypto_core_ristretto255_is_valid_point