diff options
author | kokke <spam@rowdy.dk> | 2018-05-29 13:41:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 13:41:59 +0200 |
commit | 6018b3f469f06e606f1b398b1ad2c6911f1dd2fa (patch) | |
tree | 43ff9c584bdb8110624cbd0eccd51c7ac5954439 | |
parent | Update library.json (diff) | |
download | tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar.gz tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar.bz2 tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar.lz tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar.xz tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.tar.zst tiny-AES-c-6018b3f469f06e606f1b398b1ad2c6911f1dd2fa.zip |
-rw-r--r-- | aes.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, 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); #endif // #if defined(ECB) && (ECB == !) |