aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/ecdhe.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/ipxe/ecdhe.h b/src/include/ipxe/ecdhe.h
new file mode 100644
index 000000000..36fc0a1ee
--- /dev/null
+++ b/src/include/ipxe/ecdhe.h
@@ -0,0 +1,17 @@
+#ifndef _IPXE_ECDHE_H
+#define _IPXE_ECDHE_H
+
+/** @file
+ *
+ * Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+#include <ipxe/crypto.h>
+
+extern int ecdhe_key ( struct elliptic_curve *curve, const void *partner,
+ const void *private, void *public, void *shared );
+
+#endif /* _IPXE_ECDHE_H */