HomeSort by: relevance | last modified time | path
    Searched defs:base64 (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/dap/
memory.py 16 import base64 namespace
34 "data": base64.b64encode(buf).decode("ASCII"),
42 buf = base64.b64decode(data)
  /src/sbin/cgdconfig/
cgdparse.y 62 %type <string> stringlit base64 intstr tokstr
124 bits: base64 { $$ = bits_decode_d($1); }
126 base64: stringlit label
127 | base64 stringlit { $$ = string_add_d($1, $2); }
  /src/usr.sbin/wg-keygen/
wg-keygen.c 81 base64(uint8_t key[KEY_LEN]) function
105 printf("%s\n", base64(key));
111 printf("%s\n", base64(key));
131 printf("%s\n", base64(pubkey));
  /src/usr.bin/uudecode/
uudecode.c 75 static int base64; variable
90 base64 = 1;
139 warnx("%s: no \"%s\" line", inputname, base64 ?
140 "begin-base64" : "begin");
144 if (strncmp(p, "begin-base64", 12) == 0) {
145 base64 = 1;
160 base64 ? "begin-base64" : "begin");
167 base64 ? "begin-base64" : "begin")
    [all...]
  /src/usr.bin/uuencode/
uuencode.c 71 int base64, ch, mode; local
74 base64 = 0;
81 base64 = 1;
107 if (base64) {
108 (void)printf("begin-base64 %o %s\n", mode, *argv);
126 * copy from in to out, encoding in base64 as you go along.
146 errx(1, "b64_ntop: error encoding base64");
  /src/external/mpl/bind/dist/bin/tests/system/dnssec_cname_response/
tests_cname_rejection.py 14 import base64 namespace
30 public key (base64) for use as a static trust anchor."""
50 return base64.b64encode(ksk_dnskey.key).decode()
  /src/external/mpl/bind/dist/bin/tests/system/rndc_confgen/
tests_rndc_confgen.py 12 import base64 namespace
73 return base64.b64decode(match.group(1))
  /src/external/mpl/bind/dist/bin/tests/system/sig0/
tests_sig0.py 12 import base64 namespace
46 return int.from_bytes(base64.b64decode(data[k]), byteorder="big")
  /src/external/bsd/libarchive/dist/libarchive/
archive_write_add_filter_b64encode.c 67 static const char base64[] = { variable
179 archive_string_sprintf(&state->encoded_buff, "begin-base64 %o %s\n",
193 archive_strappend_char(as, base64[c]);
195 archive_strappend_char(as, base64[c]);
197 archive_strappend_char(as, base64[c]);
199 archive_strappend_char(as, base64[c]);
203 archive_strappend_char(as, base64[c]);
206 archive_strappend_char(as, base64[c]);
211 archive_strappend_char(as, base64[c]);
213 archive_strappend_char(as, base64[c])
    [all...]
archive_read_support_filter_uu.c 139 static const unsigned char base64[256] = { variable
288 else if (len -nl >= 18 && memcmp(b, "begin-base64 ", 13) == 0)
342 /* "begin-base64 " */
344 if (!base64[*b++])
354 if (avail > 0 && base64[*b])
568 memcmp(b, "begin-base64 ", 13) == 0)
680 if (!base64[b[0]] || !base64[b[1]])
690 if (!base64[*b])
699 if (!base64[*b]
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/evp/
bio_b64.c 41 EVP_ENCODE_CTX *base64; member in struct:b64_struct
48 "base64 encoding",
75 ctx->base64 = EVP_ENCODE_CTX_new();
76 if (ctx->base64 == NULL) {
98 EVP_ENCODE_CTX_free(ctx->base64);
108 * aren't exclusively composed of valid Base64 characters (followed by <CRLF>
109 * or <LF>). Once a valid Base64 line is found, `ctx->start` is set to 0 and
110 * lines are processed until EOF or the first line that contains invalid Base64
136 EVP_DecodeInit(ctx->base64);
178 /* Incomplete final Base64 chunk in the decoder is an error *
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/isc/
base64.c 1 /* $NetBSD: base64.c,v 1.1 2024/02/18 20:57:48 christos Exp $ */
20 #include <isc/base64.h>
44 static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw" variable
60 buf[0] = base64[(source->base[0] >> 2) & 0x3f];
61 buf[1] = base64[((source->base[0] << 4) & 0x30) |
63 buf[2] = base64[((source->base[1] << 2) & 0x3c) |
65 buf[3] = base64[source->base[2] & 0x3f];
77 buf[0] = base64[(source->base[0] >> 2) & 0x3f];
78 buf[1] = base64[((source->base[0] << 4) & 0x30) |
80 buf[2] = base64[((source->base[1] << 2) & 0x3c)]
    [all...]
  /src/external/mpl/bind/dist/lib/isc/
base64.c 1 /* $NetBSD: base64.c,v 1.11 2026/04/08 00:16:15 christos Exp $ */
20 #include <isc/base64.h>
37 static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw" variable
53 buf[0] = base64[(source->base[0] >> 2) & 0x3f];
54 buf[1] = base64[((source->base[0] << 4) & 0x30) |
56 buf[2] = base64[((source->base[1] << 2) & 0x3c) |
58 buf[3] = base64[source->base[2] & 0x3f];
70 buf[0] = base64[(source->base[0] >> 2) & 0x3f];
71 buf[1] = base64[((source->base[0] << 4) & 0x30) |
73 buf[2] = base64[((source->base[1] << 2) & 0x3c)]
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/dnssec_nsec3/ans1/
f025.py 10 import base64 namespace
51 raw = bytearray(base64.b32hexdecode(hash_text.upper()))
54 return base64.b32hexencode(value.to_bytes(len(raw), "big")).decode("ascii")
f055.py 11 import base64 namespace
49 signature = base64.b64encode(bytes(64)).decode("ascii")
61 raw = bytearray(base64.b32hexdecode(hash_text.upper()))
64 return base64.b32hexencode(value.to_bytes(len(raw), "big")).decode("ascii")
  /src/external/mpl/bind/dist/bin/tests/system/dnssec_py/ans4/
rrsig_labels_signer_ans.py 38 import base64 namespace
71 return base64.b32hexencode(data).decode().rstrip("=").lower()
noqname_mismatch.py 19 import base64 namespace
125 signature = base64.b64encode(bytes(64)).decode("ascii")
  /src/external/mpl/bind/dist/bin/tests/system/dnssec_py/
tests_dnskey_malformed.py 15 import base64 namespace
121 ksk_key_b64 = base64.b64encode(ksk_dnskey.key).decode()
  /src/external/mpl/bind/dist/bin/tests/system/nsec_synthesis/ans1/
f004.py 17 import base64 namespace
70 signature = base64.b64encode(bytes(64)).decode("ascii")
f023.py 10 import base64 namespace
59 signature = base64.b64encode(bytes(64)).decode("ascii")
  /src/crypto/external/bsd/openssl/dist/crypto/evp/
bio_b64.c 41 EVP_ENCODE_CTX *base64; member in struct:b64_struct
48 "base64 encoding",
78 ctx->base64 = EVP_ENCODE_CTX_new();
79 if (ctx->base64 == NULL) {
100 EVP_ENCODE_CTX_free(ctx->base64);
130 EVP_DecodeInit(ctx->base64);
201 * base64 encoded stuff.
209 k = EVP_DecodeUpdate(ctx->base64,
213 EVP_DecodeInit(ctx->base64);
222 EVP_DecodeInit(ctx->base64);
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/evp/
bio_b64.c 41 EVP_ENCODE_CTX *base64; member in struct:b64_struct
48 "base64 encoding",
80 ctx->base64 = EVP_ENCODE_CTX_new();
81 if (ctx->base64 == NULL) {
102 EVP_ENCODE_CTX_free(ctx->base64);
132 EVP_DecodeInit(ctx->base64);
203 * base64 encoded stuff.
211 k = EVP_DecodeUpdate(ctx->base64,
215 EVP_DecodeInit(ctx->base64);
224 EVP_DecodeInit(ctx->base64);
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/nsec3/ans7/
ans.py 35 import base64 namespace
112 return base64.b32hexdecode(padded)
126 key_bytes = base64.b64decode(line.split(":", 1)[1].strip())
  /src/external/mpl/bind/dist/bin/tests/system/isctest/
zone.py 19 import base64 namespace
181 return base64.b64decode(fields[name])
  /src/external/mpl/bind/dist/bin/tests/system/nsec_piggyback/ans1/
ans.py 12 import base64 namespace
141 signature = base64.b64encode(bytes(64)).decode("ascii")

Completed in 33 milliseconds

1 2