diff options
| author | anon <anon [at] nowhere> | 2021-12-06 10:25:01 +0000 |
|---|---|---|
| committer | koe <ukoe@protonmail.com> | 2022-06-30 12:56:40 -0500 |
| commit | c7b2944f8960c208ceddeb3075a673630ae000cd (patch) | |
| tree | 5ab335821b3dd9398a7a0ec645b4ad79d38e750b /tests/performance_tests | |
| parent | 9750e1fa103539b3e533455500610aae76e253a5 (diff) | |
| download | monzero-core-c7b2944f8960c208ceddeb3075a673630ae000cd.tar.gz monzero-core-c7b2944f8960c208ceddeb3075a673630ae000cd.tar.xz monzero-core-c7b2944f8960c208ceddeb3075a673630ae000cd.zip | |
multisig: fix critical vulnerabilities in signing
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; |
