summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/util/eccutil.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--security/nss/lib/util/eccutil.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/nss/lib/util/eccutil.h b/security/nss/lib/util/eccutil.h
new file mode 100644
index 0000000000..7b52295b73
--- /dev/null
+++ b/security/nss/lib/util/eccutil.h
@@ -0,0 +1,17 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef _FREEBL_H_
+#define _FREEBL_H_
+
+#define X25519_PUBLIC_KEY_BYTES 32U
+
+/* deprecated */
+typedef enum {
+ ECPoint_Uncompressed,
+ ECPoint_XOnly,
+ ECPoint_Undefined
+} ECPointEncoding;
+
+#endif /* _FREEBL_H_ */