Output save_alt Download

Operation
crypto_kem
Primitive
lotus128
Implementation
ref
Compiler options
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
Host
venus
1 error 0
2 9e0eb39b281cf3177e78ad6e91091e92421deccf6f6974764f1b633f838b572c 344600757 15042881009 4300000000 crypto_kem/lotus128/ref
3 ==15857== Memcheck, a memory error detector
4 ==15857== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==15857== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==15857== Command: ./try
7 ==15857==
8 ==15857== Use of uninitialised value of size 8
9 ==15857== at 0x10AF71: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
10 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
11 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
12 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
13 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
14 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
15 ==15857== Uninitialised value was created by a stack allocation
16 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
17 ==15857==
18 ==15857== Use of uninitialised value of size 8
19 ==15857== at 0x10AEF6: extend_sign_with_random_bit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
20 ==15857== by 0x10AFF9: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
21 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
22 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
23 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
24 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
25 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
26 ==15857== Uninitialised value was created by a stack allocation
27 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
28 ==15857==
29 ==15857== Conditional jump or move depends on uninitialised value(s)
30 ==15857== at 0x10AFA4: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
31 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
32 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
33 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
34 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
35 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
36 ==15857== Uninitialised value was created by a stack allocation
37 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
38 ==15857==
39 ==15857== Conditional jump or move depends on uninitialised value(s)
40 ==15857== at 0x10AF11: scan_bit_and_output (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
41 ==15857== by 0x10B005: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
42 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
43 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
44 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
45 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
46 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
47 ==15857== Uninitialised value was created by a stack allocation
48 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
49 ==15857==
50 ==15857== Use of uninitialised value of size 8
51 ==15857== at 0x10AEF6: extend_sign_with_random_bit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
52 ==15857== by 0x10B013: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
53 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
54 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
55 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
56 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
57 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
58 ==15857== Uninitialised value was created by a stack allocation
59 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
60 ==15857==
61 ==15857== Conditional jump or move depends on uninitialised value(s)
62 ==15857== at 0x10AF2A: scan_bit_and_output (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
63 ==15857== by 0x10B005: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
64 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
65 ==15857== by 0x10B1D6: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
66 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
67 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
68 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
69 ==15857== Uninitialised value was created by a stack allocation
70 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
71 ==15857==
72 ==15857== Use of uninitialised value of size 8
73 ==15857== at 0x10AF71: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
74 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
75 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
76 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
77 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
78 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
79 ==15857== Uninitialised value was created by a stack allocation
80 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
81 ==15857==
82 ==15857== Use of uninitialised value of size 8
83 ==15857== at 0x10AEF6: extend_sign_with_random_bit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
84 ==15857== by 0x10AFF9: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
85 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
86 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
87 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
88 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
89 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
90 ==15857== Uninitialised value was created by a stack allocation
91 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
92 ==15857==
93 ==15857== Conditional jump or move depends on uninitialised value(s)
94 ==15857== at 0x10AFA4: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
95 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
96 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
97 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
98 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
99 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
100 ==15857== Uninitialised value was created by a stack allocation
101 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
102 ==15857==
103 ==15857== Conditional jump or move depends on uninitialised value(s)
104 ==15857== at 0x10AF11: scan_bit_and_output (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
105 ==15857== by 0x10B005: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
106 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
107 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
108 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
109 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
110 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
111 ==15857== Uninitialised value was created by a stack allocation
112 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
113 ==15857==
114 ==15857== Use of uninitialised value of size 8
115 ==15857== at 0x10AEF6: extend_sign_with_random_bit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
116 ==15857== by 0x10B013: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
117 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
118 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
119 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
120 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
121 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
122 ==15857== Uninitialised value was created by a stack allocation
123 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
124 ==15857==
125 ==15857== Conditional jump or move depends on uninitialised value(s)
126 ==15857== at 0x10AF2A: scan_bit_and_output (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
127 ==15857== by 0x10B005: sample_unit_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
128 ==15857== by 0x10B11A: sample_discrete_gaussian (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
129 ==15857== by 0x10B1E3: lotus_cpa_pke_enc (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
130 ==15857== by 0x10A3D6: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
131 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
132 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
133 ==15857== Uninitialised value was created by a stack allocation
134 ==15857== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1)
135 ==15857==
136 ==15857== Use of uninitialised value of size 8
137 ==15857== at 0x10A466: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
138 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
139 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
140 ==15857== Uninitialised value was created by a client request
141 ==15857== at 0x1091AA: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
142 ==15857== by 0x10A064: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
143 ==15857==
144 ==15857== Use of uninitialised value of size 8
145 ==15857== at 0x10A466: crypto_kem_lotus128_ref_dec (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
146 ==15857== by 0x109259: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
147 ==15857== by 0x10A075: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
148 ==15857== Uninitialised value was created by a client request
149 ==15857== at 0x1091AA: timecop_doit (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
150 ==15857== by 0x10A075: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try)
151 ==15857==
152 ==15857==
153 ==15857== HEAP SUMMARY:
154 ==15857== in use at exit: 7,145,392 bytes in 12 blocks
155 ==15857== total heap usage: 42 allocs, 30 frees, 7,164,520 bytes allocated
156 ==15857==
157 ==15857== LEAK SUMMARY:
158 ==15857== definitely lost: 0 bytes in 0 blocks
159 ==15857== indirectly lost: 0 bytes in 0 blocks
160 ==15857== possibly lost: 7,144,960 bytes in 10 blocks
161 ==15857== still reachable: 432 bytes in 2 blocks
162 ==15857== suppressed: 0 bytes in 0 blocks
163 ==15857== Rerun with --leak-check=full to see details of leaked memory
164 ==15857==
165 ==15857== For lists of detected and suppressed errors, rerun with: -s
166 ==15857== ERROR SUMMARY: 5215 errors from 14 contexts (suppressed: 0 from 0)