Home
last modified time | relevance | path

Searched refs:ri_type (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/cms/
H A Dcms_smime.c605 int i, r, ri_type; in CMS_decrypt_set1_pkey() local
610 ri_type = cms_pkey_get_ri_type(pk); in CMS_decrypt_set1_pkey()
611 if (ri_type == CMS_RECIPINFO_NONE) { in CMS_decrypt_set1_pkey()
619 if (CMS_RecipientInfo_type(ri) != ri_type) in CMS_decrypt_set1_pkey()
622 if (ri_type == CMS_RECIPINFO_AGREE) { in CMS_decrypt_set1_pkey()
662 if (cert == NULL && ri_type == CMS_RECIPINFO_TRANS && match_ri && !debug) { in CMS_decrypt_set1_pkey()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms_smime.c728 int ri_type; in CMS_decrypt_set1_pkey_and_peer() local
731 ri_type = CMS_RecipientInfo_type(ri); in CMS_decrypt_set1_pkey_and_peer()
732 if (!ossl_cms_pkey_is_ri_type_supported(pk, ri_type)) in CMS_decrypt_set1_pkey_and_peer()
735 if (ri_type == CMS_RECIPINFO_AGREE) { in CMS_decrypt_set1_pkey_and_peer()
H A Dcms_env.c1337 int ossl_cms_pkey_is_ri_type_supported(EVP_PKEY *pk, int ri_type) in ossl_cms_pkey_is_ri_type_supported() argument
1345 ri_type, &r); in ossl_cms_pkey_is_ri_type_supported()
1354 return (supportedRiType == ri_type); in ossl_cms_pkey_is_ri_type_supported()
H A Dcms_local.h455 int ossl_cms_pkey_is_ri_type_supported(EVP_PKEY *pk, int ri_type);