aboutsummaryrefslogtreecommitdiff
path: root/third_party/openssl-nistz256-amd64/nistz256.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/openssl-nistz256-amd64/nistz256.h')
-rw-r--r--third_party/openssl-nistz256-amd64/nistz256.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/openssl-nistz256-amd64/nistz256.h b/third_party/openssl-nistz256-amd64/nistz256.h
new file mode 100644
index 000000000..623695747
--- /dev/null
+++ b/third_party/openssl-nistz256-amd64/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);