mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
Fixing C test of optimized bip32
This commit is contained in:
parent
08545a15e7
commit
6089167f65
@ -134,7 +134,7 @@ void bench_ckd_optimized(int iterations)
|
||||
ecdsa_read_pubkey(&secp256k1, root.public_key, &pub);
|
||||
clock_t t = clock();
|
||||
for (int i = 0; i < iterations; i++) {
|
||||
hdnode_public_ckd_address_optimized(&pub, root.chain_code, i, 0, addr, sizeof(addr));
|
||||
hdnode_public_ckd_address_optimized(&pub, root.chain_code, i, 0, addr, sizeof(addr), false);
|
||||
if (i == 0 || i == iterations -1) {
|
||||
printf("address = %s\n", addr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user