Remove redundant initialization of iv_length
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
286c314ae3
commit
5eef11af2c
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ static int exercise_cipher_key( mbedtls_svc_key_id_t key,
|
||||||
{
|
{
|
||||||
psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
|
psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
|
||||||
unsigned char iv[16] = {0};
|
unsigned char iv[16] = {0};
|
||||||
size_t iv_length = sizeof( iv );
|
size_t iv_length;
|
||||||
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||||
psa_key_type_t key_type;
|
psa_key_type_t key_type;
|
||||||
const unsigned char plaintext[16] = "Hello, world...";
|
const unsigned char plaintext[16] = "Hello, world...";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue