Home
last modified time | relevance | path

Searched refs:b64 (Results 1 – 14 of 14) sorted by relevance

/openssl/test/
H A Dbio_base64_test.c96 static const unsigned char b64[65] = in encode() local
133 if (memoutws(mem, b64[v >> 2], wscnt, llen, &pos) == 0 in encode()
193 BIO *bio, *b64; in test_bio_base64_run() local
244 b64 = BIO_new(BIO_f_base64()); in test_bio_base64_run()
246 BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); in test_bio_base64_run()
247 BIO_push(b64, bio); in test_bio_base64_run()
249 n = BIO_read(b64, out, out_len); in test_bio_base64_run()
255 n2 = BIO_read(b64, out + n, out_len - n); in test_bio_base64_run()
259 n = BIO_read(b64, out, out_len); in test_bio_base64_run()
273 ret = BIO_read(b64, out + n, out_len - n); in test_bio_base64_run()
[all …]
/openssl/doc/man3/
H A DBIO_f_base64.pod73 BIO *bio, *b64;
76 b64 = BIO_new(BIO_f_base64());
78 BIO_push(b64, bio);
79 BIO_write(b64, message, strlen(message));
80 BIO_flush(b64);
82 BIO_free_all(b64);
87 BIO *bio, *b64, *bio_out;
91 b64 = BIO_new(BIO_f_base64());
94 BIO_push(b64, bio);
95 while ((inlen = BIO_read(b64, inbuf, 512)) > 0)
[all …]
H A DBIO_push.pod55 I<b64> is a base64 BIO and I<f> is a file BIO.
59 BIO_push(b64, f);
61 is made then the new chain will be I<b64-f>. After making the calls
63 BIO_push(md2, b64);
66 the new chain is I<md1-md2-b64-f>. Data written to I<md1> will be digested
77 will return I<b64> and the new chain will be I<md1-b64-f>.
/openssl/apps/
H A Dasn1parse.c64 BIO *in = NULL, *b64 = NULL, *derout = NULL; in asn1parse_main() local
204 if ((b64 = BIO_new(BIO_f_base64())) == NULL) in asn1parse_main()
206 BIO_push(b64, in); in asn1parse_main()
208 in = b64; in asn1parse_main()
209 b64 = tmp; in asn1parse_main()
309 BIO_free(b64); in asn1parse_main()
H A Drand.c191 BIO *b64 = BIO_new(BIO_f_base64()); in rand_main() local
192 if (b64 == NULL) in rand_main()
194 out = BIO_push(b64, out); in rand_main()
H A Denc.c120 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = in enc_main() local
483 if ((b64 = BIO_new(BIO_f_base64())) == NULL) in enc_main()
486 BIO_set_callback_ex(b64, BIO_debug_callback_ex); in enc_main()
487 BIO_set_callback_arg(b64, (char *)bio_err); in enc_main()
490 BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); in enc_main()
492 wbio = BIO_push(b64, wbio); in enc_main()
494 rbio = BIO_push(b64, rbio); in enc_main()
724 BIO_free(b64); in enc_main()
/openssl/test/recipes/
H A D90-test_store.t507 my $b64 = "";
510 $b64 .= $l unless $l =~ /:/;
513 my $der = decode_base64($b64);
514 unless (length($b64) / 4 * 3 - length($der) < 3) {
515 print STDERR "Length error, ",length($b64),
/openssl/crypto/asn1/
H A Dasn_mime.c108 BIO *b64; in B64_write_ASN1() local
110 b64 = BIO_new(BIO_f_base64()); in B64_write_ASN1()
111 if (b64 == NULL) { in B64_write_ASN1()
118 out = BIO_push(b64, out); in B64_write_ASN1()
122 BIO_free(b64); in B64_write_ASN1()
141 BIO *b64; in b64_read_asn1() local
144 if ((b64 = BIO_new(BIO_f_base64())) == NULL) { in b64_read_asn1()
148 bio = BIO_push(b64, bio); in b64_read_asn1()
154 BIO_free(b64); in b64_read_asn1()
/openssl/apps/lib/
H A Dhttp_server.c269 BIO *cbio = *pcbio, *getbio = NULL, *b64 = NULL; in http_server_get_asn1_req() local
391 || (b64 = BIO_new(BIO_f_base64())) == NULL) { in http_server_get_asn1_req()
396 BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); in http_server_get_asn1_req()
397 getbio = BIO_push(b64, getbio); in http_server_get_asn1_req()
/openssl/include/crypto/
H A Dbn_conf.h.in25 {- $config{b64} ? "#define" : "#undef" -} SIXTY_FOUR_BIT
/openssl/include/openssl/
H A Dconfiguration.h.in59 {- $config{b64} ? "# define" : "# undef" -} SIXTY_FOUR_BIT
/openssl/test/recipes/30-test_evp_data/
H A Devpencod.txt167 # Multiline output with line break in the middle of a b64 block is accepted
/openssl/
H A DConfigure1733 ($config{b64l},$config{b64},$config{b32})=(0,0,1);
1740 ($config{b64l},$config{b64},$config{b32})
1742 ($config{b64l},$config{b64},$config{b32})
1744 ($config{b64l},$config{b64},$config{b32})
/openssl/doc/man1/
H A Dopenssl-enc.pod.in437 openssl base64 -in file.bin -out file.b64
441 openssl base64 -d -in file.b64 -out file.bin

Completed in 54 milliseconds