Home
last modified time | relevance | path

Searched refs:keytype (Results 1 – 12 of 12) sorted by relevance

/test/
A Dendecoder_legacy_test.c73 const char *keytype; member
216 const char *keytype; member
280 if (strcmp(keys[i].keytype, type) == 0) in lookup_key()
433 static int test_DER(const char *keytype, int evp_type, in test_DER() argument
536 test_stanza->keytype, structure); in test_key()
556 test_stanza->keytype, structure); in test_key()
574 test_stanza->keytype, structure); in test_key()
593 test_stanza->keytype, structure); in test_key()
666 test_stanza->keytype, structure); in test_key()
698 if (strcmp(keys[i].keytype, "DH") == 0) { in OPT_TEST_DECLARE_USAGE()
[all …]
A Dfake_rsaprov.c1109 #define DO_PrivateKeyInfo(keytype) \ argument
1110 "PrivateKeyInfo", keytype##_evp_type, \
1121 #define DO_SubjectPublicKeyInfo(keytype) \ argument
1122 "SubjectPublicKeyInfo", keytype##_evp_type, \
1150 #define MAKE_DECODER(keytype_name, keytype, type, kind) \ argument
1151 static struct keytype_desc_st kind##_##keytype##_desc = \
1153 DO_##kind(keytype) }; \
1155 static OSSL_FUNC_decoder_newctx_fn kind##_der2##keytype##_newctx; \
1157 static void *kind##_der2##keytype##_newctx(void *provctx) \
1161 static int kind##_der2##keytype##_does_selection(void *provctx, \
[all …]
A Devp_pkey_dhkem_test.c399 int keytype = tstid >= TEST_KEM_ENCAP_DECAP; in test_nopublic() local
400 const TEST_ENCAPDATA *t = &ec_encapdata[keytype]; in test_nopublic()
401 int expected = (keytype == TEST_KEYTYPE_X25519); in test_nopublic()
433 int keytype = tstid >= TEST_KEM_ENCAP_DECAP; in test_noauthpublic() local
434 const TEST_ENCAPDATA *t = &ec_encapdata[keytype]; in test_noauthpublic()
435 EVP_PKEY_CTX *ctx = rctx[keytype]; in test_noauthpublic()
436 int expected = (keytype == TEST_KEYTYPE_X25519); in test_noauthpublic()
A Dlms_test.c128 static EVP_PKEY *key_decode_from_bio(BIO *bio, const char *keytype) in key_decode_from_bio() argument
135 keytype, in key_decode_from_bio()
149 const char *keytype) in key_decode_from_data() argument
156 key = key_decode_from_bio(bio, keytype); in key_decode_from_data()
A Dtls-provider.c2479 #define DO_PrivateKeyInfo(keytype) \ argument
2491 #define DO_SubjectPublicKeyInfo(keytype) \ argument
2520 #define MAKE_DECODER(keytype_name, keytype, type, kind) \ argument
2521 static struct keytype_desc_st kind##_##keytype##_desc = \
2522 { keytype_name, xor_##keytype##_keymgmt_functions, \
2523 DO_##kind(keytype) }; \
2525 static OSSL_FUNC_decoder_newctx_fn kind##_der2##keytype##_newctx; \
2527 static void *kind##_der2##keytype##_newctx(void *provctx) \
2531 static int kind##_der2##keytype##_does_selection(void *provctx, \
2535 &kind##_##keytype##_desc); \
[all …]
A Devp_extra_test2.c292 static int do_pkey_tofrom_data_select(EVP_PKEY *key, const char *keytype) in do_pkey_tofrom_data_select() argument
298 const char *privtag = strcmp(keytype, "RSA") == 0 ? "d" : "priv"; in do_pkey_tofrom_data_select()
299 const int use_octstring = strcmp(keytype, "X25519") == 0; in do_pkey_tofrom_data_select()
320 if (!TEST_ptr(fromctx = EVP_PKEY_CTX_new_from_name(mainctx, keytype, NULL)) in do_pkey_tofrom_data_select()
A Devp_extra_test.c847 const char *keytype; member
893 static EVP_PKEY *load_example_key(const char *keytype, in load_example_key() argument
899 OSSL_DECODER_CTX_new_for_pkey(&pkey, "DER", NULL, keytype, 0, in load_example_key()
1043 static EVP_PKEY *make_key_fromdata(char *keytype, OSSL_PARAM *params) in make_key_fromdata() argument
1105 static int test_EVP_PKEY_ffc_priv_pub(char *keytype) in test_EVP_PKEY_ffc_priv_pub() argument
1134 || !TEST_ptr(just_params = make_key_fromdata(keytype, params))) in test_EVP_PKEY_ffc_priv_pub()
1176 || !TEST_ptr(params_and_pub = make_key_fromdata(keytype, params))) in test_EVP_PKEY_ffc_priv_pub()
4216 const char *keytype = NULL; in test_pkey_ctx_fail_without_provider() local
4236 keytype = "RSA"; in test_pkey_ctx_fail_without_provider()
4240 keytype = "SM2"; in test_pkey_ctx_fail_without_provider()
[all …]
A Dslh_dsa_test.c39 const char *keytype = public ? OSSL_PKEY_PARAM_PUB_KEY : OSSL_PKEY_PARAM_PRIV_KEY; in slh_dsa_key_from_data() local
42 params[0] = OSSL_PARAM_construct_octet_string(keytype, (uint8_t *)data, datalen); in slh_dsa_key_from_data()
A Dendecode_test.c148 const char *keytype, int selection, const char *pass);
321 const char *keytype, int selection, in decode_EVP_PKEY_prov() argument
354 keytype, in decode_EVP_PKEY_prov()
/test/recipes/30-test_evp_data/
A Devppkey_ecx.txt92 Reason = operation not supported for this keytype
96 Reason = operation not supported for this keytype
182 Reason = operation not supported for this keytype
186 Reason = operation not supported for this keytype
A Devppkey_rsa.txt290 Reason = operation not supported for this keytype
A Devppkey_rsa_common.txt366 Reason = operation not supported for this keytype

Completed in 47 milliseconds