1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Swapped aegis256_is_available implementations

This commit is contained in:
Frank Denis 2019-10-31 09:23:33 +01:00
parent 0f8e034f97
commit 066150a94d
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ crypto_aead_aegis256_decrypt(unsigned char *m, unsigned long long *mlen_p, unsig
int
crypto_aead_aegis256_is_available(void)
{
return sodium_runtime_has_armcrypto();
return sodium_runtime_has_aesni();
}
#endif

View File

@ -283,7 +283,7 @@ crypto_aead_aegis256_decrypt(unsigned char *m, unsigned long long *mlen_p, unsig
int
crypto_aead_aegis256_is_available(void)
{
return sodium_runtime_has_aesni();
return sodium_runtime_has_armcrypto();
}
#endif