Searched refs:base64 (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-9.3-release/tools/regression/usr.bin/uuencode/
H A Dregress.sh11 REGRESSION_TEST(`base64', `uuencode -m regress.in < regress.in')
/freebsd-9.3-release/tools/regression/usr.bin/uudecode/
H A Dregress.sh8 REGRESSION_TEST_ONE(`uudecode -p < regress.base64.in', `base64')
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dbase64.c18 /* $Id: base64.c,v 1.34 2009/10/21 23:48:05 tbox Exp $ */
24 #include <isc/base64.h>
48 static const char base64[] = variable
64 buf[0] = base64[(source->base[0]>>2)&0x3f];
65 buf[1] = base64[((source->base[0]<<4)&0x30)|
67 buf[2] = base64[((source->base[1]<<2)&0x3c)|
69 buf[3] = base64[source->base[2]&0x3f];
82 buf[0] = base64[(source->base[0]>>2)&0x3f];
83 buf[1] = base64[((source->base[0]<<4)&0x30)|
85 buf[2] = base64[((sourc
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dbase64.c18 /* $Id: base64.c,v 1.34 2009/10/21 23:48:05 tbox Exp $ */
24 #include <isc/base64.h>
48 static const char base64[] = variable
64 buf[0] = base64[(source->base[0]>>2)&0x3f];
65 buf[1] = base64[((source->base[0]<<4)&0x30)|
67 buf[2] = base64[((source->base[1]<<2)&0x3c)|
69 buf[3] = base64[source->base[2]&0x3f];
82 buf[0] = base64[(source->base[0]>>2)&0x3f];
83 buf[1] = base64[((source->base[0]<<4)&0x30)|
85 buf[2] = base64[((sourc
[all...]
/freebsd-9.3-release/sbin/iscontrol/
H A Dmisc.c64 static char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" variable
73 if(base64[i] == c64)
108 // base64
192 *ds++ = base64[*cp >> 2];
197 *ds++ = base64[b6];
202 *ds++ = base64[b6];
203 *ds++ = base64[*cp & 0x3f];
211 *ds++ = base64[b6];
216 *ds++ = base64[b6];
/freebsd-9.3-release/contrib/wpa/src/utils/
H A DMakefile16 base64.o \
/freebsd-9.3-release/crypto/openssl/test/
H A Dtestenc19 echo base64
43 echo $i base64
/freebsd-9.3-release/contrib/bind9/lib/isccc/
H A Dbase64.c32 /* $Id: base64.c,v 1.8 2007/08/28 07:20:43 tbox Exp $ */
38 #include <isc/base64.h>
43 #include <isccc/base64.h>
/freebsd-9.3-release/contrib/bind9/bin/tools/
H A Disc-hmac-fixup.c21 #include <isc/base64.h>
38 char base64[(1024*4)/3]; local
128 isc_buffer_init(&buf, base64, sizeof(base64));
134 fprintf(stdout, "%.*s\n", (int)isc_buffer_usedlength(&buf), base64);
/freebsd-9.3-release/usr.bin/uuencode/
H A Duuencode.c75 int base64; local
79 base64 = 0;
83 base64 = 1;
88 base64 = 1;
126 if (base64)
139 * Copy from in to out, encoding in base64 as you go along.
155 fprintf(output, "begin-base64 %o %s\n", mode, *av);
160 errx(1, "b64_ntop: error encoding base64");
/freebsd-9.3-release/crypto/openssl/apps/
H A Drand.c72 * -base64 - base64 encode output
85 int base64 = 0; local
124 } else if (strcmp(argv[i], "-base64") == 0) {
125 if (!base64)
126 base64 = 1;
145 if (hex && base64)
161 BIO_printf(bio_err, "-base64 - base64 encode output\n");
191 if (base64) {
[all...]
H A Denc.c113 int enc = 1, printkey = 0, i, base64 = 0; local
139 if (strcmp(pname, "base64") == 0)
140 base64 = 1;
143 if (!base64 && (cipher == NULL) && (strcmp(pname, "enc") != 0)) {
192 base64 = 1;
193 else if (strcmp(*argv, "-base64") == 0)
194 base64 = 1;
265 "%-14s base64 encode/decode, depending on encryption flag\n",
266 "-a/-base64");
334 /* It must be large enough for a base64 encode
[all...]
/freebsd-9.3-release/crypto/heimdal/kcm/
H A Dheaders.h83 #include <base64.h>
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Dbio_b64.c92 EVP_ENCODE_CTX base64; member in struct:b64_struct
98 BIO_TYPE_BASE64, "base64 encoding",
168 EVP_DecodeInit(&(ctx->base64));
239 * base64 encoded stuff.
247 k = EVP_DecodeUpdate(&(ctx->base64),
251 EVP_DecodeInit(&ctx->base64);
260 EVP_DecodeInit(&ctx->base64);
328 i = EVP_DecodeUpdate(&(ctx->base64),
375 EVP_EncodeInit(&(ctx->base64));
444 EVP_EncodeUpdate(&(ctx->base64),
[all...]
/freebsd-9.3-release/lib/bind/isccc/
H A DMakefile15 SRCS= alist.c base64.c cc.c ccmsg.c \
27 ${SRCDIR}/include/isccc/base64.h \
/freebsd-9.3-release/usr.bin/uudecode/
H A Duudecode.c70 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable
84 base64 = 1;
97 base64 = 1;
157 if (base64)
186 base64 = 0;
192 if (strncmp(p, "begin-base64 ", 13) == 0) {
193 base64 = 1;
296 if (base64)
453 return (checkend(inbuf, "====", "error decoding base64 input stream"));
/freebsd-9.3-release/crypto/openssl/demos/
H A Db64.c88 int enc = 1, printkey = 0, i, base64 = 0; local
102 base64 = 1;
162 /* It must be large enough for a base64 encoded line */
212 if (base64) {
/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dheaders.h91 #include <base64.h>
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dbase64-test.c36 RCSID("$Id: base64-test.c 21005 2007-06-08 01:54:35Z lha $");
40 #include <base64.h>
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_compression_uu.c123 static const unsigned char base64[256] = { variable
256 else if (memcmp(b, "begin-base64 ", 13) == 0 && len - nl >= 18)
323 if (!base64[*b++])
333 if (avail > 0 && base64[*b])
494 memcmp(b, "begin-base64 ", 13) == 0)
582 if (!base64[b[0]] || !base64[b[1]])
592 if (!base64[*b])
601 if (!base64[*b])
/freebsd-9.3-release/lib/libiconv_modules/UTF7/
H A Dcitrus_utf7.c63 mode: 1, /* whether base64 mode */
110 static const char base64[] = variable
319 psenc->ch[psenc->chlen++] = base64[i];
343 psenc->ch[psenc->chlen++] = base64[i];
407 psenc->ch[psenc->chlen++] = base64[pos];
486 FILL(base64, (s - base64) + 1);
/freebsd-9.3-release/kerberos5/lib/libroken/
H A DMakefile8 SRCS= base64.c \
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dcmds.c556 * Encode len bytes starting at clear using base64 encoding into encoded,
564 static const char base64[] = local
576 *e++ = base64[(c[0] >> 2) & 0x3f];
577 *e++ = base64[((c[0] << 4) & 0x30) | ((c[1] >> 4) & 0x0f)];
578 *e++ = base64[((c[1] << 2) & 0x3c) | ((c[2] >> 6) & 0x03)];
579 *e++ = base64[(c[2]) & 0x3f];
583 *e++ = base64[(c[0] >> 2) & 0x3f];
584 *e++ = base64[((c[0] << 4) & 0x30) |
586 *e++ = (i > 1) ? base64[(c[1] << 2) & 0x3c] : termchar;
/freebsd-9.3-release/contrib/bind9/bin/confgen/
H A Dddns-confgen.c33 #include <isc/base64.h>
H A Dkeygen.c26 #include <isc/base64.h>

Completed in 173 milliseconds

123