aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/box.h
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 /include/aesni/box.h
parentcode style (diff)
downloadaes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.tar.gz
aes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.zip
refactoring
Diffstat (limited to 'include/aesni/box.h')
-rw-r--r--include/aesni/box.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/aesni/box.h b/include/aesni/box.h
index fd28cf1..bc270ee 100644
--- a/include/aesni/box.h
+++ b/include/aesni/box.h
@@ -17,24 +17,24 @@ extern "C"
#endif
AesNI_StatusCode aesni_box_init(
- AesNI_Box*,
- AesNI_BoxAlgorithm,
- const AesNI_BoxAlgorithmParams*,
- AesNI_BoxMode,
+ AesNI_Box* box,
+ AesNI_BoxAlgorithm algorithm,
+ const AesNI_BoxAlgorithmParams* algorithm_params,
+ AesNI_BoxMode mode,
const AesNI_BoxBlock* iv,
- AesNI_ErrorDetails*);
+ AesNI_ErrorDetails* err_details);
AesNI_StatusCode aesni_box_encrypt(
- AesNI_Box*,
- const AesNI_BoxBlock*,
- AesNI_BoxBlock*,
- AesNI_ErrorDetails*);
+ AesNI_Box* box,
+ const AesNI_BoxBlock* plaintext,
+ AesNI_BoxBlock* ciphertext,
+ AesNI_ErrorDetails* err_details);
AesNI_StatusCode aesni_box_decrypt(
- AesNI_Box*,
- const AesNI_BoxBlock*,
- AesNI_BoxBlock*,
- AesNI_ErrorDetails*);
+ AesNI_Box* box,
+ const AesNI_BoxBlock* ciphertext,
+ AesNI_BoxBlock* plaintext,
+ AesNI_ErrorDetails* err_details);
#ifdef __cplusplus
}