|
AES-DH Implementation
|
Manage the key. More...
Functions | |
| uint32_t | RotWord (const uint32_t &word) |
| Rotate a word by one byte left. | |
| uint32_t | SubWord (const uint32_t &word) |
| Substitue the bytes in a key-schedule word. | |
| std::vector< uint32_t > | Expansion (const std::array< uint64_t, 4 > &key, const uint64_t &Nk) |
| Expand a set of keys. | |
Variables | |
| uint32_t | Rcon [10] |
| The round constants. | |
Manage the key.
| std::vector< uint32_t > aes::key::Expansion | ( | const std::array< uint64_t, 4 > & | key, |
| const uint64_t & | Nk ) |
Expand a set of keys.
| key | The shared key array. |
| Nk | The size of the key in words. |
| uint32_t aes::key::RotWord | ( | const uint32_t & | word | ) |
Rotate a word by one byte left.
| word | The word. |
| uint32_t aes::key::SubWord | ( | const uint32_t & | word | ) |
Substitue the bytes in a key-schedule word.
| word | The word |
| uint32_t aes::key::Rcon[10] |
The round constants.