diff options
author | Daniel Neus <[email protected]> | 2016-07-19 18:17:19 +0200 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2016-07-20 14:56:18 +0200 |
commit | 8f53d3f6efd1419e8feac027035fc8d407e1e75f (patch) | |
tree | fc3060e3414f3dc3d562e43c6879f7a6dbdfc298 /src/lib/utils/simd | |
parent | 308c7d5eda678566edd26e9ab20edbe772f46363 (diff) |
improve parallel hash tests + memory leak fix
- add one test with SHA-256,SHA-512
- test Parallel::clone()
- test Parallel ctor
- fix memory leak in Parallel::clone():
Currently Parallel::clone() calls hash->clone() (first heap allocation) and after this clone() calls
Parallel(const std::vector<HashFunction*>& in) which does another heap allocation. So its sufficient to pass the hash pointer to
the Parallel ctor instead of a clone
Diffstat (limited to 'src/lib/utils/simd')
0 files changed, 0 insertions, 0 deletions