mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-27 20:27:12 +09:00
Test the presence of some extra functions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user