aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/box.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 18:29:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 18:29:40 +0300
commit0651133db30c0932877780c2f98901e4ca1072e1 (patch)
tree2b87823b4b9f4b5a75affa4b1606abb06a598c97 /include/aesni/box.h
parentfactor out 128-bit XORing (diff)
downloadaes-tools-0651133db30c0932877780c2f98901e4ca1072e1.tar.gz
aes-tools-0651133db30c0932877780c2f98901e4ca1072e1.zip
refactoring
Diffstat (limited to '')
-rw-r--r--include/aesni/box.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/aesni/box.h b/include/aesni/box.h
index 2ae6533..70b2787 100644
--- a/include/aesni/box.h
+++ b/include/aesni/box.h
@@ -20,17 +20,17 @@ extern "C"
typedef union
{
- AesNI_KeySchedule128 aes128_key_schedule;
- AesNI_KeySchedule192 aes192_key_schedule;
- AesNI_KeySchedule256 aes256_key_schedule;
+ AesNI_Aes128_RoundKeys aes128_key_schedule;
+ AesNI_Aes192_RoundKeys aes192_key_schedule;
+ AesNI_Aes256_RoundKeys aes256_key_schedule;
}
AesNI_EncryptionParams;
typedef union
{
- AesNI_KeySchedule128 aes128_key_schedule;
- AesNI_KeySchedule192 aes192_key_schedule;
- AesNI_KeySchedule256 aes256_key_schedule;
+ AesNI_Aes128_RoundKeys aes128_key_schedule;
+ AesNI_Aes192_RoundKeys aes192_key_schedule;
+ AesNI_Aes256_RoundKeys aes256_key_schedule;
}
AesNI_DecryptionParams;