Lines Matching refs:bp
192 const char *name, BIO *bp, pem_password_cb *cb,
202 if (!PEM_read_bio(bp, &nm, &header, &data, &len)) {
254 int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp,
338 i = PEM_write_bio(bp, name, buf, data, i);
521 int PEM_write_bio(BIO *bp, const char *name, const char *header,
532 if ((BIO_write(bp, "-----BEGIN ", 11) != 11) ||
533 (BIO_write(bp, name, nlen) != nlen) ||
534 (BIO_write(bp, "-----\n", 6) != 6))
539 if ((BIO_write(bp, header, i) != i) || (BIO_write(bp, "\n", 1) != 1))
553 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl))
560 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl))
564 if ((BIO_write(bp, "-----END ", 9) != 9) ||
565 (BIO_write(bp, name, nlen) != nlen) ||
566 (BIO_write(bp, "-----\n", 6) != 6))
595 int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
618 i = BIO_gets(bp, buf, 254);
651 i = BIO_gets(bp, buf, 254);
683 i = BIO_gets(bp, buf, 254);
707 i = BIO_gets(bp, buf, 254);