aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/box_aes.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/aesni/box_aes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aesni/box_aes.h b/include/aesni/box_aes.h
index 391f13e..98de721 100644
--- a/include/aesni/box_aes.h
+++ b/include/aesni/box_aes.h
@@ -25,7 +25,7 @@ static __inline AesNI_StatusCode aesni_box_derive_params_aes128(
AesNI_ErrorDetails* err_details)
{
aesni_aes128_expand_key_(
- algorithm_params->aes128_key,
+ algorithm_params->aes128_key.key,
&encrypt_params->aes128_encryption_keys);
aesni_aes128_derive_decryption_keys_(
&encrypt_params->aes128_encryption_keys,