Home
last modified time | relevance | path

Searched refs:OBJ_nid2obj (Results 1 – 25 of 36) sorted by relevance

12

/external/openssl/crypto/pkcs12/
Dp12_add.c74 bag->type = OBJ_nid2obj(nid1); in PKCS12_item_pack_safebag()
84 safebag->type = OBJ_nid2obj(nid2); in PKCS12_item_pack_safebag()
97 bag->type = OBJ_nid2obj(NID_keyBag); in PKCS12_MAKE_KEYBAG()
117 bag->type = OBJ_nid2obj(NID_pkcs8ShroudedKeyBag); in PKCS12_MAKE_SHKEYBAG()
142 p7->type = OBJ_nid2obj(NID_pkcs7_data); in PKCS12_pack_p7data()
Dp12_init.c73 pkcs12->authsafes->type = OBJ_nid2obj(mode); in PKCS12_init()
Dp12_mutl.c177 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); in PKCS12_setup_mac()
/external/openssl/crypto/asn1/
Dp5_pbev2.c108 obj = OBJ_nid2obj(alg_nid);
179 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid),
185 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);
203 ret->algorithm = OBJ_nid2obj(NID_pbes2);
Da_sign.c162 a->algorithm=OBJ_nid2obj(type->pkey_type); in ASN1_sign()
258 X509_ALGOR_set0(algor1, OBJ_nid2obj(signid), paramtype, NULL); in ASN1_item_sign()
260 X509_ALGOR_set0(algor2, OBJ_nid2obj(signid), paramtype, NULL); in ASN1_item_sign()
Dnsseq.c71 nsseq->type = OBJ_nid2obj(NID_netscape_cert_sequence); in nsseq_cb()
Dx_attrib.c106 ret->object=OBJ_nid2obj(nid);
Dasn_moid.c153 oid = OBJ_nid2obj(nid); in do_create()
Dp5_pbe.c119 if (X509_ALGOR_set0(algor, OBJ_nid2obj(alg), V_ASN1_SEQUENCE, pbe_str))
Dn_pkey.c139 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); in i2d_RSA_NET()
157 enckey->enckey->algor->algorithm=OBJ_nid2obj(NID_rc4); in i2d_RSA_NET()
/external/openssl/crypto/pkcs7/
Dpk7_lib.c164 obj=OBJ_nid2obj(type); /* will not fail */ in PKCS7_set_type()
192 = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
201 = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
210 = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
231 p7->type = OBJ_nid2obj(type); in PKCS7_set0_type_other()
281 alg->algorithm=OBJ_nid2obj(nid); in PKCS7_add_signer()
391 X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_type(dgst)), in PKCS7_SIGNER_INFO_set()
452 p7->d.digest->md->algorithm = OBJ_nid2obj(EVP_MD_nid(md)); in PKCS7_set_digest()
Dpk7_attr.c106 alg->algorithm = OBJ_nid2obj (nid); in PKCS7_simple_smimecap()
133 coid = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_add_attrib_content_type()
Dsign.c122 OBJ_nid2obj(NID_pkcs7_data));
/external/openssl/crypto/rsa/
Drsa_ameth.c77 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_RSA), in rsa_pub_encode()
139 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(NID_rsaEncryption), 0, in rsa_priv_encode()
306 X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaEncryption), in rsa_pkey_ctrl()
/external/openssl/crypto/ec/
Dec_ameth.c81 *ppval = OBJ_nid2obj(nid); in eckey_param2type()
126 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_EC), in eckey_pub_encode()
359 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(NID_X9_62_id_ecPublicKey), 0, in eckey_priv_encode()
594 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in ec_pkey_ctrl()
612 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in ec_pkey_ctrl()
/external/openssl/crypto/x509/
Dx509name.c71 obj=OBJ_nid2obj(nid); in X509_NAME_get_text_by_NID()
102 obj=OBJ_nid2obj(nid); in X509_NAME_get_index_by_NID()
300 obj=OBJ_nid2obj(nid); in X509_NAME_ENTRY_create_by_NID()
Dx509_v3.c79 obj=OBJ_nid2obj(nid); in X509v3_get_ext_by_NID()
189 obj=OBJ_nid2obj(nid); in X509_EXTENSION_create_by_NID()
Dx509_att.c78 obj=OBJ_nid2obj(nid); in X509at_get_attr_by_NID()
217 obj=OBJ_nid2obj(nid); in X509_ATTRIBUTE_create_by_NID()
/external/openssl/crypto/dsa/
Ddsa_ameth.c173 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_DSA), in dsa_pub_encode()
339 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(NID_dsa), 0, in dsa_priv_encode()
562 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in dsa_pkey_ctrl()
579 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in dsa_pkey_ctrl()
/external/openssl/apps/
Dcrl2p7.c213 p7->type=OBJ_nid2obj(NID_pkcs7_signed); in MAIN()
215 p7s->contents->type=OBJ_nid2obj(NID_pkcs7_data); in MAIN()
/external/openssl/crypto/dh/
Ddh_ameth.c165 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_DH), in dh_pub_encode()
272 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(NID_dhKeyAgreement), 0, in dh_priv_encode()
/external/openssl/crypto/ocsp/
Docsp_lib.c119 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err; in OCSP_cert_id_new()
Docsp_ext.c463 if ((nid=OBJ_txt2nid(*oids))!=NID_undef&&(o=OBJ_nid2obj(nid))) in OCSP_accept_responses_new()
504 if (!(ad->method=OBJ_nid2obj(NID_ad_OCSP))) goto err; in OCSP_url_svcloc_new()
/external/openssl/crypto/evp/
Devp_lib.c170 otmp = OBJ_nid2obj(nid); in EVP_CIPHER_type()
/external/openssl/crypto/x509v3/
Dv3_cpols.c223 qual->pqualid = OBJ_nid2obj(NID_id_qt_cps); in policy_section()
280 qual->pqualid = OBJ_nid2obj(NID_id_qt_unotice); in notice_section()

12