aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/raw.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 16:44:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 16:44:40 +0300
commit315098f2da4f0d4990b432ad7a932a2918af1dfb (patch)
tree5400b525c2b02bdb890ec2a9eb643eab6f9549c2 /include/aesni/raw.h
parentadd state-to-block conversion function (diff)
downloadaes-tools-315098f2da4f0d4990b432ad7a932a2918af1dfb.tar.gz
aes-tools-315098f2da4f0d4990b432ad7a932a2918af1dfb.zip
add block formatting/printing functions
Diffstat (limited to 'include/aesni/raw.h')
-rw-r--r--include/aesni/raw.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/include/aesni/raw.h b/include/aesni/raw.h
index 03ce217..9ee6ae9 100644
--- a/include/aesni/raw.h
+++ b/include/aesni/raw.h
@@ -10,38 +10,38 @@
#include "data.h"
-AesBlock __fastcall aes128ecb_encrypt(
- AesBlock plain,
- AesBlock key);
-AesBlock __fastcall aes128ecb_decrypt(
- AesBlock cypher,
- AesBlock key);
+AesBlock128 __fastcall aes128ecb_encrypt(
+ AesBlock128 plain,
+ AesBlock128 key);
+AesBlock128 __fastcall aes128ecb_decrypt(
+ AesBlock128 cypher,
+ AesBlock128 key);
-AesBlock __fastcall aes192ecb_encrypt(
- AesBlock plain,
- AesBlock key_lo,
- AesBlock key_hi);
-AesBlock __fastcall aes192ecb_decrypt(
- AesBlock cypher,
- AesBlock key_lo,
- AesBlock key_hi);
+AesBlock128 __fastcall aes192ecb_encrypt(
+ AesBlock128 plain,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi);
+AesBlock128 __fastcall aes192ecb_decrypt(
+ AesBlock128 cypher,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi);
-AesBlock __fastcall aes256ecb_encrypt(
- AesBlock plain,
- AesBlock key_lo,
- AesBlock key_hi);
-AesBlock __fastcall aes256ecb_decrypt(
- AesBlock cypher,
- AesBlock key_lo,
- AesBlock key_hi);
+AesBlock128 __fastcall aes256ecb_encrypt(
+ AesBlock128 plain,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi);
+AesBlock128 __fastcall aes256ecb_decrypt(
+ AesBlock128 cypher,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi);
-AesBlock __fastcall aes256cbc_encrypt(
- AesBlock plain,
- AesBlock key_lo,
- AesBlock key_hi,
- AesBlock *iv);
-AesBlock __fastcall aes256cbc_decrypt(
- AesBlock cypher,
- AesBlock key_lo,
- AesBlock key_hi,
- AesBlock *iv);
+AesBlock128 __fastcall aes256cbc_encrypt(
+ AesBlock128 plain,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi,
+ AesBlock128 *iv);
+AesBlock128 __fastcall aes256cbc_decrypt(
+ AesBlock128 cypher,
+ AesBlock128 key_lo,
+ AesBlock128 key_hi,
+ AesBlock128 *iv);