Commit Graph

14 Commits

Author SHA1 Message Date
tevador
32ab5dea54 fix potential use-after-free when reallocating cache 2020-06-27 20:21:06 +02: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
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
SChernykh
9e7ae84de4 Set scratchpad pointer to null by default 2019-09-23 15:56:14 +02:00
tevador
e4b2270104 Merge pull request #47 from tevador/pr-doc
Documentation and tests
2019-06-01 11:14:13 +02:00
tevador
8298c9faf8 Much more detailed design description
Added runtime distribution test
Fixed inaccurate results of performance simulations
Program publicly accessible in randomx_vm class
2019-06-01 11:02:40 +02:00
tevador
bc2aae0f61 Support Dataset size larger than 4 GiB
Support arbitrary value of RANDOMX_DATASET_EXTRA_SIZE
2019-05-29 17:27:49 +02:00
tevador
2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +02:00
tevador
b62b1f8717 Added scratchpad entropy test 2019-05-03 16:57:33 +02:00
tevador
22a3aa8d79 randomx_cache and randomx_dataset changed to standard-layout structs 2019-04-28 12:44:28 +02:00
tevador
270a4f97fe Dataset size increased to 2080 MiB
Implemented dataset base offset
Tweaked SuperscalarHash constants to prevent register collisions
2019-04-26 16:05:30 +02:00
tevador
a8c7137873 Linux makefile
Exception handling
2019-04-21 15:04:17 +02:00
tevador
d7eefce583 Removed capital letters from filenames 2019-04-20 16:53:06 +02:00