mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-05-03 21:36:25 +00:00
Zeroize ecdh key.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
6aa8d37d07
commit
ed674b379c
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ int cmd_decrypt_asym() {
|
|||
if (store_dkek_key(n, res_APDU) != CCID_OK) {
|
||||
return SW_EXEC_ERROR();
|
||||
}
|
||||
mbedtls_platform_zeroize(res_APDU, 32);
|
||||
return SW_OK();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue