Expose size_t crypto_shorthash_siphash24_keybytes(void);

This commit is contained in:
Frank Denis
2014-04-26 16:39:43 -07:00
parent 643f5f75c4
commit 3cbff15e59
2 changed files with 8 additions and 0 deletions
@@ -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);