#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | GETU32(pt) (((uint32_t)(pt)[0] << 24) ^ ((uint32_t)(pt)[1] << 16) ^ ((uint32_t)(pt)[2] << 8) ^ ((uint32_t)(pt)[3])) |
#define | PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } |
#define | MAXKC (256/32) |
#define | MAXKB (256/8) |
#define | MAXNR 14 |
Typedefs | |
typedef uint8_t | u8 |
#define GETU32 | ( | pt | ) | (((uint32_t)(pt)[0] << 24) ^ ((uint32_t)(pt)[1] << 16) ^ ((uint32_t)(pt)[2] << 8) ^ ((uint32_t)(pt)[3])) |
Definition at line 78 of file aes_locl.h.
Referenced by AES_ctr128_inc(), AES_decrypt(), AES_encrypt(), and AES_set_encrypt_key().
#define MAXKB (256/8) |
Definition at line 94 of file aes_locl.h.
#define MAXKC (256/32) |
Definition at line 93 of file aes_locl.h.
#define MAXNR 14 |
Definition at line 95 of file aes_locl.h.
#define PUTU32 | ( | ct, | |||
st | ) | { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } |
Definition at line 79 of file aes_locl.h.
Referenced by AES_ctr128_inc(), AES_decrypt(), and AES_encrypt().
typedef uint8_t u8 |
Definition at line 91 of file aes_locl.h.