diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-15 01:04:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-15 01:04:48 +0300 |
commit | c11a0bd2abef4c9536432664600ce6b6ed6ccbe4 (patch) | |
tree | 91b8a928c82aeabc48788752944c2269d4c63b79 /include/aesni/buffer.h | |
parent | update the docs (diff) | |
download | aes-tools-c11a0bd2abef4c9536432664600ce6b6ed6ccbe4.tar.gz aes-tools-c11a0bd2abef4c9536432664600ce6b6ed6ccbe4.zip |
error handling refactoring + more docs
Diffstat (limited to '')
-rw-r--r-- | include/aesni/buffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/aesni/buffer.h b/include/aesni/buffer.h index 6222f4f..fff616f 100644 --- a/include/aesni/buffer.h +++ b/include/aesni/buffer.h @@ -18,20 +18,20 @@ extern "C" { #endif -int aesni_encrypt_buffer_ecb128( +AesNI_StatusCode aesni_encrypt_buffer_ecb128( const void* src, size_t src_size, void* dest, size_t* dest_size, AesNI_KeySchedule128* key_schedule, - AesNI_ErrorDetails*); -int aesni_decrypt_buffer_ecb128( + AesNI_ErrorDetails* err_details); +AesNI_StatusCode aesni_decrypt_buffer_ecb128( const void* src, size_t src_size, void* dest, size_t* dest_size, AesNI_KeySchedule128* inverted_schedule, - AesNI_ErrorDetails*); + AesNI_ErrorDetails* err_details); #ifdef __cplusplus } |