crypto: zero public_key in CryptoECDH::free()
All checks were successful
CI / build (push) Successful in 1m2s
All checks were successful
CI / build (push) Successful in 1m2s
This commit is contained in:
parent
18469538ae
commit
e03067c5f4
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ public:
|
|||
mbedtls_entropy_free(&entropy);
|
||||
memset(shared_secret, 0, sizeof(shared_secret));
|
||||
memset(aes_key, 0, sizeof(aes_key));
|
||||
memset(public_key, 0, sizeof(public_key));
|
||||
initialized = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue