Home
last modified time | relevance | path

Searched refs:OBJ_obj2nid (Results 1 – 25 of 113) sorted by relevance

12345

/external/openssl/crypto/pkcs7/
Dpk7_lib.c70 nid=OBJ_obj2nid(p7->type); in PKCS7_ctrl()
133 i=OBJ_obj2nid(p7->type); in PKCS7_set_content()
243 i=OBJ_obj2nid(p7->type); in PKCS7_add_signer()
259 nid=OBJ_obj2nid(psi->digest_alg->algorithm); in PKCS7_add_signer()
266 if (OBJ_obj2nid(alg->algorithm) == nid) in PKCS7_add_signer()
300 i=OBJ_obj2nid(p7->type); in PKCS7_add_certificate()
335 i=OBJ_obj2nid(p7->type); in PKCS7_add_crl()
510 i=OBJ_obj2nid(p7->type); in PKCS7_add_recipient_info()
596 i=OBJ_obj2nid(p7->type); in PKCS7_set_cipher()
625 switch (OBJ_obj2nid(p7->type)) in PKCS7_stream()
Dpkcs7.h229 #define PKCS7_type_is_signed(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
230 #define PKCS7_type_is_encrypted(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)
231 #define PKCS7_type_is_enveloped(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)
233 (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
234 #define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
235 #define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
Dpk7_doit.c75 int nid=OBJ_obj2nid(p7->type); in PKCS7_type_is_other()
275 i=OBJ_obj2nid(p7->type); in PKCS7_dataInit()
436 i=OBJ_obj2nid(p7->type); in PKCS7_dataDecode()
490 j=OBJ_obj2nid(xa->algorithm); in PKCS7_dataDecode()
756 i=OBJ_obj2nid(p7->type); in PKCS7_dataFinal()
826 j = OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_dataFinal()
874 OBJ_obj2nid(p7->d.digest->md->algorithm))) in PKCS7_dataFinal()
1040 md_type=OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_signatureVerify()
1155 i=OBJ_obj2nid(p7->type); in PKCS7_get_issuer_and_serial()
1286 if (OBJ_obj2nid(attr->object) == nid) in add_attribute()
Dpk7_mime.c80 int ctype_nid = OBJ_obj2nid(p7->type); in SMIME_write_PKCS7()
/external/openssl/crypto/cms/
Dcms_lib.c117 switch (OBJ_obj2nid(cms->contentType)) in CMS_dataInit()
183 switch (OBJ_obj2nid(cms->contentType)) in CMS_dataFinal()
211 switch (OBJ_obj2nid(cms->contentType)) in CMS_get0_content()
250 switch (OBJ_obj2nid(cms->contentType)) in cms_get0_econtent_type()
396 nid = OBJ_obj2nid(mdoid); in cms_DigestAlgorithm_find_ctx()
421 switch (OBJ_obj2nid(cms->contentType)) in STACK_OF()
500 switch (OBJ_obj2nid(cms->contentType)) in STACK_OF()
Dcms_cd.c119 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) in cms_CompressedData_init_bio()
127 if (OBJ_obj2nid(compoid) != NID_zlib_compression) in cms_CompressedData_init_bio()
Dcms_io.c116 int ctype_nid = OBJ_obj2nid(cms->contentType); in SMIME_write_CMS()
117 int econt_nid = OBJ_obj2nid(CMS_get0_eContentType(cms)); in SMIME_write_CMS()
Dcms_smime.c154 if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_data) in CMS_data()
187 if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_digest) in CMS_digest_verify()
232 if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_encrypted) in CMS_EncryptedData_decrypt()
739 if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_pkcs7_enveloped) in CMS_decrypt()
799 if (OBJ_obj2nid(CMS_get0_type(cms)) != NID_id_smime_ct_compressedData) in CMS_uncompress()
/external/openssl/crypto/asn1/
Dt_spki.c80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm); in NETSCAPE_SPKI_print()
93 i=OBJ_obj2nid(spki->sig_algor->algorithm); in NETSCAPE_SPKI_print()
Da_verify.c86 i=OBJ_obj2nid(a->algorithm); in ASN1_verify()
152 if (!OBJ_find_sigid_algs(OBJ_obj2nid(a->algorithm), &mdnid, &pknid)) in ASN1_item_verify()
/external/openssl/crypto/x509v3/
Dpcy_map.c85 if ((OBJ_obj2nid(map->subjectDomainPolicy) == NID_any_policy) in policy_cache_set_mapping()
86 || (OBJ_obj2nid(map->issuerDomainPolicy) == NID_any_policy)) in policy_cache_set_mapping()
Dv3_lib.c115 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL; in X509V3_EXT_get()
209 if(OBJ_obj2nid(ex->object) == nid) { in X509V3_get_d2i()
Dv3prin.c93 printf("%s\n", OBJ_nid2ln(OBJ_obj2nid(ext->object))); in main()
Dv3conf.c118 printf("%s", OBJ_nid2ln(OBJ_obj2nid(ext->object))); in main()
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
Dpcy_map.c86 if ((OBJ_obj2nid(map->subjectDomainPolicy) == NID_any_policy) in policy_cache_set_mapping()
87 || (OBJ_obj2nid(map->issuerDomainPolicy) == NID_any_policy)) in policy_cache_set_mapping()
Dv3_lib.c119 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL; in X509V3_EXT_get()
235 if(OBJ_obj2nid(ex->object) == nid) { in X509V3_get_d2i()
/external/openssl/include/openssl/
Dpkcs7.h229 #define PKCS7_type_is_signed(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
230 #define PKCS7_type_is_encrypted(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)
231 #define PKCS7_type_is_enveloped(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)
233 (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
234 #define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
235 #define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_rsa_asn1.c267 OBJ_obj2nid(alg->algorithm) != NID_mgf1 || in rsa_mgf1_decode()
386 if (OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss) { in rsa_sig_print()
510 if (OBJ_obj2nid(alg->algorithm) != NID_mgf1) { in rsa_mgf1_to_md()
598 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) { in rsa_pss_to_ctx()
675 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) { in rsa_item_verify()
/external/openssl/crypto/pkcs12/
Dp12_npas.c118 bagnid = OBJ_obj2nid(p7->type); in newpass_p12()
220 *pnid = OBJ_obj2nid(alg->algorithm); in alg_get()
/external/chromium_org/third_party/boringssl/src/crypto/obj/
Dobj.c186 int OBJ_obj2nid(const ASN1_OBJECT *obj) { in OBJ_obj2nid() function
223 return OBJ_obj2nid(&obj); in OBJ_cbs2nid()
299 nid = OBJ_obj2nid(obj); in OBJ_txt2nid()
423 if (!dont_return_name && (nid = OBJ_obj2nid(obj)) != NID_undef) { in OBJ_obj2txt()
/external/openssl/crypto/rsa/
Drsa_ameth.c289 if (OBJ_obj2nid(pss->maskGenAlgorithm->algorithm) == NID_mgf1 in rsa_pss_decode()
389 if (OBJ_obj2nid(sigalg->algorithm) == NID_rsassaPss) in rsa_sig_print()
471 if (OBJ_obj2nid(sigalg->algorithm) != NID_rsassaPss) in rsa_item_verify()
487 if (OBJ_obj2nid(pss->maskGenAlgorithm->algorithm) != NID_mgf1) in rsa_item_verify()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dobj.h99 OPENSSL_EXPORT int OBJ_obj2nid(const ASN1_OBJECT *obj);
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx509type.c100 i=OBJ_obj2nid(x->sig_alg->algorithm); in X509_certificate_type()
/external/openssl/crypto/x509/
Dx509type.c103 i=OBJ_obj2nid(x->sig_alg->algorithm); in X509_certificate_type()
Dx509_trs.c277 if(OBJ_obj2nid(obj) == id) return X509_TRUST_REJECTED; in obj_trust()
283 if(OBJ_obj2nid(obj) == id) return X509_TRUST_TRUSTED; in obj_trust()

12345