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

12

/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/t/
H A DEncoder.t21 __PACKAGE__->Define('base64');
44 my $base64 = encode_base64($data);
45 is(encoder($data)->base64, $base64, "encode");
46 is(encoder($base64)->bytes('base64'), $data, "decode");
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/t/
H A Dwarn.t67 Premature end of base64 data at $0 line 33.
68 Premature padding of base64 data at $0 line 34.
70 Premature end of base64 data at $0 line 38.
71 Premature padding of base64 data at $0 line 42.
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/
H A DBase64.pm26 MIME::Base64 - Encoding and decoding of base64 strings
38 base64 encoding specified in RFC 2045 - I<MIME (Multipurpose Internet
39 Mail Extensions)>. The base64 encoding is designed to represent
62 Decode a base64 string by calling the decode_base64() function. This
66 Any character not part of the 65-character base64 subset is
71 non-base64 chars, is not a multiple of 4 or if padding occurs too early,
90 =item Premature end of base64 data
93 base64 data should be padded with one or two "=" characters to make
97 =item Premature padding of base64 data
100 in a base64 quarte
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/Unicode/
H A DUTF7.pm41 my $base64 = encode_base64($e_utf16->encode($1), '');
42 $base64 =~ s/=+$//;
43 $bytes .= "+$base64-";
63 my $base64 = $1;
64 my $pad = length($base64) % 4;
65 $base64 .= "=" x (4 - $pad) if $pad;
66 $str .= $e_utf16->decode(decode_base64($base64));
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/lib/Encode/
H A DEncoder.pm112 encoder($data)->iso_8859_1->base64; # provided base64() is defined
114 encoder($base64)->bytes('base64')->latin1;
127 my $base64 = encoder($utf8)->latin1->base64;
132 my $base64 = encode_base64($utf8);
136 my $base64 = encode_base64(encode("latin1", $utf8));
203 =head2 Example: base64 transcoder
211 __PACKAGE__->Define('base64');
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/apps/
H A Drand.c71 * -base64 - encode output
86 int base64 = 0; local
129 else if (strcmp(argv[i], "-base64") == 0)
131 if (!base64)
132 base64 = 1;
163 BIO_printf(bio_err, "-base64 - encode output\n");
194 if (base64)
H A Denc.c118 int enc=1,printkey=0,i,base64=0; local
142 if (strcmp(pname,"base64") == 0)
143 base64=1;
146 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
199 base64=1;
200 else if (strcmp(*argv,"-base64") == 0)
201 base64=1;
281 BIO_printf(bio_err,"%-14s base64 encode/decode, depending on encryption flag\n","-a/-base64");
342 /* It must be large enough for a base64 encode
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/evp/
H A Dbio_b64.c89 EVP_ENCODE_CTX base64; member in struct:b64_struct
96 BIO_TYPE_BASE64,"base64 encoding",
160 EVP_DecodeInit(&(ctx->base64));
233 * base64 encoded stuff. */
241 k=EVP_DecodeUpdate(&(ctx->base64),
245 EVP_DecodeInit(&ctx->base64);
256 EVP_DecodeInit(&ctx->base64);
331 i=EVP_DecodeUpdate(&(ctx->base64),
379 EVP_EncodeInit(&(ctx->base64));
440 EVP_EncodeUpdate(&(ctx->base64),
[all...]
/opensolaris-onvv-gate/usr/src/lib/libiscsit/
H A DMakefile.com30 ISCSI_OBJS_SHARED= base64.o
/opensolaris-onvv-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c1744 base64; /* Value of this character */ local
1767 base64 = *in - 'A';
1769 base64 = *in - 'a' + 26;
1771 base64 = *in - '0' + 52;
1773 base64 = 62;
1775 base64 = 63;
1789 *outptr = base64 << 2;
1794 *outptr++ |= (base64 >> 4) & 3;
1796 *outptr = (base64 << 4) & 255;
1801 *outptr++ |= (base64 >>
1850 static const char base64[] = /* Base64 characters... */ local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/bnu/
H A Duuencode.c131 * using base64 encoding or the historical algorithm
145 (void) snprintf(oline, sizeof (oline), "begin-base64 %lo %s\n",
180 encode(FILE *in, FILE *out, int base64) argument
188 if (! base64) {
225 /* base64 algorithm */
233 * base64 lines can be no longer than that
H A Duudecode.c61 * base64 decoding table
89 /* true if the character is in the base64 encoding table */
188 * the check for begin-base64 obviously needs to come
193 if (strncmp(buf, "begin-base64", 12) == 0) {
288 decode(FILE *in, FILE *out, int base64) argument
296 if (! base64) { /* use historical algorithm */
353 } else { /* use base64 algorithm */
367 * if we've gathered 4 base64 octets
389 * handle any remaining base64 octets at end
462 * base64 algorith
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/
H A DMakefile.com42 base64.o \
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Digest/MD5/
H A DMD5.pm109 Same as md5(), but will return the digest as a base64 encoded string.
114 Note that the base64 encoded string returned is not padded to be a
116 base64 encoded md5 digests you might want to append the redundant
215 Same as $md5->digest, but will return the digest as a base64 encoded
221 The base64 encoded string returned is not padded to be a multiple of 4
222 bytes long. If you want interoperability with other base64 encoded
H A DMD5.xs502 static char* base64 =
510 *d++ = base64[c1>>2];
512 *d++ = base64[(c1 & 0x3) << 4];
517 *d++ = base64[((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)];
518 *d++ = base64[((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6)];
519 *d++ = base64[c3 & 0x3F];
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dllib-lopenbsd-compat30 #include <base64.h>
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A DiscsiAuthClient.h271 int base64; member in struct:iscsiAuthClient_t
H A DiscsiAuthClient.c372 iscsiAuthClientDataToText(int base64, unsigned char *data, argument
377 if (base64) {
1115 (void) iscsiAuthClientDataToText(client->base64,
1863 if (iscsiAuthClientDataToText(client->base64,
2002 client->base64 = FALSE;
2500 iscsiAuthClientSetBase64(IscsiAuthClient * client, int base64) argument
2511 client->base64 = base64;
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Discsi_authclient.h272 int base64; member in struct:iscsiAuthClient_t
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dllib-lssh37 #include <base64.h>
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DDigest.pm102 =item I<base64>
104 A string of portable printable characters. This is the base64 encoded
212 Same as $ctx->digest, but will return the digest as a base64 encoded
/opensolaris-onvv-gate/usr/src/lib/libresolv2/
H A DMakefile.com59 ISCOBJS= assertions.o base64.o bitncmp.o ctl_clnt.o \
/opensolaris-onvv-gate/usr/src/lib/libast/
H A DMakefile.com456 common/string/base64.o \
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSDigest.c1175 #pragma mark - base64 -> binary conversion
1217 if (pos == 0) /* A non-base64 character. */
/opensolaris-onvv-gate/usr/src/uts/common/
H A DMakefile.files1831 IDM_SHARED_OBJS += base64.o

Completed in 95 milliseconds

12