Home
last modified time | relevance | path

Searched refs:keybio (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/test/
H A Docspapitest.c29 BIO *certbio, *keybio; in get_cert_and_key()
37 if (!TEST_ptr(keybio = BIO_new_file(privkeystr, "r"))) in get_cert_and_key()
39 key = PEM_read_bio_PrivateKey(keybio, NULL, NULL, NULL); in get_cert_and_key()
40 BIO_free(keybio); in get_cert_and_key()
27 BIO *certbio, *keybio; get_cert_and_key() local
H A Dcmsapitest.c802 BIO *certbio = NULL, *keybio = NULL, *msgbio = NULL, *outbio = NULL; in test_kari_wrap_pad_unwrap_overflow()
812 || (keybio = BIO_new_file(ec_recip_in, "r")) == NULL in test_kari_wrap_pad_unwrap_overflow()
813 || PEM_read_bio_PrivateKey(keybio, &eckey, NULL, NULL) == NULL) { in test_kari_wrap_pad_unwrap_overflow()
861 BIO_free(keybio); in setup_tests()
768 BIO *certbio = NULL, *keybio = NULL, *msgbio = NULL, *outbio = NULL; test_kari_wrap_pad_unwrap_overflow() local
H A Dsslapitest.c10669 BIO *keybio = NULL, *certbio = NULL; in create_cert_key() local
10690 || !TEST_ptr(keybio = BIO_new_file(privkeyfilename, "wb")) in create_cert_key()
10691 || !TEST_true(PEM_write_bio_PrivateKey(keybio, pkey, NULL, NULL, 0, NULL, NULL)) in create_cert_key()
10699 BIO_free(keybio); in create_cert_key()