Lines Matching defs:bio_buf
516 BIO *bio_buf;
571 bio_buf = BIO_new(BIO_s_mem());
572 OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeof(ECDSAPrivateKeyPEM));
573 ecdsakey = PEM_read_bio_ECPrivateKey(bio_buf, NULL, NULL, NULL);
576 BIO_free(bio_buf);
583 bio_buf = BIO_new(BIO_s_mem());
584 OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertPEM));
585 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL);
587 BIO_free(bio_buf);
595 bio_buf = BIO_new(BIO_s_mem());
596 OPENSSL_assert((size_t)BIO_write(bio_buf, DSAPrivateKeyPEM, sizeof(DSAPrivateKeyPEM)) == sizeof(DSAPrivateKeyPEM));
597 dsakey = PEM_read_bio_DSAPrivateKey(bio_buf, NULL, NULL, NULL);
600 BIO_free(bio_buf);
607 bio_buf = BIO_new(BIO_s_mem());
608 OPENSSL_assert((size_t)BIO_write(bio_buf, DSACertPEM, sizeof(DSACertPEM)) == sizeof(DSACertPEM));
609 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL);
611 BIO_free(bio_buf);