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
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <ipxe/crypto.h>
14
15extern int ecdhe_key ( struct elliptic_curve *curve, const void *partner,
16 const void *private, void *public, void *shared );
17
18#endif /* _IPXE_ECDHE_H */
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:5
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
Cryptographic API.
An elliptic curve.
Definition crypto.h:178