tevador
6a764e90d0
Preserve floating point state when calling randomx_calculate_hash
4 years ago
tevador
01381ccef3
Add a missing function to calculate a batch of hashes
...
Add a test for batch calculation
4 years ago
tevador
3910d49b49
Hide tempHash from the public API
5 years ago
SChernykh
219c02e1e5
Combined hash and fill AES loop ( #166 )
...
Adds more parallelizm into AES loop so modern CPUs can take advantage of it. Also, scratchpad data moves between L1 and L3 caches only one time which saves time and energy per hash.
5 years ago
ston1th
5c0486bd33
Fixed tests on OpenBSD
...
Since OpenBSD 6.0 W^X is enforced.
Added `RANDOMX_FLAG_SECURE` in tests and benchmarks.
Updated comment.
Excluded `cpu_set_t` since it is not defined on OpenBSD.
5 years ago
tevador
4296c35d79
switch on int
5 years ago
tevador
abf2a5034e
Make sure AES code is present when setting RANDOMX_FLAG_HARD_AES
5 years ago
tevador
fc892fc5c0
Select AVX2 if both AVX2 and SSSE3 flags are set
5 years ago
tevador
e0484dfb99
Automatic detection of CPU capabilities
5 years ago
tevador
900a936816
Optimized Argon2 (SSSE3/AVX2)
5 years ago
hyc
01648b3bd6
Remember cache input data ( #133 )
...
Make init_cache and set_cache no-ops if fed the same data as before
5 years ago
tevador
67010ab554
Optional W^X policy for JIT pages ( #112 )
5 years ago
tevador
47ade5e894
Do not attempt to allocate >= 4 GiB on 32-bit systems ( #99 )
...
+ Cache size limited to 2 GiB
5 years ago
tevador
aaa6e4e881
Sanity checks ( #88 )
5 years ago
tevador
2706a8b753
Relicensed under the 3-clause BSD license
5 years ago
tevador
3dd21ea93d
Prepare for JIT compiler support for other platforms
5 years ago
tevador
c87dcc8ae5
Cache seed renamed to key
5 years ago
tevador
22a3aa8d79
randomx_cache and randomx_dataset changed to standard-layout structs
5 years ago
tevador
270a4f97fe
Dataset size increased to 2080 MiB
...
Implemented dataset base offset
Tweaked SuperscalarHash constants to prevent register collisions
5 years ago
tevador
b4dca14f0c
Added a function to access the dataset memory buffer
...
Number of dataset items changed from a macro to a getter function.
5 years ago
tevador
87b8253374
API documentation
...
'dataset block' -> 'dataset item'
customizable benchmark seed
5 years ago
tevador
bc78b628ea
Flags ordered by their impact on performance
...
Additional error handling
5 years ago
tevador
a8c7137873
Linux makefile
...
Exception handling
5 years ago
tevador
41557ce010
randomx project changed to a static library
...
separate benchmark project
API usage examples
5 years ago
tevador
d7eefce583
Removed capital letters from filenames
5 years ago
tevador
d7276d5786
Reduced the number of virtual calls per hash
5 years ago
tevador
296e77eebc
C API - first working version
5 years ago