/third_party/openssl/crypto/x509/ |
D | x_all.c | 26 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 …]
|
D | x_name.c | 165 &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()
|
D | x509_req.c | 175 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/ |
D | cms_io.c | 37 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()
|
D | cms_ess.c | 36 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()
|
D | cms_pwri.c | 136 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/ |
D | pk7_mime.c | 20 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()
|
D | pk7_attr.c | 30 ASN1_ITEM_rptr(X509_ALGORS)); in PKCS7_add_attrib_smimecap() 46 ASN1_ITEM_rptr(X509_ALGORS)); in STACK_OF()
|
D | bio_pk7.c | 23 return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7)); in BIO_new_PKCS7()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_add.c | 60 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()
|
D | p12_sbag.c | 81 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()
|
D | p12_utl.c | 224 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()
|
D | p12_p8d.c | 21 ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass, in PKCS8_decrypt()
|
D | p12_p8e.c | 51 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_set0_pbe()
|
D | p12_crpt.c | 41 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS12_PBE_keyivgen()
|
/third_party/openssl/crypto/ocsp/ |
D | ocsp_local.h | 219 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),\
|
D | ocsp_ht.c | 156 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/ |
D | asn1t.h | 813 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/ |
D | evp_asn1.c | 74 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()
|
D | p5_scrypt.c | 128 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()
|
D | p5_pbev2.c | 122 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()
|
D | p5_pbe.c | 61 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) {
|
/third_party/openssl/crypto/rsa/ |
D | rsa_asn1.c | 115 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa); 120 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), rsa); in RSAPrivateKey_dup()
|
D | rsa_ameth.c | 47 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/ |
D | p5_crpt2.c | 148 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()
|