Test the presence of some extra functions

This commit is contained in:
Frank Denis 2014-09-13 14:12:40 -07:00
parent 4d276a81e7
commit b7b0436fb8

View File

@ -20,6 +20,8 @@ int main(void)
assert(crypto_auth_bytes() > 0U);
assert(crypto_auth_keybytes() > 0U);
assert(strcmp(crypto_auth_primitive(), "hmacsha512256") == 0);
assert(crypto_auth_hmacsha512256_bytes() > 0U);
assert(crypto_auth_hmacsha512256_keybytes() > 0U);
return 0;
}