/external/openssl/crypto/pkcs7/ |
pk7_smime.c | 71 BIO *p7bio = NULL; local 146 if (!(p7bio = PKCS7_dataInit(p7, NULL))) { 151 SMIME_crlf_copy(data, p7bio, flags); 154 if (!PKCS7_dataFinal(p7,p7bio)) { 159 BIO_free_all(p7bio); 163 BIO_free_all(p7bio); 178 BIO *p7bio; local 276 if (!(p7bio=PKCS7_dataInit(p7,tmpin))) 287 /* We now have to 'read' from p7bio to calculate digests etc. */ 290 i=BIO_read(p7bio,buf,sizeof(buf)) 398 BIO *p7bio = NULL; local [all...] |
pk7_mime.c | 75 BIO *tmpbio, *p7bio; local 86 p7bio = PKCS7_dataInit(p7, out); 88 if (!p7bio) 92 SMIME_crlf_copy(data, p7bio, flags); 95 if (PKCS7_dataFinal(p7, p7bio) <= 0) 104 while (p7bio != out) 106 tmpbio = BIO_pop(p7bio); 107 BIO_free(p7bio); 108 p7bio = tmpbio;
|
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);
|
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);
|
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);
|
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);
|