Add crypto_hash_primitive()
This commit is contained in:
parent
ffe39ab544
commit
639a92ebe7
@ -7,3 +7,8 @@ crypto_hash(unsigned char *out, const unsigned char *in,
|
||||
{
|
||||
return crypto_hash_sha512(out, in, inlen);
|
||||
}
|
||||
|
||||
const char *
|
||||
crypto_hash_primitive(void) {
|
||||
return crypto_hash_sha512_primitive();
|
||||
}
|
||||
|
@ -19,6 +19,9 @@ SODIUM_EXPORT
|
||||
int crypto_hash(unsigned char *out, const unsigned char *in,
|
||||
unsigned long long inlen);
|
||||
|
||||
SODIUM_EXPORT
|
||||
const char *crypto_hash_primitive(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user