summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ecdsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/ecdsa.h')
-rw-r--r--src/include/ipxe/ecdsa.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/ipxe/ecdsa.h b/src/include/ipxe/ecdsa.h
new file mode 100644
index 000000000..fdf8c6159
--- /dev/null
+++ b/src/include/ipxe/ecdsa.h
@@ -0,0 +1,20 @@
+#ifndef _IPXE_ECDSA_H
+#define _IPXE_ECDSA_H
+
+/** @file
+ *
+ * Elliptic curve digital signature algorithm (ECDSA)
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
+
+#include <ipxe/crypto.h>
+
+/** Uncompressed curve point */
+#define ECDSA_UNCOMPRESSED 0x04
+
+extern struct pubkey_algorithm ecdsa_algorithm;
+
+#endif /* _IPXE_ECDSA_H */