Searched refs:p7bio (Results 1 – 6 of 6) sorted by relevance
/external/openssl/crypto/pkcs7/ |
D | pk7_smime.c | 71 BIO *p7bio = NULL; in PKCS7_sign() local 146 if (!(p7bio = PKCS7_dataInit(p7, NULL))) { in PKCS7_sign() 151 SMIME_crlf_copy(data, p7bio, flags); in PKCS7_sign() 154 if (!PKCS7_dataFinal(p7,p7bio)) { in PKCS7_sign() 159 BIO_free_all(p7bio); in PKCS7_sign() 163 BIO_free_all(p7bio); in PKCS7_sign() 178 BIO *p7bio; in PKCS7_verify() local 277 if (!(p7bio=PKCS7_dataInit(p7,tmpin))) in PKCS7_verify() 290 i=BIO_read(p7bio,buf,sizeof(buf)); in PKCS7_verify() 310 j=PKCS7_signatureVerify(p7bio,p7,si, signer); in PKCS7_verify() [all …]
|
D | enc.c | 72 BIO *data,*p7bio; local 152 if ((p7bio=PKCS7_dataInit(p7,NULL)) == NULL) goto err; 158 BIO_write(p7bio,buf,i); 160 BIO_flush(p7bio); 162 if (!PKCS7_dataFinal(p7,p7bio)) goto err; 163 BIO_free(p7bio);
|
D | sign.c | 74 BIO *data,*p7bio; local 133 if ((p7bio=PKCS7_dataInit(p7,NULL)) == NULL) goto err; 139 BIO_write(p7bio,buf,i); 142 if (!PKCS7_dataFinal(p7,p7bio)) goto err; 143 BIO_free(p7bio);
|
D | dec.c | 83 BIO *data,*detached=NULL,*p7bio=NULL; local 152 p7bio=PKCS7_dataDecode(p7,pkey,detached,x509); 154 if (p7bio == NULL) 163 i=BIO_read(p7bio,buf,sizeof(buf)); 183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
D | verify.c | 80 BIO *data,*detached=NULL,*p7bio=NULL; local 154 p7bio=PKCS7_dataInit(p7,detached); 158 p7bio=PKCS7_dataInit(p7,NULL); 164 i=BIO_read(p7bio,buf,sizeof(buf)); 185 rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
D | pk7_mime.c | 237 BIO *tmpbio, *p7bio; in pkcs7_output_data() local 248 p7bio = PKCS7_dataInit(p7, out); in pkcs7_output_data() 251 SMIME_crlf_copy(data, p7bio, flags); in pkcs7_output_data() 257 PKCS7_dataFinal(p7, p7bio); in pkcs7_output_data() 261 while (p7bio != out) in pkcs7_output_data() 263 tmpbio = BIO_pop(p7bio); in pkcs7_output_data() 264 BIO_free(p7bio); in pkcs7_output_data() 265 p7bio = tmpbio; in pkcs7_output_data()
|