Home
last modified time | relevance | path

Searched refs:ASN1_ITEM_rptr (Results 1 – 25 of 42) sorted by relevance

12

/third_party/openssl/crypto/x509/
Dx_all.c26 return (ASN1_item_verify(ASN1_ITEM_rptr(X509_CINF), &a->sig_alg, in X509_verify()
32 return (ASN1_item_verify(ASN1_ITEM_rptr(X509_REQ_INFO), in X509_REQ_verify()
38 return (ASN1_item_verify(ASN1_ITEM_rptr(NETSCAPE_SPKAC), in NETSCAPE_SPKI_verify()
45 return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), &x->cert_info.signature, in X509_sign()
53 return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_CINF), in X509_sign_ctx()
62 (ASN1_VALUE **)pcert, ASN1_ITEM_rptr(X509)); in X509_http_nbio()
68 return (ASN1_item_sign(ASN1_ITEM_rptr(X509_REQ_INFO), &x->sig_alg, NULL, in X509_REQ_sign()
74 return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_REQ_INFO), in X509_REQ_sign_ctx()
82 return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO), &x->crl.sig_alg, in X509_CRL_sign()
89 return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_CRL_INFO), in X509_CRL_sign_ctx()
[all …]
Dx_name.c165 &p, len, ASN1_ITEM_rptr(X509_NAME_INTERNAL), in x509_name_ex_d2i()
263 ASN1_ITEM_rptr(X509_NAME_INTERNAL), -1, -1); in x509_name_encode()
268 &p, ASN1_ITEM_rptr(X509_NAME_INTERNAL), -1, -1); in x509_name_encode()
474 ASN1_ITEM_rptr(X509_NAME_ENTRIES), -1, -1); in i2d_name_canon()
Dx509_req.c175 ASN1_ITEM_rptr(X509_EXTENSIONS)); in STACK_OF()
191 ASN1_ITEM_rptr(X509_EXTENSIONS)); in X509_REQ_add_extensions_nid()
/third_party/openssl/crypto/cms/
Dcms_io.c37 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms); in d2i_CMS_bio()
42 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms); in i2d_CMS_bio()
50 ASN1_ITEM_rptr(CMS_ContentInfo)); in IMPLEMENT_PEM_rw_const()
58 ASN1_ITEM_rptr(CMS_ContentInfo)); in i2d_CMS_bio_stream()
65 "CMS", ASN1_ITEM_rptr(CMS_ContentInfo)); in PEM_write_bio_CMS_stream()
80 ASN1_ITEM_rptr(CMS_ContentInfo)); in SMIME_write_CMS()
86 ASN1_ITEM_rptr in SMIME_read_CMS()
Dcms_ess.c36 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS()
145 if (!ASN1_item_digest(ASN1_ITEM_rptr(CMS_Attributes_Verify), md, in cms_msgSigDigest()
207 rct = ASN1_item_unpack(*pcont, ASN1_ITEM_rptr(CMS_Receipt)); in cms_Receipt_verify()
332 os = ASN1_item_pack(&rct, ASN1_ITEM_rptr(CMS_Receipt), NULL); in cms_encode_Receipt()
Dcms_pwri.c136 if (!ASN1_item_pack(encalg, ASN1_ITEM_rptr(X509_ALGOR), in CMS_add0_recipient_password()
304 kekalg = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(X509_ALGOR), in cms_RecipientInfo_pwri_crypt()
/third_party/openssl/crypto/pkcs7/
Dpk7_mime.c20 ASN1_ITEM_rptr(PKCS7)); in i2d_PKCS7_bio_stream()
26 "PKCS7", ASN1_ITEM_rptr(PKCS7)); in PEM_write_bio_PKCS7_stream()
42 ASN1_ITEM_rptr(PKCS7)); in SMIME_write_PKCS7()
47 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7)); in SMIME_read_PKCS7()
Dpk7_attr.c30 ASN1_ITEM_rptr(X509_ALGORS)); in PKCS7_add_attrib_smimecap()
46 ASN1_ITEM_rptr(X509_ALGORS)); in STACK_OF()
Dbio_pk7.c23 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7)); in BIO_new_PKCS7()
/third_party/openssl/crypto/pkcs12/
Dp12_add.c60 if (!ASN1_item_pack(sk, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), &p7->d.data)) { in PKCS12_pack_p7data()
79 return ASN1_item_unpack(p7->d.data, ASN1_ITEM_rptr(PKCS12_SAFEBAGS)); in STACK_OF()
117 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, in PKCS12_pack_p7encdata()
136 ASN1_ITEM_rptr(PKCS12_SAFEBAGS), in STACK_OF()
149 if (ASN1_item_pack(safes, ASN1_ITEM_rptr(PKCS12_AUTHSAFES), in PKCS12_pack_authsafes()
163 ASN1_ITEM_rptr(PKCS12_AUTHSAFES)); in STACK_OF()
Dp12_sbag.c81 ASN1_ITEM_rptr(X509)); in PKCS12_SAFEBAG_get1_cert()
91 ASN1_ITEM_rptr(X509_CRL)); in PKCS12_SAFEBAG_get1_crl()
96 return PKCS12_item_pack_safebag(x509, ASN1_ITEM_rptr(X509), in PKCS12_SAFEBAG_create_cert()
102 return PKCS12_item_pack_safebag(crl, ASN1_ITEM_rptr(X509_CRL), in PKCS12_SAFEBAG_create_crl()
Dp12_utl.c224 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); in i2d_PKCS12_bio()
230 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); in i2d_PKCS12_fp()
236 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); in d2i_PKCS12_bio()
242 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); in d2i_PKCS12_fp()
Dp12_p8d.c21 ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
Dp12_p8e.c51 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_set0_pbe()
Dp12_crpt.c41 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS12_PBE_keyivgen()
/third_party/openssl/crypto/ocsp/
Docsp_local.h219 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_REQINFO),\
224 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),&(o)->signatureAlgorithm,\
228 ASN1_item_sign_ctx(ASN1_ITEM_rptr(OCSP_RESPDATA),&(o)->signatureAlgorithm,\
231 # define OCSP_REQUEST_verify(a,r) ASN1_item_verify(ASN1_ITEM_rptr(OCSP_REQINFO),\
235 # define OCSP_BASICRESP_verify(a,r,d) ASN1_item_verify(ASN1_ITEM_rptr(OCSP_RESPDATA),\
Docsp_ht.c156 return OCSP_REQ_CTX_i2d(rctx, ASN1_ITEM_rptr(OCSP_REQUEST), in OCSP_REQ_CTX_set1_req()
476 ASN1_ITEM_rptr(OCSP_RESPONSE)); in OCSP_sendreq_nbio()
/third_party/openssl/include/openssl/
Dasn1t.h813 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
817 ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
823 return (stname *)ASN1_item_new(ASN1_ITEM_rptr(itname)); \
827 ASN1_item_free((ASN1_VALUE *)a, ASN1_ITEM_rptr(itname)); \
837 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
841 return ASN1_item_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(itname));\
847 return ASN1_item_ndef_i2d((ASN1_VALUE *)a, out, ASN1_ITEM_rptr(stname));\
855 ASN1_ITEM_rptr(stname)); \
860 ASN1_ITEM_rptr(stname)); \
870 return (stname *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, ASN1_ITEM_rptr(itname));\
[all …]
/third_party/openssl/crypto/asn1/
Devp_asn1.c74 if (ASN1_TYPE_pack_sequence(ASN1_ITEM_rptr(asn1_int_oct), &atmp, &a))
93 atmp = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(asn1_int_oct), a); in ASN1_TYPE_get_int_octetstring()
Dp5_scrypt.c128 if (ASN1_TYPE_pack_sequence(ASN1_ITEM_rptr(PBE2PARAM), pbe2, in PKCS5_pbe2_set_scrypt()
197 if (ASN1_TYPE_pack_sequence(ASN1_ITEM_rptr(SCRYPT_PARAMS), sparam, in pkcs5_scrypt_set()
230 sparam = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(SCRYPT_PARAMS), param); in PKCS5_v2_scrypt_keyivgen()
Dp5_pbev2.c122 if (!ASN1_TYPE_pack_sequence(ASN1_ITEM_rptr(PBE2PARAM), pbe2,
209 if (!ASN1_TYPE_pack_sequence(ASN1_ITEM_rptr(PBKDF2PARAM), kdf, in PKCS5_pbkdf2_set()
Dp5_pbe.c61 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) {
/third_party/openssl/crypto/rsa/
Drsa_asn1.c115 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa);
120 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), rsa); in RSAPrivateKey_dup()
Drsa_ameth.c47 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode()
227 return ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(X509_ALGOR), in rsa_mgf1_decode()
431 pss = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(RSA_PSS_PARAMS), in rsa_pss_decode()
561 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL) in rsa_md_to_mgf1()
655 os = ASN1_item_pack(pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), NULL); in rsa_ctx_to_pss_string()
899 oaep = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(RSA_OAEP_PARAMS), in rsa_oaep_decode()
1040 if (!ASN1_item_pack(oaep, ASN1_ITEM_rptr(RSA_OAEP_PARAMS), &os)) in rsa_cms_encrypt()
/third_party/openssl/crypto/evp/
Dp5_crpt2.c148 pbe2 = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBE2PARAM), param); in PKCS5_v2_PBE_keyivgen()
207 kdf = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBKDF2PARAM), param); in PKCS5_v2_PBKDF2_keyivgen()

12