Output save_alt Download

Operation
crypto_sign
Primitive
3icp
Implementation
ref
Compiler options
clang++ -O1 -g
Host
venus
1 error 0
2 0adef46caa7fa3affd6be6d02b6c8fdbcf38cf81cb7aa3cfd90bf1062333969e 205500886 6258114866 4300000000 crypto_sign/3icp/ref
3 ==10174== Memcheck, a memory error detector
4 ==10174== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==10174== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==10174== Command: ./try
7 ==10174==
8 ==10174== Conditional jump or move depends on uninitialised value(s)
9 ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90)
10 ==10174== by 0x40B616: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:67)
11 ==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)
12 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
13 ==10174== by 0x4013E0: test() (try.cpp:123)
14 ==10174== by 0x401FC2: main (try-anything.cpp:295)
15 ==10174== Uninitialised value was created by a stack allocation
16 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
17 ==10174==
18 ==10174== Conditional jump or move depends on uninitialised value(s)
19 ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90)
20 ==10174== by 0x40BB64: gftower<31u, 18u>::operator!=(gftower<31u, 18u> const&) const (tower.h:87)
21 ==10174== by 0x40AAB5: gftower<31u, 18u>::operator==(gftower<31u, 18u> const&) const (tower.h:88)
22 ==10174== by 0x40866F: void sqrt_n_inv<31u, 18u>(gftower<31u, 18u>*, gftower<31u, 18u>*, gftower<31u, 18u> const&) (tower.h:1381)
23 ==10174== by 0x40B649: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:68)
24 ==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)
25 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
26 ==10174== by 0x4013E0: test() (try.cpp:123)
27 ==10174== by 0x401FC2: main (try-anything.cpp:295)
28 ==10174== Uninitialised value was created by a stack allocation
29 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
30 ==10174==
31 ==10174== Conditional jump or move depends on uninitialised value(s)
32 ==10174== at 0x408675: void sqrt_n_inv<31u, 18u>(gftower<31u, 18u>*, gftower<31u, 18u>*, gftower<31u, 18u> const&) (tower.h:1381)
33 ==10174== by 0x40B649: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:68)
34 ==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)
35 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
36 ==10174== by 0x4013E0: test() (try.cpp:123)
37 ==10174== by 0x401FC2: main (try-anything.cpp:295)
38 ==10174== Uninitialised value was created by a stack allocation
39 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
40 ==10174==
41 ==10174== Conditional jump or move depends on uninitialised value(s)
42 ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90)
43 ==10174== by 0x40BB64: gftower<31u, 18u>::operator!=(gftower<31u, 18u> const&) const (tower.h:87)
44 ==10174== by 0x40B667: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69)
45 ==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)
46 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
47 ==10174== by 0x4013E0: test() (try.cpp:123)
48 ==10174== by 0x401FC2: main (try-anything.cpp:295)
49 ==10174== Uninitialised value was created by a stack allocation
50 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
51 ==10174==
52 ==10174== Conditional jump or move depends on uninitialised value(s)
53 ==10174== at 0x40B66F: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69)
54 ==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)
55 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
56 ==10174== by 0x4013E0: test() (try.cpp:123)
57 ==10174== by 0x401FC2: main (try-anything.cpp:295)
58 ==10174== Uninitialised value was created by a stack allocation
59 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
60 ==10174==
61 ==10174== Conditional jump or move depends on uninitialised value(s)
62 ==10174== at 0x40B798: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:79)
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)
64 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
65 ==10174== by 0x4013E0: test() (try.cpp:123)
66 ==10174== by 0x401FC2: main (try-anything.cpp:295)
67 ==10174== Uninitialised value was created by a stack allocation
68 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
69 ==10174==
70 ==10174== Conditional jump or move depends on uninitialised value(s)
71 ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
72 ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164)
73 ==10174== by 0x401494: test() (try.cpp:129)
74 ==10174== by 0x401FC2: main (try-anything.cpp:295)
75 ==10174== Uninitialised value was created by a stack allocation
76 ==10174== at 0x40AAFA: IC3_31_p<18u>::gen_key(unsigned char*, unsigned char*) (ThreeIC_p.h:125)
77 ==10174==
78 ==10174== Conditional jump or move depends on uninitialised value(s)
79 ==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)
80 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
81 ==10174== by 0x40153B: test() (try.cpp:157)
82 ==10174== by 0x401FC2: main (try-anything.cpp:295)
83 ==10174== Uninitialised value was created by a stack allocation
84 ==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)
85 ==10174==
86 ==10174== Conditional jump or move depends on uninitialised value(s)
87 ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
88 ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164)
89 ==10174== by 0x4015DC: test() (try.cpp:162)
90 ==10174== by 0x401FC2: main (try-anything.cpp:295)
91 ==10174== Uninitialised value was created by a stack allocation
92 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
93 ==10174==
94 ==10174== Conditional jump or move depends on uninitialised value(s)
95 ==10174== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
96 ==10174== by 0x401B04: input_compare(unsigned char const*, unsigned char const*, unsigned long long, char const*) (try-anything.cpp:164)
97 ==10174== by 0x4015F9: test() (try.cpp:163)
98 ==10174== by 0x401FC2: main (try-anything.cpp:295)
99 ==10174== Uninitialised value was created by a stack allocation
100 ==10174== at 0x40AAFA: IC3_31_p<18u>::gen_key(unsigned char*, unsigned char*) (ThreeIC_p.h:125)
101 ==10174==
102 ==10174== Conditional jump or move depends on uninitialised value(s)
103 ==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)
104 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
105 ==10174== by 0x40166B: test() (try.cpp:168)
106 ==10174== by 0x401FC2: main (try-anything.cpp:295)
107 ==10174== Uninitialised value was created by a stack allocation
108 ==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)
109 ==10174==
110 ==10174== Conditional jump or move depends on uninitialised value(s)
111 ==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)
112 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
113 ==10174== by 0x40170F: test() (try.cpp:174)
114 ==10174== by 0x401FC2: main (try-anything.cpp:295)
115 ==10174== Uninitialised value was created by a stack allocation
116 ==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)
117 ==10174==
118 ==10174== Conditional jump or move depends on uninitialised value(s)
119 ==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)
120 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
121 ==10174== by 0x401780: test() (try.cpp:177)
122 ==10174== by 0x401FC2: main (try-anything.cpp:295)
123 ==10174== Uninitialised value was created by a stack allocation
124 ==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)
125 ==10174==
126 ==10174== Conditional jump or move depends on uninitialised value(s)
127 ==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)
128 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
129 ==10174== by 0x401830: test() (try.cpp:182)
130 ==10174== by 0x401FC2: main (try-anything.cpp:295)
131 ==10174== Uninitialised value was created by a stack allocation
132 ==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)
133 ==10174==
134 ==10174== Conditional jump or move depends on uninitialised value(s)
135 ==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)
136 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
137 ==10174== by 0x4018BD: test() (try.cpp:186)
138 ==10174== by 0x401FC2: main (try-anything.cpp:295)
139 ==10174== Uninitialised value was created by a stack allocation
140 ==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)
141 ==10174==
142 ==10174== Conditional jump or move depends on uninitialised value(s)
143 ==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)
144 ==10174== by 0x402461: crypto_sign_3icp_ref_open (usehash.cpp:58)
145 ==10174== by 0x40194A: test() (try.cpp:190)
146 ==10174== by 0x401FC2: main (try-anything.cpp:295)
147 ==10174== Uninitialised value was created by a stack allocation
148 ==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)
149 ==10174==
150 ==10174== Conditional jump or move depends on uninitialised value(s)
151 ==10174== at 0x40BB94: gftower<31u, 18u>::operator bool() const (tower.h:90)
152 ==10174== by 0x40B5B0: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:63)
153 ==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)
154 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
155 ==10174== by 0x401186: timecop_doit() (try.cpp:96)
156 ==10174== by 0x402020: main (try-anything.cpp:306)
157 ==10174== Uninitialised value was created by a client request
158 ==10174== at 0x401157: timecop_doit() (try.cpp:95)
159 ==10174== by 0x402020: main (try-anything.cpp:306)
160 ==10174==
161 ==10174== Conditional jump or move depends on uninitialised value(s)
162 ==10174== at 0x40B66F: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:69)
163 ==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)
164 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
165 ==10174== by 0x401186: timecop_doit() (try.cpp:96)
166 ==10174== by 0x402020: main (try-anything.cpp:306)
167 ==10174== Uninitialised value was created by a client request
168 ==10174== at 0x401157: timecop_doit() (try.cpp:95)
169 ==10174== by 0x402020: main (try-anything.cpp:306)
170 ==10174==
171 ==10174== Conditional jump or move depends on uninitialised value(s)
172 ==10174== at 0x40B798: IC3_31_p<18u>::pri_map(VEC<31u, 53u>*, unsigned char const*, VEC<31u, 36u> const*) (ThreeIC_p.h:79)
173 ==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)
174 ==10174== by 0x4023AA: crypto_sign_3icp_ref (usehash.cpp:35)
175 ==10174== by 0x401186: timecop_doit() (try.cpp:96)
176 ==10174== by 0x402020: main (try-anything.cpp:306)
177 ==10174== Uninitialised value was created by a client request
178 ==10174== at 0x401157: timecop_doit() (try.cpp:95)
179 ==10174== by 0x402020: main (try-anything.cpp:306)
180 ==10174==
181 ==10174== Use of uninitialised value of size 8
182 ==10174== at 0x40205B: main (try-anything.cpp:321)
183 ==10174== Uninitialised value was created by a stack allocation
184 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
185 ==10174==
186 ==10174== Use of uninitialised value of size 8
187 ==10174== at 0x402072: main (try-anything.cpp:322)
188 ==10174== Uninitialised value was created by a stack allocation
189 ==10174== at 0x409DC0: gftower<31u, 18u> const powpk<31u, 18u>(gftower<31u, 18u> const&, unsigned int) (tower.h:127)
190 ==10174==
191 ==10174==
192 ==10174== HEAP SUMMARY:
193 ==10174== in use at exit: 359,680 bytes in 10 blocks
194 ==10174== total heap usage: 19 allocs, 9 frees, 471,864 bytes allocated
195 ==10174==
196 ==10174== LEAK SUMMARY:
197 ==10174== definitely lost: 0 bytes in 0 blocks
198 ==10174== indirectly lost: 0 bytes in 0 blocks
199 ==10174== possibly lost: 359,680 bytes in 10 blocks
200 ==10174== still reachable: 0 bytes in 0 blocks
201 ==10174== suppressed: 0 bytes in 0 blocks
202 ==10174== Rerun with --leak-check=full to see details of leaked memory
203 ==10174==
204 ==10174== For lists of detected and suppressed errors, rerun with: -s
205 ==10174== ERROR SUMMARY: 17835 errors from 21 contexts (suppressed: 0 from 0)