Changeset View
Changeset View
Standalone View
Standalone View
sys/crypto/openssl/ossl_arm.c
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
if (elf_hwcap & HWCAP_NEON) { | if (elf_hwcap & HWCAP_NEON) { | ||||
OPENSSL_armcap_P |= ARMV7_NEON; | OPENSSL_armcap_P |= ARMV7_NEON; | ||||
sc->has_aes = true; | sc->has_aes = true; | ||||
ossl_cipher_aes_cbc.set_encrypt_key = AES_set_encrypt_key; | ossl_cipher_aes_cbc.set_encrypt_key = AES_set_encrypt_key; | ||||
ossl_cipher_aes_cbc.set_decrypt_key = AES_set_decrypt_key; | ossl_cipher_aes_cbc.set_decrypt_key = AES_set_decrypt_key; | ||||
ossl_cipher_aes_gcm.set_encrypt_key = AES_set_encrypt_key; | |||||
ossl_cipher_aes_gcm.set_decrypt_key = AES_set_decrypt_key; | |||||
} | } | ||||
} | } |