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 FILE_SECBOOT ( PERMITTED );
12 
13 #include <ipxe/crypto.h>
14 
15 extern int ecdhe_key ( struct elliptic_curve *curve, const void *partner,
16  const void *private, void *public, void *shared );
17 
18 #endif /* _IPXE_ECDHE_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Cryptographic API.
FILE_SECBOOT(PERMITTED)
An elliptic curve.
Definition: crypto.h:178
int ecdhe_key(struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared)
Calculate ECDHE key.
Definition: ecdhe.c:47
struct eth_slow_lacp_entity_tlv partner
Partner information.
Definition: eth_slow.h:17