Update aes.h

This commit is contained in:
kokke 2018-05-29 13:41:59 +02:00 committed by GitHub
parent 93c2670284
commit 6018b3f469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
aes.h
View File

@ -58,8 +58,8 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
// buffer size is exactly AES_BLOCKLEN bytes; // buffer size is exactly AES_BLOCKLEN bytes;
// you need only AES_init_ctx as IV is not used in ECB // you need only AES_init_ctx as IV is not used in ECB
// NB: ECB is considered insecure for most uses // NB: ECB is considered insecure for most uses
void AES_ECB_encrypt(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, const uint8_t* buf); void AES_ECB_decrypt(struct AES_ctx* ctx, uint8_t* buf);
#endif // #if defined(ECB) && (ECB == !) #endif // #if defined(ECB) && (ECB == !)