diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-07-13 00:38:29 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-07-13 00:38:29 -0400 |
| commit | 6fed8c2d9f028d9cf175c2e7ce53951cb164b657 (patch) | |
| tree | c2e151884b4aeafb8b42c0fb65a4c7eba68896a4 /tests/performance_tests | |
| parent | 8f48f464957c875af3183cd9d35769592e1aef48 (diff) | |
| parent | c7b2944f8960c208ceddeb3075a673630ae000cd (diff) | |
| download | monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.tar.gz monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.tar.xz monzero-core-6fed8c2d9f028d9cf175c2e7ce53951cb164b657.zip | |
Merge pull request #8149
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
Diffstat (limited to 'tests/performance_tests')
| -rw-r--r-- | tests/performance_tests/rct_mlsag.h | 4 | ||||
| -rw-r--r-- | tests/performance_tests/sig_clsag.h | 2 | ||||
| -rw-r--r-- | tests/performance_tests/sig_mlsag.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/performance_tests/rct_mlsag.h b/tests/performance_tests/rct_mlsag.h index 4cdbcd601..2163431fe 100644 --- a/tests/performance_tests/rct_mlsag.h +++ b/tests/performance_tests/rct_mlsag.h @@ -65,7 +65,7 @@ public: { sk[j] = xm[ind][j]; } - IIccss = MLSAG_Gen(rct::identity(), P, sk, NULL, NULL, ind, rows-1, hw::get_device("default")); + IIccss = MLSAG_Gen(rct::identity(), P, sk, ind, rows-1, hw::get_device("default")); return true; } @@ -75,7 +75,7 @@ public: if (ver) MLSAG_Ver(rct::identity(), P, IIccss, rows-1); else - MLSAG_Gen(rct::identity(), P, sk, NULL, NULL, ind, rows-1, hw::get_device("default")); + MLSAG_Gen(rct::identity(), P, sk, ind, rows-1, hw::get_device("default")); return true; } diff --git a/tests/performance_tests/sig_clsag.h b/tests/performance_tests/sig_clsag.h index 53c38c56b..043830ee6 100644 --- a/tests/performance_tests/sig_clsag.h +++ b/tests/performance_tests/sig_clsag.h @@ -117,7 +117,7 @@ class test_sig_clsag sk.dest = r[u]; sk.mask = s[u]; - sigs.push_back(proveRctCLSAGSimple(messages[u],pubs,sk,s1[u],C_offsets[u],NULL,NULL,NULL,u,hw::get_device("default"))); + sigs.push_back(proveRctCLSAGSimple(messages[u],pubs,sk,s1[u],C_offsets[u],u,hw::get_device("default"))); } return true; diff --git a/tests/performance_tests/sig_mlsag.h b/tests/performance_tests/sig_mlsag.h index 60a306753..46bdcde63 100644 --- a/tests/performance_tests/sig_mlsag.h +++ b/tests/performance_tests/sig_mlsag.h @@ -117,7 +117,7 @@ class test_sig_mlsag sk.dest = r[u]; sk.mask = s[u]; - sigs.push_back(proveRctMGSimple(messages[u],pubs,sk,s1[u],C_offsets[u],NULL,NULL,u,hw::get_device("default"))); + sigs.push_back(proveRctMGSimple(messages[u],pubs,sk,s1[u],C_offsets[u],u,hw::get_device("default"))); } return true; |
