Commit Graph

22 Commits

Author SHA1 Message Date
tevador 6a764e90d0 Preserve floating point state when calling randomx_calculate_hash 2020-05-06 12:42:30 +02:00
tevador 01381ccef3 Add a missing function to calculate a batch of hashes
Add a test for batch calculation
2020-02-06 18:14:38 +01:00
tevador 3910d49b49 Hide tempHash from the public API 2019-12-01 18:19:09 +01:00
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.
2019-12-01 16:58:38 +01:00
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.
2019-10-20 14:23:33 +02:00
tevador e0484dfb99 Automatic detection of CPU capabilities 2019-10-08 23:09:35 +02:00
tevador cce53cb582 use SSSE3 consistently as opposed to SSE3 2019-10-06 23:46:49 +02:00
tevador 900a936816 Optimized Argon2 (SSSE3/AVX2) 2019-10-06 18:07:23 +02:00
hyc 01648b3bd6 Remember cache input data (#133)
Make init_cache and set_cache no-ops if fed the same data as before
2019-10-04 08:31:32 +02:00
tevador eef87a0f63 Documentation updates 2019-09-22 22:18:28 +02:00
tevador 67010ab554
Optional W^X policy for JIT pages (#112) 2019-08-25 13:47:40 +02:00
tevador cc2551b02b
Support building a shared library (#53) 2019-06-10 15:58:51 +02:00
tevador 2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +02:00
tevador ac22aed121 Proper C declaration without parameters 2019-05-16 20:40:06 +02:00
tevador c87dcc8ae5 Cache seed renamed to key 2019-05-01 14:40:13 +02:00
tevador b4dca14f0c Added a function to access the dataset memory buffer
Number of dataset items changed from a macro to a getter function.
2019-04-23 22:15:55 +02:00
tevador 59d82bbb01 Fixed doc 2019-04-22 19:08:45 +02:00
tevador 4c66b2305a Formatting & refactoring 2019-04-22 18:20:46 +02:00
tevador 87b8253374 API documentation
'dataset block' -> 'dataset item'
customizable benchmark seed
2019-04-22 15:13:41 +02:00
tevador bc78b628ea Flags ordered by their impact on performance
Additional error handling
2019-04-21 23:23:13 +02:00
tevador 41557ce010 randomx project changed to a static library
separate benchmark project
API usage examples
2019-04-21 00:20:21 +02:00
tevador 296e77eebc C API - first working version 2019-04-20 11:08:01 +02:00