mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2024-09-20 03:10:09 +00:00
Zeroize ecdh key.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
6aa8d37d07
commit
ed674b379c
@ -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…
Reference in New Issue
Block a user