From 2b1facdd2418c0eefb88be3671c393510079ed81 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 20 Jul 2026 22:01:35 +0200 Subject: aes: minor refactoring --- aes/include/aes/box_aes.h | 6 +++--- aes/include/aes/box_data.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'aes/include') diff --git a/aes/include/aes/box_aes.h b/aes/include/aes/box_aes.h index e15f0cb..476f692 100644 --- a/aes/include/aes/box_aes.h +++ b/aes/include/aes/box_aes.h @@ -11,9 +11,9 @@ extern "C" { #endif -extern AES_BoxAlgorithmInterface aes_box_algorithm_aes128; -extern AES_BoxAlgorithmInterface aes_box_algorithm_aes192; -extern AES_BoxAlgorithmInterface aes_box_algorithm_aes256; +extern AES_BoxInterface aes128_box_interface; +extern AES_BoxInterface aes192_box_interface; +extern AES_BoxInterface aes256_box_interface; #ifdef __cplusplus } diff --git a/aes/include/aes/box_data.h b/aes/include/aes/box_data.h index 5e5ab98..e3137f3 100644 --- a/aes/include/aes/box_data.h +++ b/aes/include/aes/box_data.h @@ -115,10 +115,10 @@ typedef struct { AES_BoxGetBlockSize get_block_size; AES_BoxStoreBlock store_block; AES_BoxLoadBlock load_block; -} AES_BoxAlgorithmInterface; +} AES_BoxInterface; typedef struct { - const AES_BoxAlgorithmInterface* algorithm; + const AES_BoxInterface* algorithm; AES_BoxEncryptionRoundKeys encryption_keys; AES_BoxDecryptionRoundKeys decryption_keys; AES_Mode mode; -- cgit v1.3