Lines Matching refs:tstid

39 static int test_dhkem_encapsulate(int tstid)  in test_dhkem_encapsulate()  argument
43 const TEST_ENCAPDATA *t = &ec_encapdata[tstid]; in test_dhkem_encapsulate()
65 static int test_dhkem_decapsulate(int tstid) in test_dhkem_decapsulate() argument
69 const TEST_ENCAPDATA *t = &ec_encapdata[tstid]; in test_dhkem_decapsulate()
88 static int test_settables(int tstid) in test_settables() argument
90 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_settables()
105 static int test_init_multiple(int tstid) in test_init_multiple() argument
107 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_init_multiple()
168 static int test_no_operation_set(int tstid) in test_no_operation_set() argument
170 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_no_operation_set()
171 const TEST_ENCAPDATA *t = &ec_encapdata[tstid]; in test_no_operation_set()
183 static int test_ikm_small(int tstid) in test_ikm_small() argument
191 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_ikm_small()
206 static int test_input_size_small(int tstid) in test_input_size_small() argument
213 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_input_size_small()
260 static int test_auth_key_type_mismatch(int tstid) in test_auth_key_type_mismatch() argument
262 int id1 = tstid; in test_auth_key_type_mismatch()
263 int id2 = !tstid; in test_auth_key_type_mismatch()
324 static int test_null_params(int tstid) in test_null_params() argument
326 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_null_params()
327 const TEST_ENCAPDATA *t = &ec_encapdata[tstid]; in test_null_params()
343 static int test_set_params(int tstid) in test_set_params() argument
346 EVP_PKEY_CTX *ctx = rctx[tstid]; in test_set_params()
393 static int test_nopublic(int tstid) in test_nopublic() argument
398 int encap = ((tstid & 1) == 0); in test_nopublic()
399 int keytype = tstid >= TEST_KEM_ENCAP_DECAP; in test_nopublic()
428 static int test_noauthpublic(int tstid) in test_noauthpublic() argument
432 int encap = ((tstid & 1) == 0); in test_noauthpublic()
433 int keytype = tstid >= TEST_KEM_ENCAP_DECAP; in test_noauthpublic()
465 static int test_ec_dhkem_derivekey(int tstid) in test_ec_dhkem_derivekey() argument
471 const TEST_DERIVEKEY_DATA *t = &ec_derivekey_data[tstid]; in test_ec_dhkem_derivekey()
507 static int test_ec_noikme(int tstid) in test_ec_noikme() argument
523 if (tstid >= sz) { in test_ec_noikme()
525 tstid -= sz; in test_ec_noikme()
527 curve = dhkem_supported_curves[tstid]; in test_ec_noikme()
598 static int test_ec_badpublic(int tstid) in test_ec_badpublic() argument
606 int encap = ((tstid & 1) == 0); in test_ec_badpublic()
646 static int test_ec_badauth(int tstid) in test_ec_badauth() argument
655 int encap = ((tstid & 1) == 0); in test_ec_badauth()
706 static int test_ecx_dhkem_derivekey(int tstid) in test_ecx_dhkem_derivekey() argument
716 const TEST_DERIVEKEY_DATA *t = &ecx_derivekey_data[tstid]; in test_ecx_dhkem_derivekey()