|
static void | aes_nohw_add_round_key (AES_NOHW_BATCH *batch, const AES_NOHW_BATCH *key) |
|
static aes_word_t | aes_nohw_and (aes_word_t a, aes_word_t b) |
|
static void | aes_nohw_batch_get (const AES_NOHW_BATCH *batch, aes_word_t out[AES_NOHW_BLOCK_WORDS], size_t i) |
|
static void | aes_nohw_batch_set (AES_NOHW_BATCH *batch, const aes_word_t in[AES_NOHW_BLOCK_WORDS], size_t i) |
|
void | aes_nohw_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc) |
|
static void | aes_nohw_compact_block (aes_word_t out[AES_NOHW_BLOCK_WORDS], const uint8_t in[16]) |
|
static uint32_t | aes_nohw_compact_word (uint32_t a) |
|
void | aes_nohw_ctr32_encrypt_blocks (const uint8_t *in, uint8_t *out, size_t blocks, const AES_KEY *key, const uint8_t ivec[16]) |
|
void | aes_nohw_decrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key) |
|
static void | aes_nohw_decrypt_batch (const AES_NOHW_SCHEDULE *key, size_t num_rounds, AES_NOHW_BATCH *batch) |
|
static aes_word_t | aes_nohw_delta_swap (aes_word_t a, aes_word_t mask, aes_word_t shift) |
|
void | aes_nohw_encrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key) |
|
static void | aes_nohw_encrypt_batch (const AES_NOHW_SCHEDULE *key, size_t num_rounds, AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_expand_round_keys (AES_NOHW_SCHEDULE *out, const AES_KEY *key) |
|
static void | aes_nohw_from_batch (uint8_t *out, size_t num_blocks, const AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_inv_mix_columns (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_inv_shift_rows (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_inv_sub_bytes (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_mix_columns (AES_NOHW_BATCH *batch) |
|
static aes_word_t | aes_nohw_not (aes_word_t a) |
|
static aes_word_t | aes_nohw_or (aes_word_t a, aes_word_t b) |
|
static aes_word_t | aes_nohw_rcon_slice (uint8_t rcon, size_t i) |
|
static aes_word_t | aes_nohw_rotate_rows_down (aes_word_t v) |
|
static aes_word_t | aes_nohw_rotate_rows_twice (aes_word_t v) |
|
int | aes_nohw_set_decrypt_key (const uint8_t *key, unsigned bits, AES_KEY *aeskey) |
|
int | aes_nohw_set_encrypt_key (const uint8_t *key, unsigned bits, AES_KEY *aeskey) |
|
static void | aes_nohw_setup_key_128 (AES_KEY *key, const uint8_t in[16]) |
|
static void | aes_nohw_setup_key_192 (AES_KEY *key, const uint8_t in[24]) |
|
static void | aes_nohw_setup_key_256 (AES_KEY *key, const uint8_t in[32]) |
|
static aes_word_t | aes_nohw_shift_left (aes_word_t a, aes_word_t i) |
|
static aes_word_t | aes_nohw_shift_right (aes_word_t a, aes_word_t i) |
|
static void | aes_nohw_shift_rows (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_sub_block (aes_word_t out[AES_NOHW_BLOCK_WORDS], const aes_word_t in[AES_NOHW_BLOCK_WORDS]) |
|
static void | aes_nohw_sub_bytes (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_sub_bytes_inv_affine (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_swap_bits (aes_word_t *a, aes_word_t *b, uint32_t mask, aes_word_t shift) |
|
static void | aes_nohw_to_batch (AES_NOHW_BATCH *out, const uint8_t *in, size_t num_blocks) |
|
static void | aes_nohw_transpose (AES_NOHW_BATCH *batch) |
|
static void | aes_nohw_uncompact_block (uint8_t out[16], const aes_word_t in[AES_NOHW_BLOCK_WORDS]) |
|
static uint32_t | aes_nohw_uncompact_word (uint32_t a) |
|
static uint32_t | aes_nohw_word_from_bytes (uint8_t a0, uint8_t a1, uint8_t a2, uint8_t a3) |
|
static aes_word_t | aes_nohw_xor (aes_word_t a, aes_word_t b) |
|
static void | aes_nohw_xor_block (uint8_t out[16], const uint8_t a[16], const uint8_t b[16]) |
|
| OPENSSL_STATIC_ASSERT (AES_NOHW_BATCH_SIZE *128==8 *8 *sizeof(aes_word_t), "batch size does not match word size") |
|
| OPENSSL_STATIC_ASSERT (AES_NOHW_WORD_SIZE==sizeof(aes_word_t), "AES_NOHW_WORD_SIZE is incorrect") |
|