1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

add iv_required field to psa_cipher_operation_s and fix relevant functions

This commit is contained in:
Moran Peker
2018-04-30 12:31:04 +03:00
committed by itayzafrir
parent 71f19ae6f8
commit ad9d82cc0e
2 changed files with 13 additions and 9 deletions

View File

@ -101,6 +101,7 @@ struct psa_cipher_operation_s
{
psa_algorithm_t alg;
int key_set : 1;
int iv_required : 1;
int iv_set : 1;
uint8_t iv_size;
uint8_t block_size;