You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/guides/libs/crypto/ecdsa384.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
## Introduction
4
4
5
-
This library provides functionality for ECDSA verification over any 384-bit curve. Currently, this is the most efficient implementation out there, consuming ~9 million gas per call.
5
+
This library provides functionality for ECDSA verification over any 384-bit curve. Currently,
6
+
this is the most efficient implementation out there, consuming ~8.025 million gas per call.
6
7
7
-
The approach is Strauss-Shamir double scalar multiplication with 4 bits of precompute + projective points.
8
+
The approach is Strauss-Shamir double scalar multiplication with 6 bits of precompute + affine coordinates.
9
+
For reference, naive implementation uses ~400 billion gas, which is 50000 times more expensive.
10
+
11
+
We also tried using projective coordinates, however, the gas consumption rose to ~9 million gas.
0 commit comments