t1ha2 hash for scratchpad digest

This commit is contained in:
tevador
2018-12-19 12:38:10 +01:00
parent ed0bc906d6
commit cb12feaf91
7 changed files with 2295 additions and 6 deletions

View File

@@ -33,6 +33,7 @@ namespace RandomX {
constexpr int RoundToZero = 3;
constexpr int SeedSize = 32;
constexpr int ResultSize = 32;
constexpr int CacheBlockSize = 1024;
constexpr int CacheShift = CacheBlockSize / 2;