Output save_alt Download

Operation
crypto_kem
Primitive
lotus128
Implementation
ref
Compiler options
clang -O1 -g
Host
venus
1 error 0
2 9e0eb39b281cf3177e78ad6e91091e92421deccf6f6974764f1b633f838b572c 358021029 28088101759 4300000000 crypto_kem/lotus128/ref
3 ==14714== Memcheck, a memory error detector
4 ==14714== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==14714== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==14714== Command: ./try
7 ==14714==
8 ==14714== Use of uninitialised value of size 8
9 ==14714== at 0x402FCE: sample_unit_discrete_gaussian (sampler.c:109)
10 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
11 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
12 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
13 ==14714== by 0x4010BE: timecop_doit (try.c:96)
14 ==14714== by 0x401BF0: main (try-anything.c:306)
15 ==14714== Uninitialised value was created by a stack allocation
16 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
17 ==14714==
18 ==14714== Conditional jump or move depends on uninitialised value(s)
19 ==14714== at 0x402FE2: sample_unit_discrete_gaussian (sampler.c:110)
20 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
21 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
22 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
23 ==14714== by 0x4010BE: timecop_doit (try.c:96)
24 ==14714== by 0x401BF0: main (try-anything.c:306)
25 ==14714== Uninitialised value was created by a stack allocation
26 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
27 ==14714==
28 ==14714== Use of uninitialised value of size 8
29 ==14714== at 0x402E91: extend_sign_with_random_bit (sampler.c:75)
30 ==14714== by 0x403005: sample_unit_discrete_gaussian (sampler.c:110)
31 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
32 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
33 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
34 ==14714== by 0x4010BE: timecop_doit (try.c:96)
35 ==14714== by 0x401BF0: main (try-anything.c:306)
36 ==14714== Uninitialised value was created by a stack allocation
37 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
38 ==14714==
39 ==14714== Conditional jump or move depends on uninitialised value(s)
40 ==14714== at 0x402F3C: sample_unit_discrete_gaussian (sampler.c:117)
41 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
42 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
43 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
44 ==14714== by 0x4010BE: timecop_doit (try.c:96)
45 ==14714== by 0x401BF0: main (try-anything.c:306)
46 ==14714== Uninitialised value was created by a stack allocation
47 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
48 ==14714==
49 ==14714== Conditional jump or move depends on uninitialised value(s)
50 ==14714== at 0x402EB3: scan_bit_and_output (sampler.c:87)
51 ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118)
52 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
53 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
54 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
55 ==14714== by 0x4010BE: timecop_doit (try.c:96)
56 ==14714== by 0x401BF0: main (try-anything.c:306)
57 ==14714== Uninitialised value was created by a stack allocation
58 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
59 ==14714==
60 ==14714== Conditional jump or move depends on uninitialised value(s)
61 ==14714== at 0x402ED0: scan_bit_and_output (sampler.c:87)
62 ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118)
63 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
64 ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71)
65 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
66 ==14714== by 0x4010BE: timecop_doit (try.c:96)
67 ==14714== by 0x401BF0: main (try-anything.c:306)
68 ==14714== Uninitialised value was created by a stack allocation
69 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
70 ==14714==
71 ==14714== Use of uninitialised value of size 8
72 ==14714== at 0x402FCE: sample_unit_discrete_gaussian (sampler.c:109)
73 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
74 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
75 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
76 ==14714== by 0x4010BE: timecop_doit (try.c:96)
77 ==14714== by 0x401BF0: main (try-anything.c:306)
78 ==14714== Uninitialised value was created by a stack allocation
79 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
80 ==14714==
81 ==14714== Conditional jump or move depends on uninitialised value(s)
82 ==14714== at 0x402FE2: sample_unit_discrete_gaussian (sampler.c:110)
83 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
84 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
85 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
86 ==14714== by 0x4010BE: timecop_doit (try.c:96)
87 ==14714== by 0x401BF0: main (try-anything.c:306)
88 ==14714== Uninitialised value was created by a stack allocation
89 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
90 ==14714==
91 ==14714== Use of uninitialised value of size 8
92 ==14714== at 0x402E91: extend_sign_with_random_bit (sampler.c:75)
93 ==14714== by 0x403005: sample_unit_discrete_gaussian (sampler.c:110)
94 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
95 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
96 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
97 ==14714== by 0x4010BE: timecop_doit (try.c:96)
98 ==14714== by 0x401BF0: main (try-anything.c:306)
99 ==14714== Uninitialised value was created by a stack allocation
100 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
101 ==14714==
102 ==14714== Conditional jump or move depends on uninitialised value(s)
103 ==14714== at 0x402F3C: sample_unit_discrete_gaussian (sampler.c:117)
104 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
105 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
106 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
107 ==14714== by 0x4010BE: timecop_doit (try.c:96)
108 ==14714== by 0x401BF0: main (try-anything.c:306)
109 ==14714== Uninitialised value was created by a stack allocation
110 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
111 ==14714==
112 ==14714== Conditional jump or move depends on uninitialised value(s)
113 ==14714== at 0x402EB3: scan_bit_and_output (sampler.c:87)
114 ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118)
115 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
116 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
117 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
118 ==14714== by 0x4010BE: timecop_doit (try.c:96)
119 ==14714== by 0x401BF0: main (try-anything.c:306)
120 ==14714== Uninitialised value was created by a stack allocation
121 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
122 ==14714==
123 ==14714== Conditional jump or move depends on uninitialised value(s)
124 ==14714== at 0x402ED0: scan_bit_and_output (sampler.c:87)
125 ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118)
126 ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176)
127 ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72)
128 ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127)
129 ==14714== by 0x4010BE: timecop_doit (try.c:96)
130 ==14714== by 0x401BF0: main (try-anything.c:306)
131 ==14714== Uninitialised value was created by a stack allocation
132 ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
133 ==14714==
134 ==14714== Use of uninitialised value of size 8
135 ==14714== at 0x4021F8: crypto_kem_lotus128_ref_dec (kem.c:141)
136 ==14714== by 0x4010BE: timecop_doit (try.c:96)
137 ==14714== by 0x401BF0: main (try-anything.c:306)
138 ==14714== Uninitialised value was created by a client request
139 ==14714== at 0x401024: timecop_doit (try.c:93)
140 ==14714== by 0x401BF0: main (try-anything.c:306)
141 ==14714==
142 ==14714==
143 ==14714== HEAP SUMMARY:
144 ==14714== in use at exit: 7,145,392 bytes in 12 blocks
145 ==14714== total heap usage: 42 allocs, 30 frees, 7,164,520 bytes allocated
146 ==14714==
147 ==14714== LEAK SUMMARY:
148 ==14714== definitely lost: 0 bytes in 0 blocks
149 ==14714== indirectly lost: 0 bytes in 0 blocks
150 ==14714== possibly lost: 7,144,960 bytes in 10 blocks
151 ==14714== still reachable: 432 bytes in 2 blocks
152 ==14714== suppressed: 0 bytes in 0 blocks
153 ==14714== Rerun with --leak-check=full to see details of leaked memory
154 ==14714==
155 ==14714== For lists of detected and suppressed errors, rerun with: -s
156 ==14714== ERROR SUMMARY: 7775 errors from 13 contexts (suppressed: 0 from 0)