Skip to content

Optimize our OpenCL PBKDF2-HMAC-SHA512 code #3525

@kholia

Description

@kholia

Our current speed,

$ ../run/john --format=PBKDF2-HMAC-SHA512-opencl --test 
Device 0: GeForce GTX 1050 Ti
Benchmarking: PBKDF2-HMAC-SHA512-opencl, GRUB2 / OS X 10.8+ [PBKDF2-SHA512 OpenCL]
Speed for cost 1 (iteration count) of 1000
Raw:	72817 c/s real, 72817 c/s virtual, GPU util: 100%

Hashcat's speed,

$ ./hashcat --optimized-kernel-enable -b -m 12100 -w 4
hashcat (v5.1.0-39-gdbbba1fb) starting in benchmark mode...

Hashmode: 12100 - PBKDF2-HMAC-SHA512 (Iterations: 999)
Speed.#1.........:   130.8 kH/s (330.53ms) @ Accel:128 Loops:124 Thr:512 Vec:1

It seems that our OpenCL PBKDF2-HMAC-SHA1 stuff is solid but our PBKDF2-HMAC-SHA512-opencl stuff isn't the best.

Hopefully, I am comparing comparable things here.

@magnumripper This will require your help.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions