mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 19:57:13 +09:00
Expose size_t crypto_shorthash_siphash24_keybytes(void);
This commit is contained in:
@@ -5,6 +5,11 @@ crypto_shorthash_siphash24_bytes(void) {
|
||||
return crypto_shorthash_siphash24_BYTES;
|
||||
}
|
||||
|
||||
size_t
|
||||
crypto_shorthash_siphash24_keybytes(void) {
|
||||
return crypto_shorthash_siphash24_KEYBYTES;
|
||||
}
|
||||
|
||||
const char *
|
||||
crypto_shorthash_siphash24_primitive(void) {
|
||||
return "siphash24";
|
||||
|
||||
@@ -17,6 +17,9 @@ extern "C" {
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_shorthash_siphash24_bytes(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_shorthash_siphash24_keybytes(void);
|
||||
|
||||
SODIUM_EXPORT
|
||||
const char * crypto_shorthash_siphash24_primitive(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user