Commit Graph

29 Commits (124e1fd40ac766b7f095e93834dc3d8295984369)

Author SHA1 Message Date
Gabriele Gristina 9d36245d51 Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime
2 years ago
philsmd ea6eab29f8
added OpenCL kernel code for AES-192
4 years ago
Jens Steube d0bd33c9d1 Rename CONSTANT_AS to CONSTANT_VK
5 years ago
Jens Steube 89119bf24a Add missing inc_platform.h include
5 years ago
jsteube 9ced13cc94 Get rid of CONSTSPEC macro in OpenCL kernels
5 years ago
jsteube 1c45de4b63 Remove more old GCC diagnostic options
5 years ago
jsteube e80b1838e8 Rename some functions in inc_common.cl to avoid conflicts with bitops.c
5 years ago
jsteube adeeaee84a Replace __kernel, __constant, __global and __local qualifiers with macro for better control
5 years ago
jsteube 7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
jsteube 9a70655f34 No more need for rcon[] in AES
5 years ago
jsteube 7cb510f1ce More manually unrolled cipher code
5 years ago
jsteube a063e9ef62 Remove automatic unrolling on some ciphers and replace with manually unrolled code
5 years ago
jsteube 84d6b8ecc1 Add function prototypes in OpenCL kernels to make some compilers happy
5 years ago
jsteube ed7765d8fd Manually unroll aes128_InvertKey and aes256_InvertKey to workaround some JiT compiler errors
5 years ago
jsteube 0fce6b663b Testwise remove all hardcoded volatiles from cipher includes
5 years ago
jsteube a5746548e8 Allow use of hash-mode 7900, 10700 and 13731 on AMD devices after workaround
6 years ago
jsteube e4e1c1d515 We can't mix inline functions with static constants
6 years ago
jsteube 3e08750900 OpenCL Kernels: Add general function declaration keyword (static inline)
6 years ago
jsteube 53f3da9f63 OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space
6 years ago
jsteube 503f676cb0 Remove static keywords from OpenCL functions, they can cause old NV JiT compiler to fail
7 years ago
Jens Steube 63f6ca5114 Do not use __local memory for whirlpool if running on a device without physical shared memory
7 years ago
jsteube 6c619155c3 Workaround ROCm compiler error in aes256_ExpandKey()
7 years ago
jsteube 8c9c36ee2a Fix out-of-bound access in aesXXX_InvertKey()
7 years ago
jsteube 967e96728d Make all the OpenCL kernel function includes static
7 years ago
jsteube 3141c14b0f Refactor OpenCL kernels to use normalized AES functions from inc_cipher_aes.cl
7 years ago
jsteube 709cfa2e91 Added long passwords support for KeePass 1 (AES/Twofish) and KeePass 2 (AES)
7 years ago
jsteube 6401c58568 Align all the __constant buffers to workaround OpenCL JIT compiler errors in NV drivers 378.x
7 years ago
jsteube bbb4c74e85 OpenCL Kernel: Remove "static" keyword from function declarations; Causes older Intel OpenCL runtimes to fail compiling
7 years ago
jsteube 8257883ec1 Added hash-mode 14600 = LUKS
7 years ago