mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 20:30:48 +02:00
clear public/private key buffer after use in tropicsquare port
This commit is contained in:
@@ -546,6 +546,9 @@ int Tropic01_Deinit(void)
|
||||
WOLFSSL_MSG("TROPIC01: Crypto device deinitialized successfully");
|
||||
}
|
||||
|
||||
ForceZero(sh0priv, sizeof(sh0priv));
|
||||
ForceZero(sh0pub, sizeof(sh0pub));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user