mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
psa: cipher: Prefer length rather than size for IV/block length
Prefer length rather than size for IV/block length as per the PSA specification. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@ -39,8 +39,8 @@
|
||||
typedef struct {
|
||||
/* Context structure for the Mbed TLS cipher implementation. */
|
||||
psa_algorithm_t alg;
|
||||
uint8_t iv_size;
|
||||
uint8_t block_size;
|
||||
uint8_t iv_length;
|
||||
uint8_t block_length;
|
||||
mbedtls_cipher_context_t cipher;
|
||||
} mbedtls_psa_cipher_operation_t;
|
||||
|
||||
|
Reference in New Issue
Block a user