Go to the source code of this file.
|
static_always_inline u8x16 | aes_block_load (u8 *p) |
|
static_always_inline u8x16 | aes_enc_round (u8x16 a, u8x16 k) |
|
static_always_inline u8x16 | aes_enc_last_round (u8x16 a, u8x16 k) |
|
static_always_inline u8x16 | aes_dec_round (u8x16 a, u8x16 k) |
|
static_always_inline u8x16 | aes_dec_last_round (u8x16 a, u8x16 k) |
|
static_always_inline void | aes_block_store (u8 *p, u8x16 r) |
|
static_always_inline u8x16 | aes_byte_mask (u8x16 x, u8 n_bytes) |
|
static_always_inline u8x16 | aes_load_partial (u8x16u *p, int n_bytes) |
|
static_always_inline void | aes_store_partial (void *p, u8x16 r, int n_bytes) |
|
static_always_inline u8x16 | aes_encrypt_block (u8x16 block, const u8x16 *round_keys, aes_key_size_t ks) |
|
static_always_inline u8x16 | aes_inv_mix_column (u8x16 a) |
|
static_always_inline void | aes128_key_assist (u8x16 *rk, u8x16 r) |
|
static_always_inline void | aes128_key_expand (u8x16 *rk, u8x16 const *k) |
|
static_always_inline void | aes192_key_assist (u8x16 *r1, u8x16 *r2, u8x16 key_assist) |
|
static_always_inline void | aes192_key_expand (u8x16 *rk, u8x16u const *k) |
|
static_always_inline void | aes256_key_assist (u8x16 *rk, int i, u8x16 key_assist) |
|
static_always_inline void | aes256_key_expand (u8x16 *rk, u8x16u const *k) |
|
static_always_inline void | aes_key_expand (u8x16 *key_schedule, u8 const *key, aes_key_size_t ks) |
|
static_always_inline void | aes_key_enc_to_dec (u8x16 *ke, u8x16 *kd, aes_key_size_t ks) |
|
◆ AES_KEY_BYTES
#define AES_KEY_BYTES |
( |
|
x | ) |
(16 + x * 8) |
Definition at line 29 of file aes.h.
◆ AES_KEY_ROUNDS
#define AES_KEY_ROUNDS |
( |
|
x | ) |
(10 + x * 2) |
Definition at line 28 of file aes.h.
◆ aes_keygen_assist
#define aes_keygen_assist |
( |
|
a, |
|
|
|
b |
|
) |
| (u8x16) _mm_aeskeygenassist_si128((__m128i) a, b) |
◆ aes_key_size_t
Enumerator |
---|
AES_KEY_128 | |
AES_KEY_192 | |
AES_KEY_256 | |
Definition at line 21 of file aes.h.
◆ aes128_key_assist()
◆ aes128_key_expand()
◆ aes192_key_assist()
◆ aes192_key_expand()
◆ aes256_key_assist()
◆ aes256_key_expand()
◆ aes_block_load()
Definition at line 36 of file aes.h.
◆ aes_block_store()
◆ aes_byte_mask()
◆ aes_dec_last_round()
Definition at line 96 of file aes.h.
◆ aes_dec_round()
Definition at line 90 of file aes.h.
◆ aes_enc_last_round()
Definition at line 78 of file aes.h.
◆ aes_enc_round()
Definition at line 42 of file aes.h.
◆ aes_encrypt_block()
◆ aes_inv_mix_column()
◆ aes_key_enc_to_dec()
◆ aes_key_expand()
◆ aes_load_partial()
◆ aes_store_partial()
◆ byte_mask_scale
const u8x16 byte_mask_scale |
|
static |
Initial value:= {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
}
Definition at line 31 of file aes.h.