mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Swapped aegis256_is_available implementations
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user