error 0 0adef46caa7fa3affd6be6d02b6c8fdbcf38cf81cb7aa3cfd90bf1062333969e 205500886 6258114866 4300000000 crypto_sign/3icp/ref ==10174== Memcheck, a memory error detector ==10174== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==10174== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info ==10174== Command: ./try ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90) ==10174== by 0x40B616: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:67) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90) ==10174== by 0x40BB64: gftower<31u, 18u>::operator!=(gftower<31u, 18u> const&) const (tower.h:87) ==10174== by 0x40AAB5: gftower<31u, 18u>::operator==(gftower<31u, 18u> const&) const (tower.h:88) ==10174== by 0x40866F: void sqrt_n_inv<31u, 18u>(gftower<31u, 18u>*, gftower<31u, 18u>*, gftower<31u, 18u> const&) (tower.h:1381) ==10174== by 0x40B649: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:68) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x408675: void sqrt_n_inv<31u, 18u>(gftower<31u, 18u>*, gftower<31u, 18u>*, gftower<31u, 18u> const&) (tower.h:1381) ==10174== by 0x40B649: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:68) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90) ==10174== by 0x40BB64: gftower<31u, 18u>::operator!=(gftower<31u, 18u> const&) const (tower.h:87) ==10174== by 0x40B667: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40B66F: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40B798: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:79) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x4013E0: test() (try.cpp:123) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112) ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164) ==10174== by 0x401494: test() (try.cpp:129) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x40AAFA: IC3_31_p<18u>::gen_key(unsigned char*, unsigned char*) (ThreeIC_p.h:125) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x40153B: test() (try.cpp:157) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112) ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164) ==10174== by 0x4015DC: test() (try.cpp:162) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112) ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164) ==10174== by 0x4015F9: test() (try.cpp:163) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x40AAFA: IC3_31_p<18u>::gen_key(unsigned char*, unsigned char*) (ThreeIC_p.h:125) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x40166B: test() (try.cpp:168) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x40170F: test() (try.cpp:174) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x401780: test() (try.cpp:177) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x401830: test() (try.cpp:182) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x4018BD: test() (try.cpp:186) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x4096C3: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:132) ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58) ==10174== by 0x40194A: test() (try.cpp:190) ==10174== by 0x401FC2: main (try-anything.cpp:295) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409495: verification(unsigned char const*, unsigned long long, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:98) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90) ==10174== by 0x40B5B0: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:63) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x401186: timecop_doit() (try.cpp:96) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== Uninitialised value was created by a client request ==10174== at 0x401157: timecop_doit() (try.cpp:95) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40B66F: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x401186: timecop_doit() (try.cpp:96) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== Uninitialised value was created by a client request ==10174== at 0x401157: timecop_doit() (try.cpp:95) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== ==10174== Conditional jump or move depends on uninitialised value(s) ==10174== at 0x40B798: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:79) ==10174== by 0x4093B3: signatureofshorthash(unsigned char*, unsigned long long*, unsigned char const*, unsigned long long, unsigned char const*, unsigned long long) (ThreeIC_p-test.cpp:79) ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35) ==10174== by 0x401186: timecop_doit() (try.cpp:96) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== Uninitialised value was created by a client request ==10174== at 0x401157: timecop_doit() (try.cpp:95) ==10174== by 0x402020: main (try-anything.cpp:306) ==10174== ==10174== Use of uninitialised value of size 8 ==10174== at 0x40205B: main (try-anything.cpp:321) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== Use of uninitialised value of size 8 ==10174== at 0x402072: main (try-anything.cpp:322) ==10174== Uninitialised value was created by a stack allocation ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127) ==10174== ==10174== ==10174== HEAP SUMMARY: ==10174== in use at exit: 359,680 bytes in 10 blocks ==10174== total heap usage: 19 allocs, 9 frees, 471,864 bytes allocated ==10174== ==10174== LEAK SUMMARY: ==10174== definitely lost: 0 bytes in 0 blocks ==10174== indirectly lost: 0 bytes in 0 blocks ==10174== possibly lost: 359,680 bytes in 10 blocks ==10174== still reachable: 0 bytes in 0 blocks ==10174== suppressed: 0 bytes in 0 blocks ==10174== Rerun with --leak-check=full to see details of leaked memory ==10174== ==10174== For lists of detected and suppressed errors, rerun with: -s ==10174== ERROR SUMMARY: 17835 errors from 21 contexts (suppressed: 0 from 0)