From cad16e0a916be5547a4b6a65afb3d5ee876835ed Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2015 20:17:51 +0300 Subject: refactoring --- include/aesni/aes.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/aesni/aes.h') diff --git a/include/aesni/aes.h b/include/aesni/aes.h index c4429eb..bcc1cf1 100644 --- a/include/aesni/aes.h +++ b/include/aesni/aes.h @@ -9,6 +9,7 @@ #pragma once #include "data.h" +#include "error.h" #include @@ -135,19 +136,19 @@ AesNI_StatusCode aesni_aes256_parse_key( typedef struct { - AesNI_Block128 keys[11]; + AesNI_Aes_Block keys[11]; } AesNI_Aes128_RoundKeys; typedef struct { - AesNI_Block128 keys[13]; + AesNI_Aes_Block keys[13]; } AesNI_Aes192_RoundKeys; typedef struct { - AesNI_Block128 keys[15]; + AesNI_Aes_Block keys[15]; } AesNI_Aes256_RoundKeys; -- cgit v1.2.3