Some of the recent DSA fixes probably introduced the following valgring warnings:
==3766== HEAP SUMMARY:
==3766== in use at exit: 2,936 bytes in 10 blocks
==3766== total heap usage: 16,825,475 allocs, 16,825,465 frees, 4,621,465,314 bytes allocated
==3766==
==3766== 512 bytes in 2 blocks are indirectly lost in loss record 1 of 4
==3766== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==3766== by 0x1C31C5: mp_init (in /home/noroot/libtomcrypt/test)
==3766== by 0x18ABE0: init (ltm_desc.c:53)
==3766== by 0x18BF98: ltc_init_multi (multi.c:22)
==3766== by 0x19AFB4: dsa_import (dsa_import.c:37)
==3766== by 0x1177E8: _dsa_wycheproof_test (dsa_test.c:293)
==3766== by 0x1179F1: dsa_test (dsa_test.c:327)
==3766== by 0x12916F: main (test.c:392)
==3766==
==3766== 768 bytes in 1 blocks are indirectly lost in loss record 2 of 4
==3766== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==3766== by 0x1C30E9: mp_grow (in /home/noroot/libtomcrypt/test)
==3766== by 0x1C4307: mp_mul_2d (in /home/noroot/libtomcrypt/test)
==3766== by 0x1C5005: mp_read_unsigned_bin (in /home/noroot/libtomcrypt/test)
==3766== by 0x18B231: unsigned_read (ltm_desc.c:201)
==3766== by 0x191E72: der_decode_integer (der_decode_integer.c:81)
==3766== by 0x19B458: dsa_import (dsa_import.c:113)
==3766== by 0x1177E8: _dsa_wycheproof_test (dsa_test.c:293)
==3766== by 0x1179F1: dsa_test (dsa_test.c:327)
==3766== by 0x12916F: main (test.c:392)
==3766==
==3766== 1,536 bytes in 2 blocks are indirectly lost in loss record 3 of 4
==3766== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==3766== by 0x1C30E9: mp_grow (in /home/noroot/libtomcrypt/test)
==3766== by 0x1C4307: mp_mul_2d (in /home/noroot/libtomcrypt/test)
==3766== by 0x1C5005: mp_read_unsigned_bin (in /home/noroot/libtomcrypt/test)
==3766== by 0x18B231: unsigned_read (ltm_desc.c:201)
==3766== by 0x191E72: der_decode_integer (der_decode_integer.c:81)
==3766== by 0x193C84: der_decode_sequence_ex (der_decode_sequence_ex.c:111)
==3766== by 0x1942FA: der_decode_sequence_ex (der_decode_sequence_ex.c:274)
==3766== by 0x1942FA: der_decode_sequence_ex (der_decode_sequence_ex.c:274)
==3766== by 0x1BE813: der_decode_subject_public_key_info (der_decode_subject_public_key_info.c:77)
==3766== by 0x19B41C: dsa_import (dsa_import.c:105)
==3766== by 0x1177E8: _dsa_wycheproof_test (dsa_test.c:293)
==3766==
==3766== 2,936 (120 direct, 2,816 indirect) bytes in 5 blocks are definitely lost in loss record 4 of 4
==3766== at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
==3766== by 0x18ABB4: init (ltm_desc.c:48)
==3766== by 0x18BF98: ltc_init_multi (multi.c:22)
==3766== by 0x19AFB4: dsa_import (dsa_import.c:37)
==3766== by 0x1177E8: _dsa_wycheproof_test (dsa_test.c:293)
==3766== by 0x1179F1: dsa_test (dsa_test.c:327)
==3766== by 0x12916F: main (test.c:392)
==3766==
==3766== LEAK SUMMARY:
==3766== definitely lost: 120 bytes in 5 blocks
==3766== indirectly lost: 2,816 bytes in 5 blocks
==3766== possibly lost: 0 bytes in 0 blocks
==3766== still reachable: 0 bytes in 0 blocks
==3766== suppressed: 0 bytes in 0 blocks
Some of the recent DSA fixes probably introduced the following valgring warnings: