error 0 9e0eb39b281cf3177e78ad6e91091e92421deccf6f6974764f1b633f838b572c 358021029 28088101759 4300000000 crypto_kem/lotus128/ref ==14714== Memcheck, a memory error detector ==14714== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==14714== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info ==14714== Command: ./try ==14714== ==14714== Use of uninitialised value of size 8 ==14714== at 0x402FCE: sample_unit_discrete_gaussian (sampler.c:109) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402FE2: sample_unit_discrete_gaussian (sampler.c:110) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Use of uninitialised value of size 8 ==14714== at 0x402E91: extend_sign_with_random_bit (sampler.c:75) ==14714== by 0x403005: sample_unit_discrete_gaussian (sampler.c:110) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402F3C: sample_unit_discrete_gaussian (sampler.c:117) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402EB3: scan_bit_and_output (sampler.c:87) ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402ED0: scan_bit_and_output (sampler.c:87) ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x4031F7: lotus_cpa_pke_enc (cpa-pke.c:71) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Use of uninitialised value of size 8 ==14714== at 0x402FCE: sample_unit_discrete_gaussian (sampler.c:109) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402FE2: sample_unit_discrete_gaussian (sampler.c:110) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Use of uninitialised value of size 8 ==14714== at 0x402E91: extend_sign_with_random_bit (sampler.c:75) ==14714== by 0x403005: sample_unit_discrete_gaussian (sampler.c:110) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402F3C: sample_unit_discrete_gaussian (sampler.c:117) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402EB3: scan_bit_and_output (sampler.c:87) ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Conditional jump or move depends on uninitialised value(s) ==14714== at 0x402ED0: scan_bit_and_output (sampler.c:87) ==14714== by 0x402FF7: sample_unit_discrete_gaussian (sampler.c:118) ==14714== by 0x40311A: sample_discrete_gaussian (sampler.c:176) ==14714== by 0x403204: lotus_cpa_pke_enc (cpa-pke.c:72) ==14714== by 0x40216F: crypto_kem_lotus128_ref_dec (kem.c:127) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a stack allocation ==14714== at 0x4FF6AE3: ??? (in /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1) ==14714== ==14714== Use of uninitialised value of size 8 ==14714== at 0x4021F8: crypto_kem_lotus128_ref_dec (kem.c:141) ==14714== by 0x4010BE: timecop_doit (try.c:96) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== Uninitialised value was created by a client request ==14714== at 0x401024: timecop_doit (try.c:93) ==14714== by 0x401BF0: main (try-anything.c:306) ==14714== ==14714== ==14714== HEAP SUMMARY: ==14714== in use at exit: 7,145,392 bytes in 12 blocks ==14714== total heap usage: 42 allocs, 30 frees, 7,164,520 bytes allocated ==14714== ==14714== LEAK SUMMARY: ==14714== definitely lost: 0 bytes in 0 blocks ==14714== indirectly lost: 0 bytes in 0 blocks ==14714== possibly lost: 7,144,960 bytes in 10 blocks ==14714== still reachable: 432 bytes in 2 blocks ==14714== suppressed: 0 bytes in 0 blocks ==14714== Rerun with --leak-check=full to see details of leaked memory ==14714== ==14714== For lists of detected and suppressed errors, rerun with: -s ==14714== ERROR SUMMARY: 7775 errors from 13 contexts (suppressed: 0 from 0)