mirror of
https://github.com/kokke/tiny-AES-c
synced 2024-11-22 05:21:52 +03:00
Update aes.h
This commit is contained in:
parent
93c2670284
commit
6018b3f469
4
aes.h
4
aes.h
@ -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 == !)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user