jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
6 years ago
jsteube
dad05d9f69
Testing: Workaround some AMD OpenCL runtime segmentation faults
6 years ago
Jens Steube
02a2495349
Switched array pointer types in function declarations in order to be compatible with OpenCL 2.0
6 years ago
Jens Steube
a15c165773
Revert the pos == 0 change due to some unexpected results on nvidia
7 years ago
jsteube
b626e7f61b
Optimize update functions in inc_hash_* helper files by testing for pos == 0
7 years ago
jsteube
5951207365
Get rid of some old volatiles
7 years ago
jsteube
3e08750900
OpenCL Kernels: Add general function declaration keyword (static inline)
7 years ago
jsteube
503f676cb0
Remove static keywords from OpenCL functions, they can cause old NV JiT compiler to fail
7 years ago
jsteube
51dd982b12
Bring back some volatile for AMD
7 years ago
jsteube
9125062ffc
Move volatiles for AMD closer to the problem
7 years ago
jsteube
938c281ee0
Resurrect some volatile variables in order to correctly compile pure kernels on AMD drivers
7 years ago
jsteube
967e96728d
Make all the OpenCL kernel function includes static
7 years ago
jsteube
5e34ec348e
Optimize kernels for ROCm 1.6
...
- Remove inline keywords
- Remove volatile keywords where it causes ROCm to slow down
- Replace DES functions (looks like bitselect somehow is no longer mapped to BFI_INT)
7 years ago
jsteube
eae9329761
Workaround some AMD JiT compiler segfault on complex kernels
7 years ago
jsteube
7205f450dd
Backport more HMAC functions in inc_hash_xxx.cl from global to private
7 years ago
jsteube
4e0972ce3a
Add xxx_update_vector_swap(), xxx_update_vector_utf16le_swap() and xxx_update_vector_utf16beN() for later use
7 years ago
jsteube
9c6c21490f
Add *_hmac_init_swap for later use
7 years ago
jsteube
9c12459852
Add HMAC vector functions to inc_hash_*
7 years ago
jsteube
c512e0c01a
Add example -L kernel for algorithms with appended salt in utf16le
7 years ago
jsteube
9b6c6df53d
Add xxx_nit_vector_from_scalar() to all inc_hash_xxx.cl includes
7 years ago
jsteube
8a6e3a5275
Add support in HMAC for passwords larger than block size of the underlaying hash
7 years ago
philsmd
03f4e2b3dc
minor typo fixed in comment for the new update() functions
7 years ago
jsteube
f2067d6962
Vectorized TrueCrypt PBKDF2-HMAC-RipeMD160 and added support for long passwords
7 years ago