Lines Matching defs:bio
253 PKCS7_dataInit(PKCS7 *p7, BIO *bio)
381 if (bio == NULL) {
383 bio = BIO_new(BIO_s_null());
385 bio = BIO_new_mem_buf(os->data, os->length);
386 if (bio == NULL) {
387 bio = BIO_new(BIO_s_mem());
388 if (bio == NULL)
390 BIO_set_mem_eof_return(bio, 0);
394 BIO_push(out, bio);
396 out = bio;
397 bio = NULL;
428 BIO *out = NULL, *btmp = NULL, *etmp = NULL, *bio = NULL;
610 bio = in_bio;
613 bio = BIO_new_mem_buf(data_body->data, data_body->length);
615 bio = BIO_new(BIO_s_mem());
616 BIO_set_mem_eof_return(bio, 0);
618 if (bio == NULL)
621 BIO_push(out, bio);
640 PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid)
643 bio = BIO_find_type(bio, BIO_TYPE_MD);
644 if (bio == NULL) {
648 BIO_get_md_ctx(bio, pmd);
654 return bio;
655 bio = BIO_next(bio);
693 PKCS7_dataFinal(PKCS7 *p7, BIO *bio)
790 if ((btmp = PKCS7_find_digest(&mdc, bio, j)) == NULL)
826 if (!PKCS7_find_digest(&mdc, bio,
847 btmp = BIO_find_type(bio, BIO_TYPE_MEM);
929 PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio,
983 return PKCS7_signatureVerify(bio, p7, si, x509);
991 PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509)
1011 btmp = bio;