Searched refs:evp_type (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | endecoder_legacy_test.c | 75 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 481 || !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type, in test_DER() 522 || !TEST_int_eq(EVP_PKEY_get_id(downgraded_pkey), key->evp_type) in test_key() 537 if (!test_protected_PEM(key->keytype, key->evp_type, legacy_obj, in test_key() [all …]
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | decode_der2key.c | 59 int evp_type; member 111 && (OBJ_obj2nid(alg->algorithm) == ctx->desc->evp_type in der2key_decode_p8() 114 && ctx->desc->evp_type == NID_sm2))) in der2key_decode_p8() 429 ret = ctx->desc->evp_type == EVP_PKEY_SM2 in ec_check() 430 || ctx->desc->evp_type == NID_X9_62_id_ecPublicKey; in ec_check() 432 ret = ctx->desc->evp_type != EVP_PKEY_SM2; in ec_check() 540 return ctx->desc->evp_type == EVP_PKEY_RSA; in rsa_check() 542 return ctx->desc->evp_type == EVP_PKEY_RSA_PSS; in rsa_check()
|
H A D | encode_key2any.c | 1246 #define MAKE_ENCODER(impl, type, evp_type, kind, output) \ argument
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pvkfmt.c | 70 static EVP_PKEY *evp_pkey_new0_key(void *key, int evp_type) in evp_pkey_new0_key() argument 81 if (!ossl_assert(evp_type == EVP_PKEY_RSA || evp_type == EVP_PKEY_DSA)) { in evp_pkey_new0_key() 87 switch (evp_type) { in evp_pkey_new0_key() 105 switch (evp_type) { in evp_pkey_new0_key()
|