Zeroize pkey
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
7dc7be0909
commit
3bf035d68a
1 changed files with 1 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ void init_otp_files() {
|
|||
if (ret != 0) {
|
||||
printf("Error writing OTP key 2 [%d]\n", ret);
|
||||
}
|
||||
mbedtls_platform_zeroize(pkey, sizeof(pkey));
|
||||
#ifdef PICO_RP2350
|
||||
otp_chaff(OTP_KEY_2, 32);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue