iPXE
ecdhe.h
Go to the documentation of this file.
1 #ifndef _IPXE_ECDHE_H
2 #define _IPXE_ECDHE_H
3 
4 /** @file
5  *
6  * Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <ipxe/crypto.h>
13 
14 extern int ecdhe_key ( struct elliptic_curve *curve, const void *partner,
15  const void *private, void *public, void *shared );
16 
17 #endif /* _IPXE_ECDHE_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Cryptographic API.
An elliptic curve.
Definition: crypto.h:184
int ecdhe_key(struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared)
Calculate ECDHE key.
Definition: ecdhe.c:45
struct eth_slow_lacp_entity_tlv partner
Partner information.
Definition: eth_slow.h:16