Add missing PSA init
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
1bdd76e950
commit
46712c644e
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ void pk_parse_public_keyfile_ec(char *key_file, int result)
|
|||
int res;
|
||||
|
||||
mbedtls_pk_init(&ctx);
|
||||
USE_PSA_INIT();
|
||||
MD_PSA_INIT();
|
||||
|
||||
res = mbedtls_pk_parse_public_keyfile(&ctx, key_file);
|
||||
|
||||
|
@ -99,7 +99,7 @@ void pk_parse_public_keyfile_ec(char *key_file, int result)
|
|||
|
||||
exit:
|
||||
mbedtls_pk_free(&ctx);
|
||||
USE_PSA_DONE();
|
||||
MD_PSA_DONE();
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
|
|
Loading…
Reference in a new issue