Lines Matching defs:bio
169 load_netscape_key(BIO *err, BIO *key, const char *file,
459 int dump_cert_text (BIO *out, X509 *x)
630 static char *app_get_pass(BIO *err, char *arg, int keepbio);
632 int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2)
648 static char *app_get_pass(BIO *err, char *arg, int keepbio)
651 static BIO *pwdbio = NULL;
679 BIO *btmp;
686 /* Can't do BIO_gets on an fd BIO so add a buffering BIO */
693 BIO_printf(err, "Can't open BIO for stdin\n");
707 BIO_printf(err, "Error reading password from BIO\n");
715 int add_oid_section(BIO *err, CONF *conf)
741 static int load_pkcs12(BIO *err, BIO *in, const char *desc,
786 X509 *load_cert(BIO *err, const char *file, int format,
790 BIO *cert;
862 EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin,
865 BIO *key=NULL;
960 EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin,
963 BIO *key=NULL;
1071 load_netscape_key(BIO *err, BIO *key, const char *file,
1115 static int load_certs_crls(BIO *err, const char *file, int format,
1120 BIO *bio;
1136 bio = BIO_new_fp(stdin,BIO_NOCLOSE);
1138 bio = BIO_new_file(file, "r");
1140 if (bio == NULL)
1148 xis = PEM_X509_INFO_read_bio(bio, NULL,
1151 BIO_free(bio);
1214 STACK_OF(X509) *load_certs(BIO *err, const char *file, int format,
1223 STACK_OF(X509_CRL) *load_crls(BIO *err, const char *file, int format,
1403 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags)
1426 X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath)
1458 static ENGINE *try_load_engine(BIO *err, const char *engine, int debug)
1473 ENGINE *setup_engine(BIO *err, const char *engine, int debug)
1515 int load_config(BIO *err, CONF *cnf)
1591 BIO *in=NULL;
1649 BIO *out = NULL;
1800 BIO *in = BIO_new(BIO_s_file());
1902 BIO *out = BIO_new(BIO_s_file());
2256 int *badarg, BIO *err, X509_VERIFY_PARAM **pm)
2406 /* Read whole contents of a BIO into an allocated memory buffer and
2410 int bio_to_mem(unsigned char **out, int maxlen, BIO *in)
2412 BIO *mem;
2461 static void nodes_print(BIO *out, const char *name,
2480 void policies_print(BIO *out, X509_STORE_CTX *ctx)
2531 static void jpake_send_part(BIO *conn, const JPAKE_STEP_PART *p)
2541 static void jpake_send_step1(BIO *bconn, JPAKE_CTX *ctx)
2553 static void jpake_send_step2(BIO *bconn, JPAKE_CTX *ctx)
2564 static void jpake_send_step3a(BIO *bconn, JPAKE_CTX *ctx)
2575 static void jpake_send_step3b(BIO *bconn, JPAKE_CTX *ctx)
2586 static void readbn(BIGNUM **bn, BIO *bconn)
2598 static void jpake_receive_part(JPAKE_STEP_PART *p, BIO *bconn)
2605 static void jpake_receive_step1(JPAKE_CTX *ctx, BIO *bconn)
2620 static void jpake_receive_step2(JPAKE_CTX *ctx, BIO *bconn)
2634 static void jpake_receive_step3a(JPAKE_CTX *ctx, BIO *bconn)
2650 static void jpake_receive_step3b(JPAKE_CTX *ctx, BIO *bconn)
2666 void jpake_client_auth(BIO *out, BIO *conn, const char *secret)
2669 BIO *bconn;
2695 void jpake_server_auth(BIO *out, BIO *conn, const char *secret)
2698 BIO *bconn;
2730 * err: (maybe NULL) on failure, an error message line is written to this BIO.