crypto_aes_arm_u8.h 521 B

123456789101112131415161718
  1. #ifndef CRYPTO_AES_ARM_U8_H_
  2. #define CRYPTO_AES_ARM_U8_H_
  3. #ifdef __ARM_NEON
  4. #include <arm_neon.h>
  5. #endif
  6. /**
  7. * crypto_aes_encrypt_block_arm_u8(in, key):
  8. * Using the expanded AES key ${key}, encrypt the block ${in} and return the
  9. * resulting ciphertext. This implementation uses ARM AES instructions,
  10. * and should only be used if CPUSUPPORT_ARM_AES is defined and
  11. * cpusupport_arm_aes() returns nonzero.
  12. */
  13. uint8x16_t crypto_aes_encrypt_block_arm_u8(uint8x16_t, const void *);
  14. #endif /* !CRYPTO_AES_ARM_U8_H_ */