mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -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
|
int
|
||||||
crypto_aead_aegis256_is_available(void)
|
crypto_aead_aegis256_is_available(void)
|
||||||
{
|
{
|
||||||
return sodium_runtime_has_armcrypto();
|
return sodium_runtime_has_aesni();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -283,7 +283,7 @@ crypto_aead_aegis256_decrypt(unsigned char *m, unsigned long long *mlen_p, unsig
|
|||||||
int
|
int
|
||||||
crypto_aead_aegis256_is_available(void)
|
crypto_aead_aegis256_is_available(void)
|
||||||
{
|
{
|
||||||
return sodium_runtime_has_aesni();
|
return sodium_runtime_has_armcrypto();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user