mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
@ -4423,7 +4423,7 @@ psa_status_t psa_cipher_generate_iv(psa_cipher_operation_t *operation,
|
||||
|
||||
LOCAL_OUTPUT_ALLOC(iv_external, default_iv_length, iv);
|
||||
|
||||
status = psa_generate_random_internal(local_iv, default_iv_length);
|
||||
status = psa_generate_random_internal(iv, default_iv_length);
|
||||
if (status != PSA_SUCCESS) {
|
||||
goto exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user