Lines Matching refs:bio_buf
2320 BIO *bio_buf;
2375 bio_buf = BIO_new(BIO_s_mem());
2376 OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeof(ECDSAPrivateKeyPEM));
2377 ecdsakey = PEM_read_bio_ECPrivateKey(bio_buf, NULL, NULL, NULL);
2380 BIO_free(bio_buf);
2387 bio_buf = BIO_new(BIO_s_mem());
2388 OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertPEM));
2389 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL);
2391 BIO_free(bio_buf);
2399 bio_buf = BIO_new(BIO_s_mem());
2400 OPENSSL_assert((size_t)BIO_write(bio_buf, DSAPrivateKeyPEM, sizeof(DSAPrivateKeyPEM)) == sizeof(DSAPrivateKeyPEM));
2401 dsakey = PEM_read_bio_DSAPrivateKey(bio_buf, NULL, NULL, NULL);
2404 BIO_free(bio_buf);
2411 bio_buf = BIO_new(BIO_s_mem());
2412 OPENSSL_assert((size_t)BIO_write(bio_buf, DSACertPEM, sizeof(DSACertPEM)) == sizeof(DSACertPEM));
2413 cert = PEM_read_bio_X509(bio_buf, NULL, NULL, NULL);
2415 BIO_free(bio_buf);