Home
last modified time | relevance | path

Searched refs:base64 (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-12.1/contrib/ntp/lib/isc/
H A Dbase64.c48 static const char base64[] = variable
64 buf[0] = base64[(source->base[0]>>2)&0x3f]; in isc_base64_totext()
65 buf[1] = base64[((source->base[0]<<4)&0x30)| in isc_base64_totext()
67 buf[2] = base64[((source->base[1]<<2)&0x3c)| in isc_base64_totext()
69 buf[3] = base64[source->base[2]&0x3f]; in isc_base64_totext()
82 buf[0] = base64[(source->base[0]>>2)&0x3f]; in isc_base64_totext()
83 buf[1] = base64[((source->base[0]<<4)&0x30)| in isc_base64_totext()
85 buf[2] = base64[((source->base[1]<<2)&0x3c)]; in isc_base64_totext()
90 buf[0] = base64[(source->base[0]>>2)&0x3f]; in isc_base64_totext()
125 if ((s = strchr(base64, c)) == NULL) in base64_decode_char()
[all …]
/freebsd-12.1/sbin/iscontrol/
H A Dmisc.c66 static char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" variable
75 if(base64[i] == c64) in c64tobin()
194 *ds++ = base64[*cp >> 2]; in bin2str()
199 *ds++ = base64[b6]; in bin2str()
204 *ds++ = base64[b6]; in bin2str()
205 *ds++ = base64[*cp & 0x3f]; in bin2str()
213 *ds++ = base64[b6]; in bin2str()
218 *ds++ = base64[b6]; in bin2str()
/freebsd-12.1/crypto/openssl/doc/man3/
H A DBIO_f_base64.pod5 BIO_f_base64 - base64 BIO filter
18 BIO_f_base64() returns the base64 BIO method. This is a filter
19 BIO that base64 encodes any data written through it and decodes
24 BIO_flush() on a base64 BIO that is being written through is
34 Because of the format of base64 encoding the end of the encoded
39 BIO_f_base64() returns the base64 BIO method.
76 The ambiguity of EOF in base64 encoded data can cause additional
77 data following the base64 encoded block to be misinterpreted.
H A DPEM_read_bio_ex.pod22 the possibly encrypted data, and the binary data payload (after base64 decoding).
34 If PEM_FLAG_ONLY_B64 is set, all characters are required to be valid base64
35 characters (or newlines); non-base64 characters are treated as end of input.
H A DBIO_push.pod49 a base64 BIO and B<f> is a file BIO.
61 by B<md1> and B<md2>, B<base64> encoded and written to B<f>.
64 direction, that is data is read from B<f>, base64 B<decoded> and digested
H A DCTLOG_STORE_new.pod39 key = <base64-encoded DER SubjectPublicKeyInfo here>
43 key = <base64-encoded DER SubjectPublicKeyInfo here>
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_b64encode.c66 static const char base64[] = { variable
189 archive_strappend_char(as, base64[c]); in la_b64_encode()
191 archive_strappend_char(as, base64[c]); in la_b64_encode()
193 archive_strappend_char(as, base64[c]); in la_b64_encode()
195 archive_strappend_char(as, base64[c]); in la_b64_encode()
199 archive_strappend_char(as, base64[c]); in la_b64_encode()
202 archive_strappend_char(as, base64[c]); in la_b64_encode()
207 archive_strappend_char(as, base64[c]); in la_b64_encode()
209 archive_strappend_char(as, base64[c]); in la_b64_encode()
H A Darchive_read_support_filter_uu.c138 static const unsigned char base64[256] = { variable
343 if (!base64[*b++]) in uudecode_bidder_bid()
353 if (avail > 0 && base64[*b]) in uudecode_bidder_bid()
630 if (!base64[b[0]] || !base64[b[1]]) in uudecode_filter_read()
640 if (!base64[*b]) in uudecode_filter_read()
649 if (!base64[*b]) in uudecode_filter_read()
/freebsd-12.1/crypto/openssl/crypto/evp/
H A Dbio_b64.c41 EVP_ENCODE_CTX *base64; member
80 ctx->base64 = EVP_ENCODE_CTX_new(); in b64_new()
81 if (ctx->base64 == NULL) { in b64_new()
102 EVP_ENCODE_CTX_free(ctx->base64); in b64_free()
132 EVP_DecodeInit(ctx->base64); in b64_read()
215 EVP_DecodeInit(ctx->base64); in b64_read()
224 EVP_DecodeInit(ctx->base64); in b64_read()
288 i = EVP_DecodeUpdate(ctx->base64, in b64_read()
348 EVP_EncodeInit(ctx->base64); in b64_write()
417 if (!EVP_EncodeUpdate(ctx->base64, in b64_write()
[all …]
/freebsd-12.1/usr.bin/uuencode/
H A Duuencode.c78 int base64; in main() local
82 base64 = 0; in main()
86 base64 = 1; in main()
91 base64 = 1; in main()
132 if (base64) in main()
/freebsd-12.1/usr.bin/uudecode/
H A Duudecode.c72 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable
86 base64 = 1; in main()
99 base64 = 1; in main()
159 if (base64) in decode()
188 base64 = 0; in decode2()
195 base64 = 1; in decode2()
298 if (base64) in decode2()
/freebsd-12.1/contrib/netbsd-tests/usr.bin/gzip/
H A Dt_gzip.sh60 begin-base64 644 truncated.gz
77 begin-base64 644 crcerror.gz
94 begin-base64 644 good.gz
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dssl19 # Using the -a or -base64 option, OpenSSL will base64-encode the data.
20 0 string U2FsdGVkX1 openssl enc'd data with salted password, base64 encoded
/freebsd-12.1/crypto/openssh/
H A D.depend3 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
4 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
5 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
6 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
7 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
8 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
11 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
14 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
15 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
16 …ig.h defines.h platform.h openbsd-compat/openbsd-compat.h openbsd-compat/base64.h openbsd-compat/s…
[all …]
/freebsd-12.1/lib/libiconv_modules/UTF7/
H A Dcitrus_utf7.c111 static const char base64[] = variable
313 psenc->ch[psenc->chlen++] = base64[i]; in _citrus_UTF7_utf16tomb()
337 psenc->ch[psenc->chlen++] = base64[i]; in _citrus_UTF7_utf16tomb()
401 psenc->ch[psenc->chlen++] = base64[pos]; in _citrus_UTF7_put_state_reset()
480 FILL(base64, (s - base64) + 1); in _citrus_UTF7_encoding_module_init()
/freebsd-12.1/crypto/openssl/doc/man1/
H A Drand.pod15 [B<-base64>]
53 =item B<-base64>
55 Perform base64 encoding on the output.
H A Denc.pod19 [B<-base64>]
87 the data is base64 encoded after encryption. If decryption is set then
88 the input data is base64 decoded before being decrypted.
90 =item B<-base64>
96 If the B<-a> option is set then base64 process the data on one line.
276 base64 Base 64
382 Just base64 encode a binary file:
384 openssl base64 -in file.bin -out file.b64
388 openssl base64 -d -in file.b64 -out file.bin
400 Encrypt a file then base64 encode it (so it can be sent via mail for example)
/freebsd-12.1/crypto/openssl/apps/
H A Denc.c108 int base64 = 0, informat = FORMAT_BINARY, outformat = FORMAT_BINARY; in enc_main() local
124 base64 = 1; in enc_main()
201 base64 = 1; in enc_main()
303 if (base64 && bsize < 80) in enc_main()
311 if (base64) { in enc_main()
397 if (base64) { in enc_main()
/freebsd-12.1/kerberos5/lib/libroken/
H A DMakefile8 base64.h \
18 SRCS= base64.c \
/freebsd-12.1/crypto/heimdal/lib/roken/
H A DMakefile.am26 base64-test \
69 base64.c \
178 base64.h \
/freebsd-12.1/usr.bin/uuencode/tests/
H A Dregress.sh8 REGRESSION_TEST(`base64', `uuencode -m regress.in <${SRCDIR}/regress.in')
/freebsd-12.1/lib/libfetch/
H A Dhttp.c972 static const char base64[] = in http_base64() local
988 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
989 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
990 dst[2] = base64[(t >> 6) & 0x3f]; in http_base64()
991 dst[3] = base64[(t >> 0) & 0x3f]; in http_base64()
999 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
1000 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
1001 dst[2] = base64[(t >> 6) & 0x3f]; in http_base64()
1008 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
1009 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
/freebsd-12.1/usr.bin/uudecode/tests/
H A Dregress.sh8 REGRESSION_TEST_ONE(`uudecode -p <${SRCDIR}/regress.base64.in', `base64')
H A DMakefile7 ${PACKAGE}FILES+= regress.base64.in
/freebsd-12.1/contrib/bearssl/src/codec/
H A Dpemdec.t0173 cc: from-base64 ( char -- x ) {
235 from-base64 dup 0< if drop skip-newline 3 ret then
240 from-base64 dup 0< if drop skip-newline 3 ret then
255 from-base64 dup 0< if drop skip-newline 3 ret then
267 from-base64 dup 0< if drop skip-newline 3 ret then

1234