summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2021-01-06 02:36:16 +0100
committerGitHub <noreply@github.com>2021-01-06 02:36:16 +0100
commitc0ca6f5857f840bd3091bf99cd00029f152e3dac (patch)
tree1c0c1d71413aa819f78a37764cab3b8c48f45f5f
parentMerge pull request #173 from Youw/master (diff)
downloadtiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar.gz
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar.bz2
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar.lz
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar.xz
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.tar.zst
tiny-AES-c-c0ca6f5857f840bd3091bf99cd00029f152e3dac.zip
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 44c108d..8731992 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,11 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
void AES_ECB_encrypt(const struct AES_ctx* ctx, uint8_t* buf);
void AES_ECB_decrypt(const 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);
+void AES_CBC_encrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, size_t length);
+void AES_CBC_decrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, size_t length);
/* Same function for encrypting as for decrypting in CTR mode */
-void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);
+void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, size_t length);
```
Note: