AES ECB buf shouldn't be const.
Closed this issue · 1 comments
nemirst commented
void AES_ECB_encrypt(struct AES_ctx* ctx, const uint8_t* buf);
void AES_ECB_decrypt(struct AES_ctx* ctx, const uint8_t* buf);
buf shouldn't be marked as const as it's cast away right immediately in the body of those functions, right?