aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/box.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-18 20:17:51 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-18 20:17:51 +0300
commitcad16e0a916be5547a4b6a65afb3d5ee876835ed (patch)
treec35531cda42ef1541ec53a4a8271d21a76280f7a /src/box.c
parentcode style (diff)
downloadaes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.tar.gz
aes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.zip
refactoring
Diffstat (limited to '')
-rw-r--r--src/box.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/box.c b/src/box.c
index f49c79f..e48c5d7 100644
--- a/src/box.c
+++ b/src/box.c
@@ -32,6 +32,7 @@ AesNI_StatusCode aesni_box_init(
&box->decrypt_params,
err_details)))
return status;
+
box->mode = mode;
if (iv != NULL)
box->iv = *iv;