12345678910111213141516 |
- #ifndef CRYPTO_AES_AESNI_M128I_H_
- #define CRYPTO_AES_AESNI_M128I_H_
- #include <emmintrin.h>
- /**
- * crypto_aes_encrypt_block_aesni_m128i(in, key):
- * Using the expanded AES key ${key}, encrypt the block ${in} and return the
- * resulting ciphertext. This implementation uses x86 AESNI instructions,
- * and should only be used if CPUSUPPORT_X86_AESNI is defined and
- * cpusupport_x86_aesni() returns nonzero.
- */
- __m128i crypto_aes_encrypt_block_aesni_m128i(__m128i, const void *);
- #endif /* !CRYPTO_AES_AESNI_M128I_H_ */
|