diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-24 01:26:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-24 01:26:37 +0300 |
commit | 46d9e1918a3d9dd1eb2983159ef132933bce9e19 (patch) | |
tree | 8c9abe55abf49b555201f09512772b9853e6551d /include/aesni/box_data.h | |
parent | use macros to get rid of repetitive code (diff) | |
download | aes-tools-46d9e1918a3d9dd1eb2983159ef132933bce9e19.tar.gz aes-tools-46d9e1918a3d9dd1eb2983159ef132933bce9e19.zip |
refactoring
Diffstat (limited to 'include/aesni/box_data.h')
-rw-r--r-- | include/aesni/box_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/aesni/box_data.h b/include/aesni/box_data.h index 8a1e357..ff36885 100644 --- a/include/aesni/box_data.h +++ b/include/aesni/box_data.h @@ -72,7 +72,7 @@ typedef AesNI_StatusCode (*AesNI_BoxXorBlock)( const AesNI_BoxBlock*, AesNI_ErrorDetails*); -typedef AesNI_StatusCode (*AesNI_BoxNextCounter)( +typedef AesNI_StatusCode (*AesNI_BoxIncBlock)( AesNI_BoxBlock*, AesNI_ErrorDetails*); @@ -96,7 +96,7 @@ typedef struct AesNI_BoxEncryptBlock encrypt_block; AesNI_BoxDecryptBlock decrypt_block; AesNI_BoxXorBlock xor_block; - AesNI_BoxNextCounter next_counter; + AesNI_BoxIncBlock inc_block; AesNI_BoxGetBlockSize get_block_size; AesNI_BoxStoreBlock store_block; AesNI_BoxLoadBlock load_block; |