summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/dhe.h
blob: 3cd24a8809923d2947b71314a42b9d8758beef95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _IPXE_DHE_H
#define _IPXE_DHE_H

/** @file
 *
 * Ephemeral Diffie-Hellman key exchange
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

#include <stdint.h>

extern 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 );

#endif /* _IPXE_DHE_H */