aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ecdhe.h
blob: 36fc0a1eed22a6e0eae6adc4732c05a84aeff0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */