iPXE
include
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
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
crypto.h
Cryptographic API.
elliptic_curve
An elliptic curve.
Definition:
crypto.h:177
ecdhe_key
int ecdhe_key(struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared)
Calculate ECDHE key.
Definition:
ecdhe.c:45
partner
struct eth_slow_lacp_entity_tlv partner
Partner information.
Definition:
eth_slow.h:16
Generated by
1.8.15