aboutsummaryrefslogtreecommitdiff
path: root/third_party/openssl-nistz256/nistz256.h
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@mit.edu>2017-06-23 13:36:36 -0400
committerGravatar Andres Erbsen <andreser@mit.edu>2017-06-23 13:36:36 -0400
commit847415f71ea61443de20a6a2082d9a03f1057077 (patch)
tree8969d4e7207225ad2d3a7a7c1c21d0204fdc1729 /third_party/openssl-nistz256/nistz256.h
parentfe5b5b3bb0fc8836d11677025107198ddd6cdf53 (diff)
add openssl nistz256 for benchmarking
Diffstat (limited to 'third_party/openssl-nistz256/nistz256.h')
-rw-r--r--third_party/openssl-nistz256/nistz256.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/openssl-nistz256/nistz256.h b/third_party/openssl-nistz256/nistz256.h
new file mode 100644
index 000000000..623695747
--- /dev/null
+++ b/third_party/openssl-nistz256/nistz256.h
@@ -0,0 +1,14 @@
+typedef struct {
+ uint64_t X[4];
+ uint64_t Y[4];
+ uint64_t Z[4];
+} P256_POINT;
+
+typedef struct {
+ uint64_t X[4];
+ uint64_t Y[4];
+} P256_POINT_AFFINE;
+
+void ecp_nistz256_point_add_affine(P256_POINT *r,
+ const P256_POINT *a,
+ const P256_POINT_AFFINE *b);