summaryrefslogtreecommitdiffstats
path: root/aes.h
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-12-06 02:23:32 +0100
committerGitHub <noreply@github.com>2017-12-06 02:23:32 +0100
commit79458d2162a7f80d72849ae7ec73fbbacda4a3e3 (patch)
treefcab72136e7b9a172b1b4dd1a6abfb3a2b3b63d0 /aes.h
parentUpdate aes.h (diff)
downloadtiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar.gz
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar.bz2
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar.lz
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar.xz
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.tar.zst
tiny-AES-c-79458d2162a7f80d72849ae7ec73fbbacda4a3e3.zip
Diffstat (limited to 'aes.h')
-rw-r--r--aes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/aes.h b/aes.h
index 39973ea..41248d6 100644
--- a/aes.h
+++ b/aes.h
@@ -41,11 +41,12 @@
#define AES_keyExpSize 176
#endif
-struct AES_ctx {
+struct AES_ctx
+{
uint8_t RoundKey[AES_keyExpSize];
- #if (defined(CBC) && (CBC == 1)) || (defined(CTR) && (CTR == 1))
+#if (defined(CBC) && (CBC == 1)) || (defined(CTR) && (CTR == 1))
uint8_t Iv[AES_BLOCKLEN];
- #endif
+#endif
};
void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);