Use 4-round AES for program generation

This commit is contained in:
tevador
2019-05-24 21:59:51 +02:00
parent 378d5def38
commit 16ea16c60c
3 changed files with 64 additions and 5 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ namespace randomx {
template<class Allocator, bool softAes>
void VmBase<Allocator, softAes>::generateProgram(void* seed) {
fillAes1Rx4<softAes>(seed, sizeof(program), &program);
fillAes4Rx4<softAes>(seed, sizeof(program), &program);
}
template class VmBase<AlignedAllocator<CacheLineSize>, false>;