Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump miracl-core to c946737ef2efcdf876199c976eec0c4cdff3b9c7 #169

Closed
wants to merge 1 commit into from

Conversation

etan-status
Copy link
Contributor

  • SSWU + Isogenies Hash-To-Curve for BLS12381 and SECP256K1 curves

- SSWU + Isogenies Hash-To-Curve for BLS12381 and SECP256K1 curves
@etan-status
Copy link
Contributor Author

iso

Backend: Miracl, mode: 64-bit
====================================================================================================================================

Scalar multiplication G1 (255-bit, constant-time)                              3836.769 ops/s       260636 ns/op       625525 cycles
Scalar multiplication G2 (255-bit, constant-time)                              1331.327 ops/s       751130 ns/op      1802712 cycles
EC add G1 (constant-time)                                                    892857.143 ops/s         1120 ns/op         2688 cycles
EC add G2 (constant-time)                                                    304506.699 ops/s         3284 ns/op         7883 cycles
------------------------------------------------------------------------------------------------------------------------------------
Pairing (Miracl builtin double pairing)                                         367.930 ops/s      2717906 ns/op      6522973 cycles
Pairing (Multi-Pairing with delayed Miller and Exp)                             370.195 ops/s      2701279 ns/op      6483069 cycles
------------------------------------------------------------------------------------------------------------------------------------
Hash to G2 (Draft #9)                                                           964.175 ops/s      1037156 ns/op      2489174 cycles
------------------------------------------------------------------------------------------------------------------------------------
BLS signature                                                                   558.527 ops/s      1790425 ns/op      4297019 cycles
BLS verification                                                                274.710 ops/s      3640205 ns/op      8736492 cycles
BLS agg verif of 1 msg by 128 pubkeys                                           270.432 ops/s      3697787 ns/op      8874616 cycles
------------------------------------------------------------------------------------------------------------------------------------


no iso

Backend: Miracl, mode: 64-bit
====================================================================================================================================

Scalar multiplication G1 (255-bit, constant-time)                              3797.819 ops/s       263309 ns/op       631939 cycles
Scalar multiplication G2 (255-bit, constant-time)                              1361.304 ops/s       734590 ns/op      1763016 cycles
EC add G1 (constant-time)                                                    946969.697 ops/s         1056 ns/op         2534 cycles
EC add G2 (constant-time)                                                    332667.997 ops/s         3006 ns/op         7216 cycles
------------------------------------------------------------------------------------------------------------------------------------
Pairing (Miracl builtin double pairing)                                         378.677 ops/s      2640775 ns/op      6337859 cycles
Pairing (Multi-Pairing with delayed Miller and Exp)                             378.937 ops/s      2638959 ns/op      6333499 cycles
------------------------------------------------------------------------------------------------------------------------------------
Hash to G2 (Draft #9)                                                          1000.128 ops/s       999872 ns/op      2399691 cycles
------------------------------------------------------------------------------------------------------------------------------------
BLS signature                                                                   544.932 ops/s      1835090 ns/op      4404215 cycles
BLS verification                                                                272.082 ops/s      3675367 ns/op      8820881 cycles
BLS agg verif of 1 msg by 128 pubkeys                                           265.839 ops/s      3761675 ns/op      9027896 cycles
------------------------------------------------------------------------------------------------------------------------------------


old

Backend: Miracl, mode: 64-bit
====================================================================================================================================

Scalar multiplication G1 (255-bit, constant-time)                              3924.323 ops/s       254821 ns/op       611568 cycles
Scalar multiplication G2 (255-bit, constant-time)                              1393.482 ops/s       717627 ns/op      1722304 cycles
EC add G1 (constant-time)                                                    931098.696 ops/s         1074 ns/op         2578 cycles
EC add G2 (constant-time)                                                    320718.409 ops/s         3118 ns/op         7484 cycles
------------------------------------------------------------------------------------------------------------------------------------
Pairing (Miracl builtin double pairing)                                         377.238 ops/s      2650843 ns/op      6362023 cycles
Pairing (Multi-Pairing with delayed Miller and Exp)                             376.241 ops/s      2657873 ns/op      6378894 cycles
------------------------------------------------------------------------------------------------------------------------------------
Hash to G2 (Draft #9)                                                          1015.374 ops/s       984859 ns/op      2363662 cycles
------------------------------------------------------------------------------------------------------------------------------------
BLS signature                                                                   538.528 ops/s      1856912 ns/op      4456588 cycles
BLS verification                                                                266.094 ops/s      3758074 ns/op      9019377 cycles
BLS agg verif of 1 msg by 128 pubkeys                                           261.169 ops/s      3828935 ns/op      9189348 cycles
------------------------------------------------------------------------------------------------------------------------------------

@etan-status etan-status deleted the dev/etan/bd-miracl branch February 21, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant