summaryrefslogtreecommitdiffstats
path: root/aes.h
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2019-02-22 09:23:16 +0100
committerGitHub <noreply@github.com>2019-02-22 09:23:16 +0100
commit4b4b04b8fa87ca35fdf681fca20777ee8a16e93f (patch)
tree2a0e4188f2235c1a38f52f36eea02f9ef75247e4 /aes.h
parentMerge pull request #124 from torfinnberset/master (diff)
parentUpdate README (diff)
downloadtiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar.gz
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar.bz2
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar.lz
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar.xz
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.tar.zst
tiny-AES-c-4b4b04b8fa87ca35fdf681fca20777ee8a16e93f.zip
Diffstat (limited to 'aes.h')
-rw-r--r--aes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/aes.h b/aes.h
index 1daab47..87f1471 100644
--- a/aes.h
+++ b/aes.h
@@ -58,8 +58,8 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
// buffer size is exactly AES_BLOCKLEN bytes;
// you need only AES_init_ctx as IV is not used in ECB
// NB: ECB is considered insecure for most uses
-void AES_ECB_encrypt(struct AES_ctx* ctx, uint8_t* buf);
-void AES_ECB_decrypt(struct AES_ctx* ctx, uint8_t* buf);
+void AES_ECB_encrypt(const struct AES_ctx* ctx, uint8_t* buf);
+void AES_ECB_decrypt(const struct AES_ctx* ctx, uint8_t* buf);
#endif // #if defined(ECB) && (ECB == !)