66 test->scalar, actual );
67 if (
test->expected_len ) {
68 okx (
rc == 0, file, line );
70 okx (
rc != 0, file, line );
struct arbelprm_rc_send_wqe rc
static int elliptic_multiply(struct elliptic_curve *curve, const void *base, const void *scalar, void *result)
Self-test infrastructure.
An elliptic curve point multiplication test.
#define okx(success, file, line)
Report test result.
size_t keysize
Scalar (and private key) size.
void elliptic_okx(struct elliptic_test *test, const char *file, unsigned int line)
Report elliptic curve point multiplication test result.
u16 keysize
Length of encryption key to be used, network byte order.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
size_t pointsize
Point (and public key) size.
int memcmp(const void *first, const void *second, size_t len)
Compare memory regions.
#define NULL
NULL pointer (VOID *)