mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Change pbkdf2 password to array
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
This commit is contained in:
@ -5101,11 +5101,6 @@ psa_status_t psa_key_derivation_abort(psa_key_derivation_operation_t *operation)
|
||||
operation->ctx.pbkdf2.salt_length);
|
||||
mbedtls_free(operation->ctx.pbkdf2.salt);
|
||||
}
|
||||
if (operation->ctx.pbkdf2.password != NULL) {
|
||||
mbedtls_platform_zeroize(operation->ctx.pbkdf2.password,
|
||||
operation->ctx.pbkdf2.password_length);
|
||||
mbedtls_free(operation->ctx.pbkdf2.password);
|
||||
}
|
||||
|
||||
status = PSA_SUCCESS;
|
||||
} else
|
||||
|
Reference in New Issue
Block a user