aboutsummaryrefslogtreecommitdiff
path: root/key_update.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-10-01 22:25:26 +1300
committerDavid Phillips <david@sighup.nz>2017-10-01 22:36:35 +1300
commitfc3b3ebffc676e101ca189a9002efb4117913b15 (patch)
tree4adadf970adebd8af660e4518131f2bebbaa838f /key_update.c
parent5e2dcf4aff14e48c8ca49b1ea1bb200abc43fffc (diff)
downloadsand-leek-fc3b3ebffc676e101ca189a9002efb4117913b15.tar.xz
Add NIH SHA1 implementation mockup for porting
Mocked this up in host code to become familiar with the algorithm, and to iron out most bugs before writing/porting to OpenCL. For laughs, I switched sand-leek to use this implementation instead of OpenSSL's. Performance decrease is about 90% with no change in CFLAGS, and about 60% with -O3 instead of -O2. Of course this holds no weight, since the implementation is only meant to be ported to OpenCL and run on graphics cards where SIMD will skyrocket performance.
Diffstat (limited to 'key_update.c')
0 files changed, 0 insertions, 0 deletions