aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/dhe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/dhe.h')
-rw-r--r--src/include/ipxe/dhe.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/ipxe/dhe.h b/src/include/ipxe/dhe.h
new file mode 100644
index 000000000..3cd24a880
--- /dev/null
+++ b/src/include/ipxe/dhe.h
@@ -0,0 +1,19 @@
+#ifndef _IPXE_DHE_H
+#define _IPXE_DHE_H
+
+/** @file
+ *
+ * Ephemeral Diffie-Hellman key exchange
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+#include <stdint.h>
+
+extern int dhe_key ( const void *modulus, size_t len, const void *generator,
+ size_t generator_len, const void *partner,
+ size_t partner_len, const void *private,
+ size_t private_len, void *public, void *shared );
+
+#endif /* _IPXE_DHE_H */