47 const void *
private,
void *
public,
void *shared ) {
53 DBGC ( curve,
"CURVE %s could not generate shared key: %s\n",
61 DBGC ( curve,
"CURVE %s could not generate public key: %s\n",
68 DBGC ( curve,
"CURVE %s constructed point at infinity\n",
struct arbelprm_rc_send_wqe rc
static int elliptic_multiply(struct elliptic_curve *curve, const void *base, const void *scalar, void *result)
static int elliptic_is_infinity(struct elliptic_curve *curve, const void *point)
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 EPERM
Operation not permitted.
const void * base
Generator base point.
struct eth_slow_lacp_entity_tlv partner
Partner information.