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:
parent
f2381aaa43
commit
6ad554cb83
2 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue