mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Export all keys command in validator-engine-console (#1412)
* Export all keys command in validator-engine-console * Use OPENSSL_cleanse in Bits256::fill_zero_s
This commit is contained in:
parent
4aa6412f9c
commit
9ae88d87e3
11 changed files with 173 additions and 6 deletions
|
@ -554,11 +554,7 @@ class BitArray {
|
|||
set_same(0);
|
||||
}
|
||||
void set_zero_s() {
|
||||
volatile uint8* p = data();
|
||||
auto x = m;
|
||||
while (x--) {
|
||||
*p++ = 0;
|
||||
}
|
||||
as_slice().fill_zero_secure();
|
||||
}
|
||||
void set_ones() {
|
||||
set_same(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue