1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 00:15:04 -05:00

Add prefixes to argon2 to avoid potential conflicts with other implementations.

This commit is contained in:
XMRig
2020-05-04 18:09:34 +07:00
parent b34e3e1a7b
commit 4326ba3c38
20 changed files with 134 additions and 207 deletions

View File

@@ -174,8 +174,7 @@ static void fill_segment_64(const argon2_instance_t *instance,
* lane.
*/
position.index = i;
ref_index = index_alpha(instance, &position, pseudo_rand & 0xFFFFFFFF,
ref_lane == position.lane);
ref_index = xmrig_ar2_index_alpha(instance, &position, pseudo_rand & 0xFFFFFFFF, ref_lane == position.lane);
/* 2 Creating a new block */
ref_block =