16#define AES_BLOCKSIZE 16
19#define AES_MAX_ROUNDS 15
46#define AES_CTX_SIZE sizeof ( struct aes_context )
struct cipher_algorithm aes_algorithm
Basic AES algorithm.
#define AES_MAX_ROUNDS
Maximum number of AES rounds.
struct cipher_algorithm aes_ecb_algorithm
struct cipher_algorithm aes_cbc_algorithm
int aes_wrap(const void *kek, const void *src, void *dest, int nblk)
Wrap a key or other data using AES Key Wrap (RFC 3394)
struct cipher_algorithm aes_gcm_algorithm
int aes_unwrap(const void *kek, const void *src, void *dest, int nblk)
Unwrap a key or other data using AES Key Wrap (RFC 3394)
if(len >=6 *4) __asm__ __volatile__("movsl" if(len >=5 *4) __asm__ __volatile__("movsl" if(len >=4 *4) __asm__ __volatile__("movsl" if(len >=3 *4) __asm__ __volatile__("movsl" if(len >=2 *4) __asm__ __volatile__("movsl" if(len >=1 *4) __asm__ __volatile__("movsl" if((len % 4) >=2) __asm__ __volatile__("movsw" if((len % 2) >=1) __asm__ __volatile__("movsb" retur dest)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
struct aes_round_keys decrypt
Decryption keys.
unsigned int rounds
Number of rounds.
struct aes_round_keys encrypt
Encryption keys.
union aes_matrix key[AES_MAX_ROUNDS]
Round keys.
uint32_t column[4]
Viewed as an array of four-byte columns.
u8 kek[WPA_KEK_LEN]
EAPOL-Key Key Encryption Key (KEK)