Searched refs:p7bio (Results 1 – 5 of 5) sorted by relevance
/external/openssl/crypto/pkcs7/ |
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 | pk7_smime.c | 117 BIO *p7bio; in PKCS7_final() local 119 if (!(p7bio = PKCS7_dataInit(p7, NULL))) in PKCS7_final() 125 SMIME_crlf_copy(data, p7bio, flags); in PKCS7_final() 127 (void)BIO_flush(p7bio); in PKCS7_final() 130 if (!PKCS7_dataFinal(p7,p7bio)) in PKCS7_final() 139 BIO_free_all(p7bio); in PKCS7_final() 276 BIO *p7bio; in PKCS7_verify() local 374 if (!(p7bio=PKCS7_dataInit(p7,tmpin))) in PKCS7_verify() 388 i=BIO_read(p7bio,buf,sizeof(buf)); in PKCS7_verify() 408 j=PKCS7_signatureVerify(p7bio,p7,si, signer); in PKCS7_verify() [all …]
|
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 | 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 | 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);
|