ecdh_test_case
ATTRIBUTE_WARN_UNUSED_RET static int ecdh_known_vector_tests_one(const ecdh_test_case *c)
const ecdh_test_case *ecdh_cur_test;
static const ecdh_test_case ecdh_dummy_test_case = {
static const ecdh_test_case *ecdh_fixed_vector_tests[] = {
static inline int ecdh_encode_error_value(const ecdh_test_case *c, test_err_kind failed_test, u32 *err_val)
static const ecdh_test_case ecccdh_SECP224R1_8_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_9_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_3_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_10_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_11_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_12_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_13_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_14_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_15_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_16_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_17_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_18_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_19_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_4_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_20_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_21_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_22_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_23_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_24_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_0_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_1_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_2_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_0_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_3_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_4_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_5_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_5_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_6_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_7_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_8_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_9_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_10_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_11_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_12_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_13_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_14_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_6_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_15_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_16_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_17_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_18_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_19_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_20_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_21_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_22_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_23_test_case = {
static const ecdh_test_case ecccdh_SECP256R1_24_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_7_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_0_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_1_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_2_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_3_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_4_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_5_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_6_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_7_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_8_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_9_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_8_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_10_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_11_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_12_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_13_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_14_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_15_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_16_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_17_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_18_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_19_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_9_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_20_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_21_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_22_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_23_test_case = {
static const ecdh_test_case ecccdh_SECP384R1_24_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_0_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_1_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_2_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_3_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_4_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_10_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_5_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_6_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_7_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_8_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_9_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_10_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_11_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_12_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_13_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_14_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_11_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_15_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_16_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_17_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_18_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_19_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_20_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_21_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_22_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_23_test_case = {
static const ecdh_test_case ecccdh_SECP521R1_24_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_12_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_13_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_14_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_1_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_15_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_16_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_17_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_18_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_19_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_20_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_21_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_22_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_23_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_24_test_case = {
static const ecdh_test_case ecccdh_SECP192R1_2_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_0_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_1_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_2_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_3_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_4_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_5_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_6_test_case = {
static const ecdh_test_case ecccdh_SECP224R1_7_test_case = {
static const ecdh_test_case x25519_WEI25519_3_test_case = {
static const ecdh_test_case x25519_WEI25519_0_test_case = {
static const ecdh_test_case x25519_WEI25519_1_test_case = {
static const ecdh_test_case x25519_WEI25519_2_test_case = {
static const ecdh_test_case x448_WEI448_0_test_case = {
static const ecdh_test_case x448_WEI448_1_test_case = {