diff options
author | kokke <spam@rowdy.dk> | 2018-05-29 13:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 13:42:57 +0200 |
commit | 3410accdc35e437ea03e39f47d53909cbc382a8e (patch) | |
tree | e1dbd87d42410ab67db4183feef7cd02b28ef8dc | |
parent | Update aes.c (diff) | |
download | tiny-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 |
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |