diff options
author | kokke <spam@rowdy.dk> | 2018-02-01 09:23:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 09:23:46 +0100 |
commit | 61fa5c1d28d8caaf430f92d15fce1e945404508f (patch) | |
tree | c39738ce980eeb48adae6f2afcfc4195451e66c0 /aes.h | |
parent | Update README.md (diff) | |
parent | CTR-only mode still needs functions to update counter (iv) (diff) | |
download | tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar.gz tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar.bz2 tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar.lz tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar.xz tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.tar.zst tiny-AES-c-61fa5c1d28d8caaf430f92d15fce1e945404508f.zip |
Diffstat (limited to '')
-rw-r--r-- | aes.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ struct AES_ctx }; void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key); -#if defined(CBC) && (CBC == 1) +#if (defined(CBC) && (CBC == 1)) || (defined(CTR) && (CTR == 1)) void AES_init_ctx_iv(struct AES_ctx* ctx, const uint8_t* key, const uint8_t* iv); void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv); #endif |