summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ecdhe.h
blob: c6575678cb15e20de8a6b54bc5c2878b8df616f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _IPXE_ECDHE_H
#define _IPXE_ECDHE_H

/** @file
 *
 * Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
FILE_SECBOOT ( PERMITTED );

#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 */