1
0
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:
Kusumit Ghoderao
2023-05-24 12:28:46 +05:30
parent 9016bc4ed2
commit 52fe517a77
2 changed files with 1 additions and 6 deletions

View File

@ -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