Zeroize ecdh key.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-03-08 11:15:02 +01:00
parent 6aa8d37d07
commit ed674b379c
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -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();
}
}