81 const void *
partner,
void *shared ) {
struct arbelprm_rc_send_wqe rc
#define assert(condition)
Assert a condition at run-time.
int elliptic_agree(struct exchange_algorithm *exchange, const void *private, const void *partner, void *shared)
Agree shared secret.
int elliptic_share(struct exchange_algorithm *exchange, const void *private, void *public)
Share public key.
#define elliptic_uncompressed_t(len)
An uncompressed elliptic curve point.
#define ELLIPTIC_FORMAT_UNCOMPRESSED
Format byte for uncompressed curve point representation.
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)
void * memcpy(void *dest, const void *src, size_t len) __nonnull
size_t keysize
Scalar (and private key) size.
size_t pointsize
Point (and public key) size.
const void * base
Generator base point.
A key exchange algorithm.
size_t sharedsize
Shared secret size.
size_t privsize
Private key size.
size_t pubsize
Public key size.
void * priv
Algorithm private data.