diff options
author | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-04-14 20:31:30 -0400 |
---|---|---|
committer | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-04-14 20:31:30 -0400 |
commit | 4ed60b626a368132fccad4449f1c4d50e312b60c (patch) | |
tree | 6d173b69be8cb344ed84852cb86a573f9ec32fec /tests/performance_tests/crypto_ops.h | |
parent | Merge pull request #6405 (diff) | |
download | monero-4ed60b626a368132fccad4449f1c4d50e312b60c.tar.xz |
Bulletproofs: verification speedup
Diffstat (limited to 'tests/performance_tests/crypto_ops.h')
-rw-r--r-- | tests/performance_tests/crypto_ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/performance_tests/crypto_ops.h b/tests/performance_tests/crypto_ops.h index 5b215cef4..2859873ef 100644 --- a/tests/performance_tests/crypto_ops.h +++ b/tests/performance_tests/crypto_ops.h @@ -48,6 +48,7 @@ enum test_op op_scalarmultKey, op_scalarmultH, op_scalarmult8, + op_scalarmult8_p3, op_ge_dsm_precomp, op_ge_double_scalarmult_base_vartime, op_ge_double_scalarmult_precomp_vartime, @@ -105,6 +106,7 @@ public: case op_scalarmultKey: rct::scalarmultKey(point0, scalar0); break; case op_scalarmultH: rct::scalarmultH(scalar0); break; case op_scalarmult8: rct::scalarmult8(point0); break; + case op_scalarmult8_p3: rct::scalarmult8(p3_0,point0); break; case op_ge_dsm_precomp: ge_dsm_precomp(dsmp, &p3_0); break; case op_ge_double_scalarmult_base_vartime: ge_double_scalarmult_base_vartime(&tmp_p2, scalar0.bytes, &p3_0, scalar1.bytes); break; case op_ge_double_scalarmult_precomp_vartime: ge_double_scalarmult_precomp_vartime(&tmp_p2, scalar0.bytes, &p3_0, scalar1.bytes, precomp0); break; |