Output save_alt Download

Operation
crypto_encrypt
Primitive
lotus256
Implementation
opt
Compiler options
clang -O1 -g
Host
venus
1 error 0
2 ==8512== Memcheck, a memory error detector
3 ==8512== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
4 ==8512== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
5 ==8512== Command: ./try
6 ==8512==
7 ==8512== Warning: client switching stacks? SP change: 0x1ffeffff28 --> 0x1ffedddf18
8 ==8512== to suppress, use: --max-stackframe=2236432 or greater
9 ==8512== Invalid write of size 8
10 ==8512== at 0x402246: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
11 ==8512== Address 0x1ffedddf18 is on thread 1's stack
12 ==8512==
13 ==8512== Invalid write of size 2
14 ==8512== at 0x4029B7: unpack_128elems (pack.c:84)
15 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
16 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
17 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
18 ==8512== by 0x401383: test (try.c:108)
19 ==8512== by 0x401EB2: main (try-anything.c:295)
20 ==8512== Address 0x1ffee45f20 is on thread 1's stack
21 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
22 ==8512==
23 ==8512== Invalid write of size 2
24 ==8512== at 0x4029D8: unpack_128elems (pack.c:85)
25 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
26 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
27 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
28 ==8512== by 0x401383: test (try.c:108)
29 ==8512== by 0x401EB2: main (try-anything.c:295)
30 ==8512== Address 0x1ffee45f40 is on thread 1's stack
31 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
32 ==8512==
33 ==8512== Invalid write of size 2
34 ==8512== at 0x4029F8: unpack_128elems (pack.c:86)
35 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
36 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
37 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
38 ==8512== by 0x401383: test (try.c:108)
39 ==8512== by 0x401EB2: main (try-anything.c:295)
40 ==8512== Address 0x1ffee45f60 is on thread 1's stack
41 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
42 ==8512==
43 ==8512== Invalid write of size 2
44 ==8512== at 0x402A18: unpack_128elems (pack.c:87)
45 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
46 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
47 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
48 ==8512== by 0x401383: test (try.c:108)
49 ==8512== by 0x401EB2: main (try-anything.c:295)
50 ==8512== Address 0x1ffee45f80 is on thread 1's stack
51 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
52 ==8512==
53 ==8512== Invalid write of size 2
54 ==8512== at 0x402A3B: unpack_128elems (pack.c:88)
55 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
56 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
57 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
58 ==8512== by 0x401383: test (try.c:108)
59 ==8512== by 0x401EB2: main (try-anything.c:295)
60 ==8512== Address 0x1ffee45fa0 is on thread 1's stack
61 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
62 ==8512==
63 ==8512== Invalid write of size 2
64 ==8512== at 0x402A6B: unpack_128elems (pack.c:89)
65 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
66 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
67 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
68 ==8512== by 0x401383: test (try.c:108)
69 ==8512== by 0x401EB2: main (try-anything.c:295)
70 ==8512== Address 0x1ffee45fc0 is on thread 1's stack
71 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
72 ==8512==
73 ==8512== Invalid write of size 2
74 ==8512== at 0x402AC2: unpack_128elems (pack.c:90)
75 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
76 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
77 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
78 ==8512== by 0x401383: test (try.c:108)
79 ==8512== by 0x401EB2: main (try-anything.c:295)
80 ==8512== Address 0x1ffee45fe0 is on thread 1's stack
81 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
82 ==8512==
83 ==8512== Invalid write of size 2
84 ==8512== at 0x402B0E: unpack_128elems (pack.c:95)
85 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
86 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
87 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
88 ==8512== by 0x401383: test (try.c:108)
89 ==8512== by 0x401EB2: main (try-anything.c:295)
90 ==8512== Address 0x1ffee46000 is on thread 1's stack
91 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
92 ==8512==
93 ==8512== Invalid write of size 2
94 ==8512== at 0x402B5E: unpack_128elems (pack.c:98)
95 ==8512== by 0x40339C: sample_uniform (sampler.c:163)
96 ==8512== by 0x403456: lotus_cpa_pke_keypair (cpa-pke_opt.c:50)
97 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
98 ==8512== by 0x401383: test (try.c:108)
99 ==8512== by 0x401EB2: main (try-anything.c:295)
100 ==8512== Address 0x1ffee46010 is on thread 1's stack
101 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
102 ==8512==
103 ==8512== Invalid write of size 2
104 ==8512== at 0x4033FB: sample_discrete_gaussian (sampler.c:176)
105 ==8512== by 0x40346A: lotus_cpa_pke_keypair (cpa-pke_opt.c:54)
106 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
107 ==8512== by 0x401383: test (try.c:108)
108 ==8512== by 0x401EB2: main (try-anything.c:295)
109 ==8512== Address 0x1ffedddf20 is on thread 1's stack
110 ==8512== in frame #2, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
111 ==8512==
112 ==8512== Invalid write of size 2
113 ==8512== at 0x4033FB: sample_discrete_gaussian (sampler.c:176)
114 ==8512== by 0x40347F: lotus_cpa_pke_keypair (cpa-pke_opt.c:55)
115 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
116 ==8512== by 0x401383: test (try.c:108)
117 ==8512== by 0x401EB2: main (try-anything.c:295)
118 ==8512== Address 0x1ffef97f20 is on thread 1's stack
119 ==8512== in frame #2, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
120 ==8512==
121 ==8512== Warning: client switching stacks? SP change: 0x1ffeddde98 --> 0x1ffeb33680
122 ==8512== to suppress, use: --max-stackframe=2795544 or greater
123 ==8512== Invalid write of size 8
124 ==8512== at 0x403A97: submul (lwe-arithmetics_opt.c:38)
125 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
126 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
127 ==8512== by 0x401383: test (try.c:108)
128 ==8512== by 0x401EB2: main (try-anything.c:295)
129 ==8512== Address 0x1ffeb33688 is on thread 1's stack
130 ==8512== in frame #0, created by submul (lwe-arithmetics_opt.c:29)
131 ==8512==
132 ==8512== Invalid write of size 8
133 ==8512== at 0x403AA4: submul (lwe-arithmetics_opt.c:38)
134 ==8512== by 0x4052AF: osfreq (osfreq.c:93)
135 ==8512== Address 0x1ffeb33678 is on thread 1's stack
136 ==8512== in frame #0, created by submul (lwe-arithmetics_opt.c:29)
137 ==8512==
138 ==8512== Invalid read of size 2
139 ==8512== at 0x403CC0: distribute_2x2_nn (lwe-arithmetics_opt.c:219)
140 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
141 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
142 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
143 ==8512== by 0x401383: test (try.c:108)
144 ==8512== by 0x401EB2: main (try-anything.c:295)
145 ==8512== Address 0x1ffee45f20 is on thread 1's stack
146 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
147 ==8512==
148 ==8512== Invalid write of size 2
149 ==8512== at 0x403CC4: distribute_2x2_nn (lwe-arithmetics_opt.c:219)
150 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
151 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
152 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
153 ==8512== by 0x401383: test (try.c:108)
154 ==8512== by 0x401EB2: main (try-anything.c:295)
155 ==8512== Address 0x1ffec03690 is on thread 1's stack
156 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
157 ==8512==
158 ==8512== Invalid read of size 2
159 ==8512== at 0x403CD8: distribute_2x2_nn (lwe-arithmetics_opt.c:219)
160 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
161 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
162 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
163 ==8512== by 0x401383: test (try.c:108)
164 ==8512== by 0x401EB2: main (try-anything.c:295)
165 ==8512== Address 0x1ffee45f24 is on thread 1's stack
166 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
167 ==8512==
168 ==8512== Invalid read of size 2
169 ==8512== at 0x403CE0: distribute_2x2_nn (lwe-arithmetics_opt.c:221)
170 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
171 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
172 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
173 ==8512== by 0x401383: test (try.c:108)
174 ==8512== by 0x401EB2: main (try-anything.c:295)
175 ==8512== Address 0x1ffee46260 is on thread 1's stack
176 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
177 ==8512==
178 ==8512== Invalid write of size 2
179 ==8512== at 0x403CE8: distribute_2x2_nn (lwe-arithmetics_opt.c:221)
180 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
181 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
182 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
183 ==8512== by 0x401383: test (try.c:108)
184 ==8512== by 0x401EB2: main (try-anything.c:295)
185 ==8512== Address 0x1ffec57e90 is on thread 1's stack
186 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
187 ==8512==
188 ==8512== Invalid read of size 2
189 ==8512== at 0x403CF7: distribute_2x2_nn (lwe-arithmetics_opt.c:221)
190 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
191 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
192 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
193 ==8512== by 0x401383: test (try.c:108)
194 ==8512== by 0x401EB2: main (try-anything.c:295)
195 ==8512== Address 0x1ffee46264 is on thread 1's stack
196 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
197 ==8512==
198 ==8512== Invalid read of size 2
199 ==8512== at 0x403D50: distribute_2x2_nn (lwe-arithmetics_opt.c:225)
200 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
201 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
202 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
203 ==8512== by 0x401383: test (try.c:108)
204 ==8512== by 0x401EB2: main (try-anything.c:295)
205 ==8512== Address 0x1ffeeeef20 is on thread 1's stack
206 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
207 ==8512==
208 ==8512== Invalid write of size 2
209 ==8512== at 0x403D55: distribute_2x2_nn (lwe-arithmetics_opt.c:225)
210 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
211 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
212 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
213 ==8512== by 0x401383: test (try.c:108)
214 ==8512== by 0x401EB2: main (try-anything.c:295)
215 ==8512== Address 0x1ffecac690 is on thread 1's stack
216 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
217 ==8512==
218 ==8512== Invalid read of size 2
219 ==8512== at 0x403D62: distribute_2x2_nn (lwe-arithmetics_opt.c:225)
220 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
221 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
222 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
223 ==8512== by 0x401383: test (try.c:108)
224 ==8512== by 0x401EB2: main (try-anything.c:295)
225 ==8512== Address 0x1ffeeeef24 is on thread 1's stack
226 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
227 ==8512==
228 ==8512== Invalid read of size 2
229 ==8512== at 0x403D70: distribute_2x2_nn (lwe-arithmetics_opt.c:227)
230 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
231 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
232 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
233 ==8512== by 0x401383: test (try.c:108)
234 ==8512== by 0x401EB2: main (try-anything.c:295)
235 ==8512== Address 0x1ffeeef260 is on thread 1's stack
236 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
237 ==8512==
238 ==8512== Invalid write of size 2
239 ==8512== at 0x403D73: distribute_2x2_nn (lwe-arithmetics_opt.c:227)
240 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
241 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
242 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
243 ==8512== by 0x401383: test (try.c:108)
244 ==8512== by 0x401EB2: main (try-anything.c:295)
245 ==8512== Address 0x1ffed00e90 is on thread 1's stack
246 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
247 ==8512==
248 ==8512== Invalid read of size 2
249 ==8512== at 0x403D86: distribute_2x2_nn (lwe-arithmetics_opt.c:227)
250 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
251 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
252 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
253 ==8512== by 0x401383: test (try.c:108)
254 ==8512== by 0x401EB2: main (try-anything.c:295)
255 ==8512== Address 0x1ffeeef264 is on thread 1's stack
256 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
257 ==8512==
258 ==8512== Invalid read of size 8
259 ==8512== at 0x403DB0: distribute_2x2_nn (lwe-arithmetics_opt.c:230)
260 ==8512== by 0x403AA8: submul (lwe-arithmetics_opt.c:38)
261 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
262 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
263 ==8512== by 0x401383: test (try.c:108)
264 ==8512== by 0x401EB2: main (try-anything.c:295)
265 ==8512== Address 0x1ffeb33678 is on thread 1's stack
266 ==8512== in frame #0, created by distribute_2x2_nn (lwe-arithmetics_opt.c:215)
267 ==8512==
268 ==8512== Invalid read of size 2
269 ==8512== at 0x403DF0: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
270 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
271 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
272 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
273 ==8512== by 0x401383: test (try.c:108)
274 ==8512== by 0x401EB2: main (try-anything.c:295)
275 ==8512== Address 0x1ffedddf20 is on thread 1's stack
276 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
277 ==8512==
278 ==8512== Invalid write of size 2
279 ==8512== at 0x403DF4: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
280 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
281 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
282 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
283 ==8512== by 0x401383: test (try.c:108)
284 ==8512== by 0x401EB2: main (try-anything.c:295)
285 ==8512== Address 0x1ffeb9b690 is on thread 1's stack
286 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
287 ==8512==
288 ==8512== Invalid read of size 2
289 ==8512== at 0x403E08: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
290 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
291 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
292 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
293 ==8512== by 0x401383: test (try.c:108)
294 ==8512== by 0x401EB2: main (try-anything.c:295)
295 ==8512== Address 0x1ffedddf24 is on thread 1's stack
296 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
297 ==8512==
298 ==8512== Invalid read of size 2
299 ==8512== at 0x403E10: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
300 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
301 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
302 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
303 ==8512== by 0x401383: test (try.c:108)
304 ==8512== by 0x401EB2: main (try-anything.c:295)
305 ==8512== Address 0x1ffedde020 is on thread 1's stack
306 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
307 ==8512==
308 ==8512== Invalid write of size 2
309 ==8512== at 0x403E18: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
310 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
311 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
312 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
313 ==8512== by 0x401383: test (try.c:108)
314 ==8512== by 0x401EB2: main (try-anything.c:295)
315 ==8512== Address 0x1ffebb5690 is on thread 1's stack
316 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
317 ==8512==
318 ==8512== Invalid read of size 2
319 ==8512== at 0x403E27: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
320 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
321 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
322 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
323 ==8512== by 0x401383: test (try.c:108)
324 ==8512== by 0x401EB2: main (try-anything.c:295)
325 ==8512== Address 0x1ffedde024 is on thread 1's stack
326 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
327 ==8512==
328 ==8512== Invalid read of size 2
329 ==8512== at 0x403E80: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
330 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
331 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
332 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
333 ==8512== by 0x401383: test (try.c:108)
334 ==8512== by 0x401EB2: main (try-anything.c:295)
335 ==8512== Address 0x1ffee11f20 is on thread 1's stack
336 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
337 ==8512==
338 ==8512== Invalid write of size 2
339 ==8512== at 0x403E85: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
340 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
341 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
342 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
343 ==8512== by 0x401383: test (try.c:108)
344 ==8512== by 0x401EB2: main (try-anything.c:295)
345 ==8512== Address 0x1ffebcf690 is on thread 1's stack
346 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
347 ==8512==
348 ==8512== Invalid read of size 2
349 ==8512== at 0x403E92: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
350 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
351 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
352 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
353 ==8512== by 0x401383: test (try.c:108)
354 ==8512== by 0x401EB2: main (try-anything.c:295)
355 ==8512== Address 0x1ffee11f24 is on thread 1's stack
356 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
357 ==8512==
358 ==8512== Invalid read of size 2
359 ==8512== at 0x403EA0: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
360 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
361 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
362 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
363 ==8512== by 0x401383: test (try.c:108)
364 ==8512== by 0x401EB2: main (try-anything.c:295)
365 ==8512== Address 0x1ffee12020 is on thread 1's stack
366 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
367 ==8512==
368 ==8512== Invalid write of size 2
369 ==8512== at 0x403EA3: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
370 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
371 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
372 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
373 ==8512== by 0x401383: test (try.c:108)
374 ==8512== by 0x401EB2: main (try-anything.c:295)
375 ==8512== Address 0x1ffebe9690 is on thread 1's stack
376 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
377 ==8512==
378 ==8512== Invalid read of size 2
379 ==8512== at 0x403EB6: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
380 ==8512== by 0x403ABB: submul (lwe-arithmetics_opt.c:39)
381 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
382 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
383 ==8512== by 0x401383: test (try.c:108)
384 ==8512== by 0x401EB2: main (try-anything.c:295)
385 ==8512== Address 0x1ffee12024 is on thread 1's stack
386 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
387 ==8512==
388 ==8512== Invalid read of size 2
389 ==8512== at 0x403DF0: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
390 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
391 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
392 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
393 ==8512== by 0x401383: test (try.c:108)
394 ==8512== by 0x401EB2: main (try-anything.c:295)
395 ==8512== Address 0x1ffef97f20 is on thread 1's stack
396 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
397 ==8512==
398 ==8512== Invalid write of size 2
399 ==8512== at 0x403DF4: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
400 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
401 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
402 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
403 ==8512== by 0x401383: test (try.c:108)
404 ==8512== by 0x401EB2: main (try-anything.c:295)
405 ==8512== Address 0x1ffeb33690 is on thread 1's stack
406 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
407 ==8512==
408 ==8512== Invalid read of size 2
409 ==8512== at 0x403E08: distribute_2x2_nl (lwe-arithmetics_opt.c:243)
410 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
411 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
412 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
413 ==8512== by 0x401383: test (try.c:108)
414 ==8512== by 0x401EB2: main (try-anything.c:295)
415 ==8512== Address 0x1ffef97f24 is on thread 1's stack
416 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
417 ==8512==
418 ==8512== Invalid read of size 2
419 ==8512== at 0x403E10: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
420 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
421 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
422 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
423 ==8512== by 0x401383: test (try.c:108)
424 ==8512== by 0x401EB2: main (try-anything.c:295)
425 ==8512== Address 0x1ffef98020 is on thread 1's stack
426 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
427 ==8512==
428 ==8512== Invalid write of size 2
429 ==8512== at 0x403E18: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
430 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
431 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
432 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
433 ==8512== by 0x401383: test (try.c:108)
434 ==8512== by 0x401EB2: main (try-anything.c:295)
435 ==8512== Address 0x1ffeb4d690 is on thread 1's stack
436 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
437 ==8512==
438 ==8512== Invalid read of size 2
439 ==8512== at 0x403E27: distribute_2x2_nl (lwe-arithmetics_opt.c:245)
440 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
441 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
442 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
443 ==8512== by 0x401383: test (try.c:108)
444 ==8512== by 0x401EB2: main (try-anything.c:295)
445 ==8512== Address 0x1ffef98024 is on thread 1's stack
446 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
447 ==8512==
448 ==8512== Invalid read of size 2
449 ==8512== at 0x403E80: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
450 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
451 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
452 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
453 ==8512== by 0x401383: test (try.c:108)
454 ==8512== by 0x401EB2: main (try-anything.c:295)
455 ==8512== Address 0x1ffefcbf20 is on thread 1's stack
456 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
457 ==8512==
458 ==8512== Invalid write of size 2
459 ==8512== at 0x403E85: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
460 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
461 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
462 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
463 ==8512== by 0x401383: test (try.c:108)
464 ==8512== by 0x401EB2: main (try-anything.c:295)
465 ==8512== Address 0x1ffeb67690 is on thread 1's stack
466 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
467 ==8512==
468 ==8512== Invalid read of size 2
469 ==8512== at 0x403E92: distribute_2x2_nl (lwe-arithmetics_opt.c:249)
470 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
471 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
472 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
473 ==8512== by 0x401383: test (try.c:108)
474 ==8512== by 0x401EB2: main (try-anything.c:295)
475 ==8512== Address 0x1ffefcbf24 is on thread 1's stack
476 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
477 ==8512==
478 ==8512== Invalid read of size 2
479 ==8512== at 0x403EA0: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
480 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
481 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
482 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
483 ==8512== by 0x401383: test (try.c:108)
484 ==8512== by 0x401EB2: main (try-anything.c:295)
485 ==8512== Address 0x1ffefcc020 is on thread 1's stack
486 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
487 ==8512==
488 ==8512== Invalid write of size 2
489 ==8512== at 0x403EA3: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
490 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
491 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
492 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
493 ==8512== by 0x401383: test (try.c:108)
494 ==8512== by 0x401EB2: main (try-anything.c:295)
495 ==8512== Address 0x1ffeb81690 is on thread 1's stack
496 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
497 ==8512==
498 ==8512== Invalid read of size 2
499 ==8512== at 0x403EB6: distribute_2x2_nl (lwe-arithmetics_opt.c:251)
500 ==8512== by 0x403ACB: submul (lwe-arithmetics_opt.c:40)
501 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
502 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
503 ==8512== by 0x401383: test (try.c:108)
504 ==8512== by 0x401EB2: main (try-anything.c:295)
505 ==8512== Address 0x1ffefcc024 is on thread 1's stack
506 ==8512== in frame #3, created by crypto_encrypt_lotus256_opt_keypair (encrypt.c:27)
507 ==8512==
508 ==8512== Invalid read of size 2
509 ==8512== at 0x403F00: submat_add_nn (lwe-arithmetics_opt.c:121)
510 ==8512== by 0x403AEB: submul (lwe-arithmetics_opt.c:42)
511 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
512 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
513 ==8512== by 0x401383: test (try.c:108)
514 ==8512== by 0x401EB2: main (try-anything.c:295)
515 ==8512== Address 0x1ffed00e90 is on thread 1's stack
516 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
517 ==8512==
518 ==8512== Invalid read of size 2
519 ==8512== at 0x403F04: submat_add_nn (lwe-arithmetics_opt.c:121)
520 ==8512== by 0x403AEB: submul (lwe-arithmetics_opt.c:42)
521 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
522 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
523 ==8512== by 0x401383: test (try.c:108)
524 ==8512== by 0x401EB2: main (try-anything.c:295)
525 ==8512== Address 0x1ffecac690 is on thread 1's stack
526 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
527 ==8512==
528 ==8512== Invalid write of size 2
529 ==8512== at 0x403F08: submat_add_nn (lwe-arithmetics_opt.c:121)
530 ==8512== by 0x403AEB: submul (lwe-arithmetics_opt.c:42)
531 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
532 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
533 ==8512== by 0x401383: test (try.c:108)
534 ==8512== by 0x401EB2: main (try-anything.c:295)
535 ==8512== Address 0x1ffed89690 is on thread 1's stack
536 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
537 ==8512==
538 ==8512== Invalid read of size 2
539 ==8512== at 0x403F15: submat_add_nn (lwe-arithmetics_opt.c:121)
540 ==8512== by 0x403AEB: submul (lwe-arithmetics_opt.c:42)
541 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
542 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
543 ==8512== by 0x401383: test (try.c:108)
544 ==8512== by 0x401EB2: main (try-anything.c:295)
545 ==8512== Address 0x1ffed00e94 is on thread 1's stack
546 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
547 ==8512==
548 ==8512== Invalid read of size 2
549 ==8512== at 0x403F30: submat_sub_nl (lwe-arithmetics_opt.c:145)
550 ==8512== by 0x403B06: submul (lwe-arithmetics_opt.c:43)
551 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
552 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
553 ==8512== by 0x401383: test (try.c:108)
554 ==8512== by 0x401EB2: main (try-anything.c:295)
555 ==8512== Address 0x1ffebb5690 is on thread 1's stack
556 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
557 ==8512==
558 ==8512== Invalid read of size 2
559 ==8512== at 0x403F34: submat_sub_nl (lwe-arithmetics_opt.c:145)
560 ==8512== by 0x403B06: submul (lwe-arithmetics_opt.c:43)
561 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
562 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
563 ==8512== by 0x401383: test (try.c:108)
564 ==8512== by 0x401EB2: main (try-anything.c:295)
565 ==8512== Address 0x1ffeb9b690 is on thread 1's stack
566 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
567 ==8512==
568 ==8512== Invalid write of size 2
569 ==8512== at 0x403F38: submat_sub_nl (lwe-arithmetics_opt.c:145)
570 ==8512== by 0x403B06: submul (lwe-arithmetics_opt.c:43)
571 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
572 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
573 ==8512== by 0x401383: test (try.c:108)
574 ==8512== by 0x401EB2: main (try-anything.c:295)
575 ==8512== Address 0x1ffed6f690 is on thread 1's stack
576 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
577 ==8512==
578 ==8512== Invalid read of size 2
579 ==8512== at 0x403F45: submat_sub_nl (lwe-arithmetics_opt.c:145)
580 ==8512== by 0x403B06: submul (lwe-arithmetics_opt.c:43)
581 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
582 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
583 ==8512== by 0x401383: test (try.c:108)
584 ==8512== by 0x401EB2: main (try-anything.c:295)
585 ==8512== Address 0x1ffebb5694 is on thread 1's stack
586 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
587 ==8512==
588 ==8512== Invalid write of size 8
589 ==8512== at 0x403F67: submat_negmul (lwe-arithmetics_opt.c:156)
590 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
591 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
592 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
593 ==8512== by 0x401383: test (try.c:108)
594 ==8512== by 0x401EB2: main (try-anything.c:295)
595 ==8512== Address 0x1ffed55780 is on thread 1's stack
596 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
597 ==8512==
598 ==8512== Invalid write of size 8
599 ==8512== at 0x403F6F: submat_negmul (lwe-arithmetics_opt.c:156)
600 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
601 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
602 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
603 ==8512== by 0x401383: test (try.c:108)
604 ==8512== by 0x401EB2: main (try-anything.c:295)
605 ==8512== Address 0x1ffed55770 is on thread 1's stack
606 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
607 ==8512==
608 ==8512== Invalid write of size 8
609 ==8512== at 0x403F77: submat_negmul (lwe-arithmetics_opt.c:156)
610 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
611 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
612 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
613 ==8512== by 0x401383: test (try.c:108)
614 ==8512== by 0x401EB2: main (try-anything.c:295)
615 ==8512== Address 0x1ffed55760 is on thread 1's stack
616 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
617 ==8512==
618 ==8512== Invalid write of size 8
619 ==8512== at 0x403F7F: submat_negmul (lwe-arithmetics_opt.c:156)
620 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
621 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
622 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
623 ==8512== by 0x401383: test (try.c:108)
624 ==8512== by 0x401EB2: main (try-anything.c:295)
625 ==8512== Address 0x1ffed55750 is on thread 1's stack
626 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
627 ==8512==
628 ==8512== Invalid write of size 8
629 ==8512== at 0x403F87: submat_negmul (lwe-arithmetics_opt.c:156)
630 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
631 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
632 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
633 ==8512== by 0x401383: test (try.c:108)
634 ==8512== by 0x401EB2: main (try-anything.c:295)
635 ==8512== Address 0x1ffed55740 is on thread 1's stack
636 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
637 ==8512==
638 ==8512== Invalid write of size 8
639 ==8512== at 0x403F8F: submat_negmul (lwe-arithmetics_opt.c:156)
640 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
641 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
642 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
643 ==8512== by 0x401383: test (try.c:108)
644 ==8512== by 0x401EB2: main (try-anything.c:295)
645 ==8512== Address 0x1ffed55730 is on thread 1's stack
646 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
647 ==8512==
648 ==8512== Invalid write of size 8
649 ==8512== at 0x403F97: submat_negmul (lwe-arithmetics_opt.c:156)
650 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
651 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
652 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
653 ==8512== by 0x401383: test (try.c:108)
654 ==8512== by 0x401EB2: main (try-anything.c:295)
655 ==8512== Address 0x1ffed55720 is on thread 1's stack
656 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
657 ==8512==
658 ==8512== Invalid write of size 8
659 ==8512== at 0x403F9F: submat_negmul (lwe-arithmetics_opt.c:156)
660 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
661 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
662 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
663 ==8512== by 0x401383: test (try.c:108)
664 ==8512== by 0x401EB2: main (try-anything.c:295)
665 ==8512== Address 0x1ffed55710 is on thread 1's stack
666 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
667 ==8512==
668 ==8512== Invalid write of size 8
669 ==8512== at 0x403FA7: submat_negmul (lwe-arithmetics_opt.c:156)
670 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
671 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
672 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
673 ==8512== by 0x401383: test (try.c:108)
674 ==8512== by 0x401EB2: main (try-anything.c:295)
675 ==8512== Address 0x1ffed55700 is on thread 1's stack
676 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
677 ==8512==
678 ==8512== Invalid write of size 8
679 ==8512== at 0x403FAC: submat_negmul (lwe-arithmetics_opt.c:156)
680 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
681 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
682 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
683 ==8512== by 0x401383: test (try.c:108)
684 ==8512== by 0x401EB2: main (try-anything.c:295)
685 ==8512== Address 0x1ffed556f0 is on thread 1's stack
686 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
687 ==8512==
688 ==8512== Invalid write of size 8
689 ==8512== at 0x403FB1: submat_negmul (lwe-arithmetics_opt.c:156)
690 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
691 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
692 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
693 ==8512== by 0x401383: test (try.c:108)
694 ==8512== by 0x401EB2: main (try-anything.c:295)
695 ==8512== Address 0x1ffed556e0 is on thread 1's stack
696 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
697 ==8512==
698 ==8512== Invalid write of size 8
699 ==8512== at 0x403FB6: submat_negmul (lwe-arithmetics_opt.c:156)
700 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
701 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
702 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
703 ==8512== by 0x401383: test (try.c:108)
704 ==8512== by 0x401EB2: main (try-anything.c:295)
705 ==8512== Address 0x1ffed556d0 is on thread 1's stack
706 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
707 ==8512==
708 ==8512== Invalid write of size 8
709 ==8512== at 0x403FBB: submat_negmul (lwe-arithmetics_opt.c:156)
710 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
711 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
712 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
713 ==8512== by 0x401383: test (try.c:108)
714 ==8512== by 0x401EB2: main (try-anything.c:295)
715 ==8512== Address 0x1ffed556c0 is on thread 1's stack
716 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
717 ==8512==
718 ==8512== Invalid write of size 8
719 ==8512== at 0x403FC0: submat_negmul (lwe-arithmetics_opt.c:156)
720 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
721 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
722 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
723 ==8512== by 0x401383: test (try.c:108)
724 ==8512== by 0x401EB2: main (try-anything.c:295)
725 ==8512== Address 0x1ffed556b0 is on thread 1's stack
726 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
727 ==8512==
728 ==8512== Invalid write of size 8
729 ==8512== at 0x403FC5: submat_negmul (lwe-arithmetics_opt.c:156)
730 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
731 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
732 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
733 ==8512== by 0x401383: test (try.c:108)
734 ==8512== by 0x401EB2: main (try-anything.c:295)
735 ==8512== Address 0x1ffed556a0 is on thread 1's stack
736 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
737 ==8512==
738 ==8512== Invalid write of size 8
739 ==8512== at 0x403FCA: submat_negmul (lwe-arithmetics_opt.c:156)
740 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
741 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
742 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
743 ==8512== by 0x401383: test (try.c:108)
744 ==8512== by 0x401EB2: main (try-anything.c:295)
745 ==8512== Address 0x1ffed55690 is on thread 1's stack
746 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
747 ==8512==
748 ==8512== Invalid read of size 2
749 ==8512== at 0x403FF0: submat_negmul (lwe-arithmetics_opt.c:160)
750 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
751 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
752 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
753 ==8512== by 0x401383: test (try.c:108)
754 ==8512== by 0x401EB2: main (try-anything.c:295)
755 ==8512== Address 0x1ffed6f690 is on thread 1's stack
756 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
757 ==8512==
758 ==8512== Invalid read of size 2
759 ==8512== at 0x403FF5: submat_negmul (lwe-arithmetics_opt.c:160)
760 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
761 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
762 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
763 ==8512== by 0x401383: test (try.c:108)
764 ==8512== by 0x401EB2: main (try-anything.c:295)
765 ==8512== Address 0x1ffed89690 is on thread 1's stack
766 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
767 ==8512==
768 ==8512== Invalid read of size 2
769 ==8512== at 0x403FFB: submat_negmul (lwe-arithmetics_opt.c:160)
770 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
771 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
772 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
773 ==8512== by 0x401383: test (try.c:108)
774 ==8512== by 0x401EB2: main (try-anything.c:295)
775 ==8512== Address 0x1ffed55690 is on thread 1's stack
776 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
777 ==8512==
778 ==8512== Invalid read of size 2
779 ==8512== at 0x404009: submat_negmul (lwe-arithmetics_opt.c:159)
780 ==8512== by 0x403B1C: submul (lwe-arithmetics_opt.c:44)
781 ==8512== by 0x40348D: lotus_cpa_pke_keypair (cpa-pke_opt.c:57)
782 ==8512== by 0x40224A: crypto_encrypt_lotus256_opt_keypair (encrypt.c:32)
783 ==8512== by 0x401383: test (try.c:108)
784 ==8512== by 0x401EB2: main (try-anything.c:295)
785 ==8512== Address 0x1ffed6f694 is on thread 1's stack
786 ==8512== in frame #1, created by submul (lwe-arithmetics_opt.c:29)
787 ==8512==
788 ==8512==
789 ==8512== More than 10000000 total errors detected. I'm not reporting any more.
790 ==8512== Final error counts will be inaccurate. Go fix your program!
791 ==8512== Rerun with --error-limit=no to disable this cutoff. Note
792 ==8512== that errors may occur in your program without prior warning from
793 ==8512== Valgrind, because errors are no longer being displayed.
794 ==8512==
795 ==8512== Warning: client switching stacks? SP change: 0x1ffeb33680 --> 0x1ffeddde98
796 ==8512== to suppress, use: --max-stackframe=2795544 or greater
797 ==8512== further instances of this message will not be shown.
798 Alarm clock
799 ==8512==
800 ==8512== Process terminating with default action of signal 15 (SIGTERM)
801 ==8512== at 0x4029F0: unpack_128elems (pack.c:86)
802 ==8512== by 0x40352A: lotus_cpa_pke_enc_packed (cpa-pke_opt.c:78)
803 ==8512== by 0x40238E: crypto_encrypt_lotus256_opt (encrypt.c:78)
804 ==8512== by 0x401279: timecop_doit (try.c:93)
805 ==8512== by 0x401F10: main (try-anything.c:306)
806 ==8512==
807 ==8512== HEAP SUMMARY:
808 ==8512== in use at exit: 16,376,984 bytes in 2,081 blocks
809 ==8512== total heap usage: 20,469 allocs, 18,388 frees, 25,345,121 bytes allocated
810 ==8512==