Searched refs:bio_buf (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/crypto/openssl/test/
H A Dbioprinttest.c133 char bio_buf[80]; local
136 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value);
137 if (!TEST_str_eq(bio_buf, data->expected))
162 char bio_buf[80]; local
164 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value);
165 if (!TEST_str_eq(bio_buf, data->expected))
/freebsd-current/crypto/openssl/fuzz/
H A Dserver.c516 BIO *bio_buf; local
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
[all...]

Completed in 104 milliseconds