Home
last modified time | relevance | path

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

12345678

/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dwriter.c550 base64_t *base64; in base64_writer() local
553 base64 = pgp_writer_get_arg(writer); in base64_writer()
555 base64->checksum = pgp_crc24(base64->checksum, src[n]); in base64_writer()
556 if (base64->pos == 0) { in base64_writer()
565 base64->t = (src[n++] & 3) << 4; in base64_writer()
566 base64->pos = 1; in base64_writer()
567 } else if (base64->pos == 1) { in base64_writer()
569 base64->t += (unsigned)src[n] >> 4; in base64_writer()
570 if (!stacked_write(writer, &b64map[base64->t], 1, in base64_writer()
576 base64->t = (src[n++] & 0xf) << 2; in base64_writer()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dbase64.c1 /* $NetBSD: base64.c,v 1.9 2025/01/26 16:25:36 christos Exp $ */
20 #include <isc/base64.h>
44 static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw" variable
60 buf[0] = base64[(source->base[0] >> 2) & 0x3f]; in isc_base64_totext()
61 buf[1] = base64[((source->base[0] << 4) & 0x30) | in isc_base64_totext()
63 buf[2] = base64[((source->base[1] << 2) & 0x3c) | in isc_base64_totext()
65 buf[3] = base64[source->base[2] & 0x3f]; in isc_base64_totext()
77 buf[0] = base64[(source->base[0] >> 2) & 0x3f]; in isc_base64_totext()
78 buf[1] = base64[((source->base[0] << 4) & 0x30) | in isc_base64_totext()
80 buf[2] = base64[((sourc in isc_base64_totext()
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dbase64.c44 static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw" variable
60 buf[0] = base64[(source->base[0] >> 2) & 0x3f]; in isc_base64_totext()
61 buf[1] = base64[((source->base[0] << 4) & 0x30) | in isc_base64_totext()
63 buf[2] = base64[((source->base[1] << 2) & 0x3c) | in isc_base64_totext()
65 buf[3] = base64[source->base[2] & 0x3f]; in isc_base64_totext()
77 buf[0] = base64[(source->base[0] >> 2) & 0x3f]; in isc_base64_totext()
78 buf[1] = base64[((source->base[0] << 4) & 0x30) | in isc_base64_totext()
80 buf[2] = base64[((source->base[1] << 2) & 0x3c)]; in isc_base64_totext()
85 buf[0] = base64[(source->base[0] >> 2) & 0x3f]; in isc_base64_totext()
86 buf[1] = base64[((source->base[0] << 4) & 0x30)]; in isc_base64_totext()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dbio_b64.c41 EVP_ENCODE_CTX *base64; member
78 ctx->base64 = EVP_ENCODE_CTX_new(); in b64_new()
79 if (ctx->base64 == NULL) { in b64_new()
100 EVP_ENCODE_CTX_free(ctx->base64); in b64_free()
130 EVP_DecodeInit(ctx->base64); in b64_read()
209 k = EVP_DecodeUpdate(ctx->base64, in b64_read()
213 EVP_DecodeInit(ctx->base64); in b64_read()
222 EVP_DecodeInit(ctx->base64); in b64_read()
286 i = EVP_DecodeUpdate(ctx->base64, in b64_read()
346 EVP_EncodeInit(ctx->base64); in b64_write()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/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()
211 k = EVP_DecodeUpdate(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()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/
H A DMakefile.am5 ES = base64.c
60 CLEANFILES = base64.c test_db.json
64 base64.c:
65 rm -f base64.c
66 $(LN_S) $(srcdir)/../roken/base64.c .
/netbsd-src/usr.bin/uudecode/
H A Duudecode.c75 static int base64; variable
90 base64 = 1; in main()
139 warnx("%s: no \"%s\" line", inputname, base64 ? in decode()
145 base64 = 1; in decode()
160 base64 ? "begin-base64" : "begin"); in decode()
167 base64 ? "begin-base64" : "begin"); in decode()
228 if (base64) in decode()
/netbsd-src/crypto/external/bsd/openssl.old/dist/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
34 BIO_flush() on a base64 BIO that is being written through is
46 Because of the format of base64 encoding the end of the encoded
51 BIO_f_base64() returns the base64 BIO method.
88 The ambiguity of EOF in base64 encoded data can cause additional
89 data following the base64 encoded block to be misinterpreted.
/netbsd-src/usr.sbin/wg-keygen/
H A Dwg-keygen.c81 base64(uint8_t key[KEY_LEN]) in base64() function
105 printf("%s\n", base64(key)); in main()
111 printf("%s\n", base64(key)); in main()
131 printf("%s\n", base64(pubkey)); in main()
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dmime_dom.ref3 mime_state: header_token: base64
4 MAIN 34 |content-transfer-encoding: base64
6 mime_state: warning: invalid message/* or multipart/* encoding domain: base64
H A Dmime_test.ref20 mime_state: header_token: base64
21 NEST 91 |content-transfer-encoding: base64
22 mime_state: warning: invalid message/* or multipart/* encoding domain: base64
/netbsd-src/usr.bin/uuencode/
H A Duuencode.c71 int base64, ch, mode; in main() local
74 base64 = 0; in main()
81 base64 = 1; in main()
107 if (base64) { in main()
/netbsd-src/sbin/cgdconfig/
H A Dcgdparse.y62 %type <string> stringlit base64 intstr tokstr
124 bits: base64 { $$ = bits_decode_d($1); }
126 base64: stringlit
127 | base64 stringlit { $$ = string_add_d($1, $2); }
/netbsd-src/external/bsd/libfido2/dist/tools/
H A DCMakeLists.txt32 set_source_files_properties(assert_get.c assert_verify.c base64.c bio.c
42 base64.c
51 base64.c
58 base64.c
/netbsd-src/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
/netbsd-src/external/bsd/file/dist/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
/netbsd-src/external/mpl/bind/dist/lib/isccc/
H A DMakefile.in160 libisccc_la-base64.lo libisccc_la-cc.lo libisccc_la-ccmsg.lo \
186 ./$(DEPDIR)/libisccc_la-base64.Plo \
507 include/isccc/base64.h \
519 base64.c \
620 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libisccc_la-base64.Plo@am__quote@ # am--include-marker
663 libisccc_la-base64.lo: base64.c
664 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libisccc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libisccc_la-base64.lo -MD -MP -MF $(DEPDIR)/libisccc_la-base64.Tpo -c -o libisccc_la-base64
[all...]
H A DMakefile.am8 include/isccc/base64.h \
20 base64.c \
/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dhttp.c570 static const char base64[] = in _http_base64() local
587 dst[0] = base64[(t >> 18) & 0x3f]; in _http_base64()
588 dst[1] = base64[(t >> 12) & 0x3f]; in _http_base64()
589 dst[2] = base64[(t >> 6) & 0x3f]; in _http_base64()
590 dst[3] = base64[(t >> 0) & 0x3f]; in _http_base64()
598 dst[0] = base64[(t >> 18) & 0x3f]; in _http_base64()
599 dst[1] = base64[(t >> 12) & 0x3f]; in _http_base64()
600 dst[2] = base64[(t >> 6) & 0x3f]; in _http_base64()
607 dst[0] = base64[(t >> 18) & 0x3f]; in _http_base64()
608 dst[1] = base64[(t >> 12) & 0x3f]; in _http_base64()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A DNTMakefile37 $(OBJ)\base64.obj \
151 $(INCDIR)\base64.h \
189 $(OBJ)\base64-test.exe \
245 $(OBJ)\base64-test.exe: $(OBJ)\base64-test.obj $(OBJ)\base64.obj $(LIBROKEN)
275 -base64-test.exe
/netbsd-src/external/bsd/openldap/dist/tests/scripts/
H A Dtest067-tls26 base64=`command -v base64 2>/dev/null`
49 elif test -n "${certtool}" && test -n "${base64}"; then
55 | "${base64}"`"
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/
H A Dopenssl-rand.pod.in13 [B<-base64>]
42 =item B<-base64>
44 Perform base64 encoding on the output.
/netbsd-src/external/bsd/libbind/dist/isc/
H A DMakefile.in21 OBJS= assertions.@O@ base64.@O@ bitncmp.@O@ ctl_clnt.@O@ ctl_p.@O@ \
26 SRCS= assertions.c base64.c bitncmp.c ctl_clnt.c ctl_p.c \
/netbsd-src/libexec/ftpd/
H A Dcmds.c559 static const char base64[] = in base64_encode() local
571 *e++ = base64[(c[0] >> 2) & 0x3f]; in base64_encode()
572 *e++ = base64[((c[0] << 4) & 0x30) | ((c[1] >> 4) & 0x0f)]; in base64_encode()
573 *e++ = base64[((c[1] << 2) & 0x3c) | ((c[2] >> 6) & 0x03)]; in base64_encode()
574 *e++ = base64[(c[2]) & 0x3f]; in base64_encode()
578 *e++ = base64[(c[0] >> 2) & 0x3f]; in base64_encode()
579 *e++ = base64[((c[0] << 4) & 0x30) | in base64_encode()
581 *e++ = (i > 1) ? base64[(c[1] << 2) & 0x3c] : termchar; in base64_encode()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dprsa_tok.l54 base64 [A-Za-z0-9+/=]
69 0s{base64}+ {

12345678