Lines Matching defs:in
8 * Redistribution and use in source and binary forms, with or without
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in
23 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
31 * nor may "OpenSSL" appear in their names without prior written
37 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
75 * -in arg - input file - default stdin
77 * -des - encrypt output if PEM format with DES in cbc mode
93 BIO *in = NULL, *out = NULL;
134 else if (strcmp(*argv,"-in") == 0)
216 BIO_printf(bio_err, " -in arg input file\n");
242 BIO_printf(bio_err, " in the asn1 der "
263 in = BIO_new(BIO_s_file());
265 if ((in == NULL) || (out == NULL))
272 BIO_set_fp(in, stdin, BIO_NOCLOSE);
275 if (BIO_read_filename(in, infile) <= 0)
286 eckey = d2i_EC_PUBKEY_bio(in, NULL);
288 eckey = d2i_ECPrivateKey_bio(in, NULL);
293 eckey = PEM_read_bio_EC_PUBKEY(in, NULL, NULL,
296 eckey = PEM_read_bio_ECPrivateKey(in, NULL, NULL,
387 if (in)
388 BIO_free(in);