Lines Matching refs:bio
20 BIO *bio; member
48 res = BIO_free(cb->bio); in ossl_core_bio_free()
56 OSSL_CORE_BIO *ossl_core_bio_new_from_bio(BIO *bio) in ossl_core_bio_new_from_bio() argument
60 if (cb == NULL || !BIO_up_ref(bio)) { in ossl_core_bio_new_from_bio()
64 cb->bio = bio; in ossl_core_bio_new_from_bio()
68 static OSSL_CORE_BIO *core_bio_new_from_new_bio(BIO *bio) in core_bio_new_from_new_bio() argument
72 if (bio == NULL) in core_bio_new_from_new_bio()
75 BIO_free(bio); in core_bio_new_from_new_bio()
78 cb->bio = bio; in core_bio_new_from_new_bio()
95 return BIO_read_ex(cb->bio, data, dlen, readbytes); in ossl_core_bio_read_ex()
101 return BIO_write_ex(cb->bio, data, dlen, written); in ossl_core_bio_write_ex()
106 return BIO_gets(cb->bio, buf, size); in ossl_core_bio_gets()
111 return BIO_puts(cb->bio, buf); in ossl_core_bio_puts()
116 return BIO_ctrl(cb->bio, cmd, larg, parg); in ossl_core_bio_ctrl()
121 return BIO_vprintf(cb->bio, format, args); in ossl_core_bio_vprintf()