mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Swapped aegis256_is_available implementations
This commit is contained in:
parent
0f8e034f97
commit
066150a94d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user