Output save_alt Download

Operation
crypto_encrypt
Primitive
lotus128
Implementation
opt
Compiler options
clang -O1 -g
Host
venus
1 error 0
2 crypto_encrypt_open does not handle c=t overlap
3 ==942== Memcheck, a memory error detector
4 ==942== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==942== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==942== Command: ./try
7 ==942==
8 ==942== Conditional jump or move depends on uninitialised value(s)
9 ==942== at 0x4C32734: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
10 ==942== by 0x4017D9: test (try.c:151)
11 ==942== by 0x401EB2: main (try-anything.c:295)
12 ==942== Uninitialised value was created by a stack allocation
13 ==942== at 0x4039B0: crypto_symenc_decrypt (crypto.c:102)
14 ==942==
15 ==942==
16 ==942== HEAP SUMMARY:
17 ==942== in use at exit: 7,145,392 bytes in 12 blocks
18 ==942== total heap usage: 2,118 allocs, 2,106 frees, 7,254,112 bytes allocated
19 ==942==
20 ==942== LEAK SUMMARY:
21 ==942== definitely lost: 0 bytes in 0 blocks
22 ==942== indirectly lost: 0 bytes in 0 blocks
23 ==942== possibly lost: 7,144,960 bytes in 10 blocks
24 ==942== still reachable: 432 bytes in 2 blocks
25 ==942== suppressed: 0 bytes in 0 blocks
26 ==942== Rerun with --leak-check=full to see details of leaked memory
27 ==942==
28 ==942== For lists of detected and suppressed errors, rerun with: -s
29 ==942== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)