Home
last modified time | relevance | path

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

1234

/freebsd-9-stable/contrib/ntp/lib/isc/
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()
91 buf[1] = base64[((source->base[0]<<4)&0x30)]; in isc_base64_totext()
[all …]
/freebsd-9-stable/contrib/bind9/lib/isc/
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()
91 buf[1] = base64[((source->base[0]<<4)&0x30)]; in isc_base64_totext()
[all …]
/freebsd-9-stable/sbin/iscontrol/
Dmisc.c64 static char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" variable
73 if(base64[i] == c64) in c64tobin()
192 *ds++ = base64[*cp >> 2]; in bin2str()
197 *ds++ = base64[b6]; in bin2str()
202 *ds++ = base64[b6]; in bin2str()
203 *ds++ = base64[*cp & 0x3f]; in bin2str()
211 *ds++ = base64[b6]; in bin2str()
216 *ds++ = base64[b6]; in bin2str()
/freebsd-9-stable/crypto/openssl/doc/crypto/
DBIO_f_base64.pod5 BIO_f_base64 - base64 BIO filter
16 BIO_f_base64() returns the base64 BIO method. This is a filter
17 BIO that base64 encodes any data written through it and decodes
22 BIO_flush() on a base64 BIO that is being written through is
32 Because of the format of base64 encoding the end of the encoded
37 BIO_f_base64() returns the base64 BIO method.
74 The ambiguity of EOF in base64 encoded data can cause additional
75 data following the base64 encoded block to be misinterpreted.
DBIO_push.pod37 a base64 BIO and B<f> is a file BIO.
49 by B<md1> and B<md2>, B<base64> encoded and written to B<f>.
52 direction, that is data is read from B<f>, base64 B<decoded> and digested
/freebsd-9-stable/usr.bin/uuencode/
Duuencode.c75 int base64; in main() local
79 base64 = 0; in main()
83 base64 = 1; in main()
88 base64 = 1; in main()
126 if (base64) in main()
/freebsd-9-stable/crypto/openssl/apps/
Drand.c85 int base64 = 0; in MAIN() local
125 if (!base64) in MAIN()
126 base64 = 1; in MAIN()
145 if (hex && base64) in MAIN()
191 if (base64) { in MAIN()
Denc.c113 int enc = 1, printkey = 0, i, base64 = 0; in MAIN() local
140 base64 = 1; in MAIN()
143 if (!base64 && (cipher == NULL) && (strcmp(pname, "enc") != 0)) { in MAIN()
192 base64 = 1; in MAIN()
194 base64 = 1; in MAIN()
335 if (base64 && n < 80) in MAIN()
427 if (base64) { in MAIN()
/freebsd-9-stable/crypto/openssl/crypto/evp/
Dbio_b64.c92 EVP_ENCODE_CTX base64; member
168 EVP_DecodeInit(&(ctx->base64)); in b64_read()
247 k = EVP_DecodeUpdate(&(ctx->base64), in b64_read()
251 EVP_DecodeInit(&ctx->base64); in b64_read()
260 EVP_DecodeInit(&ctx->base64); in b64_read()
328 i = EVP_DecodeUpdate(&(ctx->base64), in b64_read()
375 EVP_EncodeInit(&(ctx->base64)); in b64_write()
444 EVP_EncodeUpdate(&(ctx->base64), in b64_write()
499 && (ctx->base64.num != 0)) in b64_ctrl()
527 } else if (ctx->encode != B64_NONE && ctx->base64.num != 0) { in b64_ctrl()
[all …]
/freebsd-9-stable/usr.bin/uudecode/
Duudecode.c70 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable
84 base64 = 1; in main()
97 base64 = 1; in main()
157 if (base64) in decode()
186 base64 = 0; in decode2()
193 base64 = 1; in decode2()
296 if (base64) in decode2()
/freebsd-9-stable/contrib/bind9/bin/tools/
Disc-hmac-fixup.c39 char base64[(1024*4)/3]; in main() local
129 isc_buffer_init(&buf, base64, sizeof(base64)); in main()
135 fprintf(stdout, "%.*s\n", (int)isc_buffer_usedlength(&buf), base64); in main()
/freebsd-9-stable/contrib/libarchive/libarchive/
Darchive_read_support_compression_uu.c123 static const unsigned char base64[256] = { variable
323 if (!base64[*b++]) in uudecode_bidder_bid()
333 if (avail > 0 && base64[*b]) in uudecode_bidder_bid()
582 if (!base64[b[0]] || !base64[b[1]]) in uudecode_filter_read()
592 if (!base64[*b]) in uudecode_filter_read()
601 if (!base64[*b]) in uudecode_filter_read()
/freebsd-9-stable/crypto/openssl/doc/apps/
Drand.pod12 [B<-base64>]
41 =item B<-base64>
43 Perform base64 encoding on the output.
Denc.pod71 base64 process the data. This means that if encryption is taking place
72 the data is base64 encoded after encryption. If decryption is set then
73 the input data is base64 decoded before being decrypted.
77 if the B<-a> option is set then base64 process the data on one line.
170 base64 Base 64
238 Just base64 encode a binary file:
240 openssl base64 -in file.bin -out file.b64
244 openssl base64 -d -in file.b64 -out file.bin
254 Encrypt a file then base64 encode it (so it can be sent via mail for example)
/freebsd-9-stable/lib/libiconv_modules/UTF7/
Dcitrus_utf7.c110 static const char base64[] = variable
319 psenc->ch[psenc->chlen++] = base64[i]; in _citrus_UTF7_utf16tomb()
343 psenc->ch[psenc->chlen++] = base64[i]; in _citrus_UTF7_utf16tomb()
407 psenc->ch[psenc->chlen++] = base64[pos]; in _citrus_UTF7_put_state_reset()
486 FILL(base64, (s - base64) + 1); in _citrus_UTF7_encoding_module_init()
/freebsd-9-stable/crypto/openssl/test/
Dtestenc19 echo base64
43 echo $i base64
/freebsd-9-stable/crypto/openssl/demos/
Db64.c88 int enc = 1, printkey = 0, i, base64 = 0; local
102 base64 = 1;
212 if (base64) {
/freebsd-9-stable/contrib/bind9/lib/isccc/
DMakefile.in44 OBJS = alist.@O@ base64.@O@ cc.@O@ ccmsg.@O@ \
49 SRCS = alist.c base64.c cc.c ccmsg.c \
/freebsd-9-stable/lib/bind/isccc/
DMakefile15 SRCS= alist.c base64.c cc.c ccmsg.c \
27 ${SRCDIR}/include/isccc/base64.h \
/freebsd-9-stable/crypto/heimdal/lib/roken/
DMakefile.am21 base64-test \
57 base64.c \
153 base64.h \
DMakefile.in63 check_PROGRAMS = base64-test$(EXEEXT) getaddrinfo-test$(EXEEXT) \
130 am__libroken_la_SOURCES_DIST = base64.c bswap.c concat.c dumpdata.c \
143 am_libroken_la_OBJECTS = libroken_la-base64.lo libroken_la-bswap.lo \
179 base64_test_SOURCES = base64-test.c
180 base64_test_OBJECTS = base64-test.$(OBJEXT)
247 $(libtest_la_SOURCES) base64-test.c getaddrinfo-test.c \
254 base64-test.c getaddrinfo-test.c hex-test.c parse_bytes-test.c \
260 am__dist_include_HEADERS_DIST = base64.h getarg.h hex.h parse_bytes.h \
509 libroken_la_SOURCES = base64.c bswap.c concat.c dumpdata.c \
540 dist_include_HEADERS = base64.h getarg.h hex.h parse_bytes.h \
[all …]
/freebsd-9-stable/tools/regression/usr.bin/uuencode/
Dregress.sh11 REGRESSION_TEST(`base64', `uuencode -m regress.in < regress.in')
/freebsd-9-stable/tools/regression/usr.bin/uudecode/
Dregress.sh8 REGRESSION_TEST_ONE(`uudecode -p < regress.base64.in', `base64')
/freebsd-9-stable/lib/libfetch/
Dhttp.c970 static const char base64[] = in http_base64() local
986 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
987 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
988 dst[2] = base64[(t >> 6) & 0x3f]; in http_base64()
989 dst[3] = base64[(t >> 0) & 0x3f]; in http_base64()
997 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
998 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
999 dst[2] = base64[(t >> 6) & 0x3f]; in http_base64()
1006 dst[0] = base64[(t >> 18) & 0x3f]; in http_base64()
1007 dst[1] = base64[(t >> 12) & 0x3f]; in http_base64()
/freebsd-9-stable/contrib/wpa/src/utils/
DMakefile16 base64.o \

1234