Output save_alt Download

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