|
template<domain D :shared3p > |
D xor_uint32 | aes128ExpandKey (D xor_uint32[[1]] aeskey) |
|
template<domain D :shared3p > |
D xor_uint32 | aes192ExpandKey (D xor_uint32[[1]] aeskey) |
|
template<domain D :shared3p > |
D xor_uint32 | aes256ExpandKey (D xor_uint32[[1]] aeskey) |
|
Function for expanding a randomly generated AES key.
- Parameters
-
- Returns
- returns a vector of type xor_uint32 with an expanded key
- Leakage
- None
◆ aes128ExpandKey()
D xor_uint32 aes128ExpandKey |
( |
D xor_uint32[[1]] |
aeskey | ) |
|
- Precondition
- the size of aeskey has to be dividable by AES128_Nk
◆ aes192ExpandKey()
D xor_uint32 aes192ExpandKey |
( |
D xor_uint32[[1]] |
aeskey | ) |
|
- Precondition
- the size of aeskey has to be dividable by AES192_Nk
◆ aes256ExpandKey()
D xor_uint32 aes256ExpandKey |
( |
D xor_uint32[[1]] |
aeskey | ) |
|
- Precondition
- the size of aeskey has to be dividable by AES256_Nk