ISAL-Crypto
view release on metacpan or search on metacpan
isa-l_crypto/include/aes_gcm.h view on Meta::CPAN
/**
* @file aes_gcm.h
* @brief AES GCM encryption/decryption function prototypes.
*
* At build time there is an option to use non-temporal loads and stores
* selected by defining the compile time option NT_LDST. The use of this option
* places the following restriction on the gcm encryption functions:
*
* - The plaintext and cyphertext buffers must be aligned on a 16 byte boundary.
*
* - When using the streaming API, all partial input buffers must be a multiple
* of 16 bytes long except for the last input buffer.
*
* - In-place encryption/decryption is not recommended.
*
*/
/*
; References:
; This code was derived and highly optimized from the code described in paper:
; Vinodh Gopal et. al. Optimized Galois-Counter-Mode Implementation on Intel Architecture Processors. August, 2010
( run in 0.267 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )