Home
last modified time | relevance | path

Searched refs:evp_type (Results 1 – 5 of 5) sorted by relevance

/openssl/test/
H A Dendecoder_legacy_test.c75 int evp_type; member
217 int evp_type; member
298 static int test_protected_PEM(const char *keytype, int evp_type, in test_protected_PEM() argument
343 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_protected_PEM()
366 static int test_unprotected_PEM(const char *keytype, int evp_type, in test_unprotected_PEM() argument
410 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_unprotected_PEM()
433 static int test_DER(const char *keytype, int evp_type, in test_DER() argument
612 if (!test_DER(key->keytype, key->evp_type, legacy_obj, in test_key()
632 if (!test_DER(key->keytype, key->evp_type, legacy_obj, in test_key()
650 if (!test_DER(key->keytype, key->evp_type, legacy_obj, in test_key()
[all …]
H A Dtls-provider.c2130 int evp_type; member
2233 && OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type) in xor_der2key_decode_p8()
2278 if (desc->evp_type == 0) { in der2key_newctx()
2279 ctx->desc->evp_type = OBJ_sn2nid(tls_name); in der2key_newctx()
/openssl/providers/implementations/encode_decode/
H A Ddecode_der2key.c60 int evp_type; member
113 && (OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type in der2key_decode_p8()
116 && ctx->desc->evp_type == NID_sm2))) in der2key_decode_p8()
455 ret = ctx->desc->evp_type == EVP_PKEY_SM2 in ec_check()
456 || ctx->desc->evp_type == NID_X9_62_id_ecPublicKey; in ec_check()
458 ret = ctx->desc->evp_type != EVP_PKEY_SM2; in ec_check()
570 valid = (ctx->desc->evp_type == EVP_PKEY_RSA); in rsa_check()
573 valid = (ctx->desc->evp_type == EVP_PKEY_RSA_PSS); in rsa_check()
H A Dencode_key2any.c1244 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \ argument
/openssl/crypto/pem/
H A Dpvkfmt.c72 static EVP_PKEY *evp_pkey_new0_key(void *key, int evp_type) in evp_pkey_new0_key() argument
83 if (!ossl_assert(evp_type == EVP_PKEY_RSA || evp_type == EVP_PKEY_DSA)) { in evp_pkey_new0_key()
89 switch (evp_type) { in evp_pkey_new0_key()
111 switch (evp_type) { in evp_pkey_new0_key()

Completed in 50 milliseconds