aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/box.h
diff options
context:
space:
mode:
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
}