48 const void *
private,
void *
public,
void *shared ) {
54 DBGC ( curve,
"CURVE %s could not generate shared key: %s\n",
62 DBGC ( curve,
"CURVE %s could not generate public key: %s\n",
69 DBGC ( curve,
"CURVE %s constructed point at infinity\n",
struct arbelprm_rc_send_wqe rc
int ecdhe_key(struct elliptic_curve *curve, const void *partner, const void *private, void *public, void *shared)
Calculate ECDHE key.
Elliptic Curve Ephemeral Diffie-Hellman (ECDHE) key exchange.
struct eth_slow_lacp_entity_tlv partner
Partner information.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define EPERM
Operation not permitted.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
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)
char * strerror(int errno)
Retrieve string representation of error number.
const char * name
Curve name.
const void * base
Generator base point.