46 const void *
private,
void *
public,
void *shared ) {
52 DBGC ( curve,
"CURVE %s could not generate shared key: %s\n",
60 DBGC ( curve,
"CURVE %s could not generate public key: %s\n",
struct arbelprm_rc_send_wqe rc
static int elliptic_multiply(struct elliptic_curve *curve, const void *base, const void *scalar, void *result)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange.
const char * name
Curve name.
int ecdhe_key(struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared)
Calculate ECDHE key.
char * strerror(int errno)
Retrieve string representation of error number.
#define NULL
NULL pointer (VOID *)
struct eth_slow_lacp_entity_tlv partner
Partner information.