From 433df6f53252a5f4e8b97f1d905ba37928145a96 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 19 Jun 2015 01:31:25 +0300 Subject: add CTR mode to "boxes" --- include/aesni/box_data.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/aesni') diff --git a/include/aesni/box_data.h b/include/aesni/box_data.h index 9acd901..ecd98a9 100644 --- a/include/aesni/box_data.h +++ b/include/aesni/box_data.h @@ -87,12 +87,17 @@ typedef AesNI_StatusCode (*AesNI_BoxXorBlock)( const AesNI_BoxBlock*, AesNI_ErrorDetails*); +typedef AesNI_StatusCode (*AesNI_BoxIncCounter)( + AesNI_BoxBlock*, + AesNI_ErrorDetails*); + typedef struct { AesNI_BoxDeriveParams derive_params; AesNI_BoxEncrypt encrypt; AesNI_BoxDecrypt decrypt; AesNI_BoxXorBlock xor_block; + AesNI_BoxIncCounter inc_counter; } AesNI_BoxAlgorithmInterface; -- cgit v1.2.3