mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
fix(crypto): fix incorrect sig buffer size
This commit is contained in:
parent
4882648dad
commit
64281c69ce
@ -9305,7 +9305,7 @@ START_TEST(test_zkp_bip340_sign) {
|
||||
uint8_t digest[32] = {0};
|
||||
uint8_t expected_sig[32] = {0};
|
||||
uint8_t pub_key[32] = {0};
|
||||
uint8_t sig[32] = {0};
|
||||
uint8_t sig[64] = {0};
|
||||
|
||||
for (size_t i = 0; i < sizeof(tests) / sizeof(*tests); i++) {
|
||||
memcpy(priv_key, fromhex(tests[i].priv_key), 32);
|
||||
|
Loading…
Reference in New Issue
Block a user