Jens Steube
e5b64a29d1
Fix the length positioning of the AAD string used by AES GCM. The implementation was not working at all due to this bug, but also this feature is not used in any kernel so far and thus did not pop up.
2022-03-11 15:29:20 +01:00
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
2022-02-04 19:54:00 +01:00
Gabriele Gristina
7371cbebe7
add min/max data length limits to MetaMask Wallet
2021-07-04 20:14:25 +02:00
Gabriele Gristina
f571329c4f
Added hash-mode: MetaMask Wallet
2021-07-04 15:47:52 +02:00
Jens Steube
55e3952815
- Computed invalid J0 buffer if IV's != length 12
...
- Computed invalid GCM hash in AES_GCM_ghash(). Last 15 byte logic was partially incorrect. Worked for length % 16 = 8, but not length % 16 = 5
- Get rid of all byte swaps
2021-04-09 16:35:32 +02:00
Jens Steube
57213e6c6c
Add AES_GCM_GHASH_GLOBAL() to allow using encrypted data directly from GPU memory to avoid reserving registers
2021-04-08 13:19:27 +02:00
Jens Steube
71a8f97294
Optimize GCM code to use only u32 data types, make it CUDA compatible and remove some branches
2021-04-05 17:59:42 +02:00
Gabriele Gristina
92bfe11671
Added AES_GCM_ALT1 and fix opencl compiler warnings
2020-12-26 07:07:56 +01:00
Gabriele Gristina
54df7d53ea
Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM
2020-12-25 04:50:18 +01:00