iPXE
dhe.h
Go to the documentation of this file.
1 #ifndef _IPXE_DHE_H
2 #define _IPXE_DHE_H
3 
4 /** @file
5  *
6  * Ephemeral Diffie-Hellman key exchange
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <stdint.h>
13 
14 extern int dhe_key ( const void *modulus, size_t len, const void *generator,
15  size_t generator_len, const void *partner,
16  size_t partner_len, const void *private,
17  size_t private_len, void *public, void *shared );
18 
19 #endif /* _IPXE_DHE_H */
int dhe_key(const void *modulus, size_t len, const void *generator, size_t generator_len, const void *partner, size_t partner_len, const void *private, size_t private_len, void *public, void *shared)
Calculate Diffie-Hellman key.
Definition: dhe.c:53
uint32_t len
Length.
Definition: ena.h:14
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct eth_slow_lacp_entity_tlv partner
Partner information.
Definition: eth_slow.h:16