|
iPXE
|
Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange. More...
#include <ipxe/crypto.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | ecdhe_key (struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared) |
| Calculate ECDHE key. More... | |
Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange.
Definition in file ecdhe.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| int ecdhe_key | ( | struct elliptic_curve * | curve, |
| const void * | partner, | ||
| const void * | private, | ||
| void * | public, | ||
| void * | shared | ||
| ) |
Calculate ECDHE key.
| curve | Elliptic curve |
| partner | Partner public curve point |
| private | Private key |
| public | Public curve point to fill in (may overlap partner key) |
| shared | Shared secret curve point to fill in |
| rc | Return status code |
Definition at line 45 of file ecdhe.c.
References DBGC, elliptic_multiply(), elliptic_curve::name, NULL, partner, rc, and strerror().
Referenced by tls_send_client_key_exchange_ecdhe().
1.8.15