summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2018-05-29 13:42:57 +0200
committerGitHub <noreply@github.com>2018-05-29 13:42:57 +0200
commit3410accdc35e437ea03e39f47d53909cbc382a8e (patch)
treee1dbd87d42410ab67db4183feef7cd02b28ef8dc /README.md
parentUpdate aes.c (diff)
downloadtiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar.gz
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar.bz2
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar.lz
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar.xz
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.tar.zst
tiny-AES-c-3410accdc35e437ea03e39f47d53909cbc382a8e.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8fe7514..399f243 100644
--- a/README.md
+++ b/README.md
@@ -15,8 +15,8 @@ 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);
/* Then start encrypting and decrypting with the functions below: */
-void AES_ECB_encrypt(struct AES_ctx* ctx, const uint8_t* buf);
-void AES_ECB_decrypt(struct AES_ctx* ctx, const uint8_t* buf);
+void AES_ECB_encrypt(struct AES_ctx* ctx, uint8_t* buf);
+void AES_ECB_decrypt(struct AES_ctx* ctx, uint8_t* buf);
void AES_CBC_encrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);
void AES_CBC_decrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);