1
0
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:
Christian Reitter 2022-01-04 20:31:06 +01:00 committed by Ondřej Vejpustek
parent 4882648dad
commit 64281c69ce

View File

@ -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);