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.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/aesni/box.h b/include/aesni/box.h
index 04c2b6c..58517e1 100644
--- a/include/aesni/box.h
+++ b/include/aesni/box.h
@@ -27,6 +27,30 @@ AesNI_StatusCode aesni_box_init(
const AesNI_BoxBlock* iv,
AesNI_ErrorDetails* err_details);
+AesNI_StatusCode aesni_box_parse_key(
+ AesNI_BoxKey* dest,
+ AesNI_Algorithm algorithm,
+ const char* src,
+ AesNI_ErrorDetails* err_details);
+
+AesNI_StatusCode aesni_box_parse_block(
+ AesNI_BoxBlock* dest,
+ AesNI_Algorithm algorithm,
+ const char* src,
+ AesNI_ErrorDetails* err_details);
+
+AesNI_StatusCode aesni_box_format_key(
+ AesNI_BoxKeyString* dest,
+ AesNI_Algorithm algorithm,
+ const AesNI_BoxKey* src,
+ AesNI_ErrorDetails* err_details);
+
+AesNI_StatusCode aesni_box_format_block(
+ AesNI_BoxBlockString* dest,
+ AesNI_Algorithm algorithm,
+ const AesNI_BoxBlock* src,
+ AesNI_ErrorDetails* err_details);
+
AesNI_StatusCode aesni_box_encrypt_block(
AesNI_Box* box,
const AesNI_BoxBlock* plaintext,