Searched refs:p7bio (Results 1 - 7 of 7) sorted by relevance
/barrelfish-master/lib/openssl-1.0.0d/crypto/pkcs7/ |
H A 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);
|
H A 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);
|
H A D | pk7_smime.c | 117 BIO *p7bio; local 119 if (!(p7bio = PKCS7_dataInit(p7, NULL))) 125 SMIME_crlf_copy(data, p7bio, flags); 127 (void)BIO_flush(p7bio); 130 if (!PKCS7_dataFinal(p7,p7bio)) 139 BIO_free_all(p7bio); 276 BIO *p7bio; local 374 if (!(p7bio=PKCS7_dataInit(p7,tmpin))) 385 /* We now have to 'read' from p7bio to calculate digests etc. */ 388 i=BIO_read(p7bio,bu 496 BIO *p7bio = NULL; local [all...] |
H A D | dec.c | 83 BIO *data,*detached=NULL,*p7bio=NULL; local 152 p7bio=PKCS7_dataDecode(p7,pkey,detached,x509); 154 if (p7bio == NULL) 160 /* We now have to 'read' from p7bio to calculate digests etc. */ 163 i=BIO_read(p7bio,buf,sizeof(buf)); 183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
H A D | verify.c | 80 BIO *data,*detached=NULL,*p7bio=NULL; local 154 p7bio=PKCS7_dataInit(p7,detached); 158 p7bio=PKCS7_dataInit(p7,NULL); 161 /* We now have to 'read' from p7bio to calculate digests etc. */ 164 i=BIO_read(p7bio,buf,sizeof(buf)); 185 rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/ts/ |
H A D | ts_rsp_verify.c | 150 BIO *p7bio = NULL; local 197 p7bio = PKCS7_dataInit(token, NULL); 199 /* We now have to 'read' from p7bio to calculate digests etc. */ 200 while ((i = BIO_read(p7bio,buf,sizeof(buf))) > 0); 203 j = PKCS7_signatureVerify(p7bio, token, si, signer); 220 BIO_free_all(p7bio);
|
H A D | ts_rsp_sign.c | 716 BIO *p7bio = NULL; local 784 if (!(p7bio = PKCS7_dataInit(p7, NULL))) { 790 if (!i2d_TS_TST_INFO_bio(p7bio, ctx->tst_info)) 797 if (!PKCS7_dataFinal(p7, p7bio)) 814 BIO_free_all(p7bio);
|
Completed in 39 milliseconds