Home
last modified time | relevance | path

Searched full:base64 (Results 1 – 25 of 192) sorted by relevance

12345678

/openbmc/qemu/docs/system/
H A Dsecrets.rst39 Again it is possible to provide the data in base64 encoded format, which is
45 -object secret,id=secvnc0,data=ODc1MzkzMTk=,format=base64
48 **Note: base64 encoding does not provide any security benefit.**
67 In some cases it might be more convenient to pass the secret data in base64
72 -object secret,id=sec0,file=vnc-password.txt,format=base64
95 -object secret,id=secmaster,file=masterkey.data,format=base64
99 cryptographically secure random bytes, which are then base64 encoded.
105 -object secret,id=secvnc0,keyid=secmaster,data=BASE64-CIPHERTEXT,iv=BASE64-IV,format=base64
108 In this example ``BASE64-CIPHERTEXT`` is the result of AES-256-CBC encrypting
109 the secret with ``masterkey.data`` and then base64 encoding the ciphertext.
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0005-adb-add-base64-implementation.patch4 Subject: [PATCH] adb: add base64 implementation
13 adb/base64.c | 315 ++++++++++++++++++++++++++++++++++++++++++
15 create mode 100644 adb/base64.c
28 D("%s: Invalid base64 data ret=%d\n", file, ret);
30 diff --git a/adb/base64.c b/adb/base64.c
34 +++ b/adb/base64.c
79 +static const char rcsid[] = "$BINDId: base64.c,v 8.7 1999/10/13 16:39:33 vixie Exp $";
99 +static const char Base64[] =
116 + of which is translated into a single digit in the base64 alphabet.
122 + Table 1: The Base64 Alphabet
[all …]
/openbmc/linux/lib/
H A Dbase64.c3 * base64.c - RFC4648-compliant base64 encoding
8 * (which are using the URL-safe base64 encoding),
16 #include <linux/base64.h>
22 * base64_encode() - base64-encode some binary data
25 * @dst: (output) the base64-encoded string. Not NUL-terminated.
27 * Encodes data using base64 encoding, i.e. the "Base 64 Encoding" specified
30 * Return: the length of the resulting base64-encoded string in bytes.
60 * base64_decode() - base64-decode a string
65 * Decodes a string using base64 encoding, i.e. the "Base 64 Encoding"
71 * or -1 if the string isn't a valid base64 string.
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netcat/netcat-openbsd/
H A D0001-bundle-own-base64-encode-decode-functions.patch4 Subject: [PATCH] bundle own base64 encode/decode functions
17 base64.c | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 create mode 100644 base64.c
32 +SRCS= netcat.c atomicio.c socks.c base64.c
40 diff --git a/base64.c b/base64.c
44 +++ b/base64.c
89 +static const char rcsid[] = "$BINDId: base64.c,v 8.7 1999/10/13 16:39:33 vixie Exp $";
108 +static const char Base64[] =
125 + of which is translated into a single digit in the base64 alphabet.
131 + Table 1: The Base64 Alphabet
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-base64.c2 * QEMU base64 helper test
24 #include "qemu/base64.h"
65 /* We put a NUL character in the middle of the base64 in test_base64_embedded_nul()
82 * creating an invalid base64 sequence for decoding */ in test_base64_not_nul_terminated()
90 * of the base64 text which is invalid data */ in test_base64_invalid_chars()
102 g_test_add_func("/util/base64/good", test_base64_good); in main()
103 g_test_add_func("/util/base64/embedded-nul", test_base64_embedded_nul); in main()
104 g_test_add_func("/util/base64/not-nul-terminated", in main()
106 g_test_add_func("/util/base64/invalid-chars", test_base64_invalid_chars); in main()
H A Dtest-crypto-secret.c281 "format", "base64", in test_secret_noconv_base64_good()
302 "format", "base64", in test_secret_noconv_base64_bad()
338 "format", "base64", in test_secret_conv_base64_utf8valid()
359 "format", "base64", in test_secret_conv_base64_utf8invalid()
398 "format", "base64", in test_secret_crypt_raw()
431 "format", "base64", in test_secret_crypt_base64()
439 "format", "base64", in test_secret_crypt_base64()
463 "format", "base64", in test_secret_crypt_short_key()
489 "format", "base64", in test_secret_crypt_short_iv()
515 "format", "base64", in test_secret_crypt_missing_iv()
[all …]
/openbmc/qemu/include/crypto/
H A Dsecret.h50 * either as a UTF-8 string (the default), or as base64
78 * random bytes (optionally base64 encoded)
80 * # openssl rand -base64 32 > key.b64
81 * # KEY=$(base64 -d key.b64 | hexdump -v -e '/1 "%02X"')
87 * # openssl rand -base64 16 > iv.b64
88 * # IV=$(base64 -d iv.b64 | hexdump -v -e '/1 "%02X"')
100 * -object secret,id=secmaster0,format=base64,file=key.b64 \
101 * -object secret,id=sec0,keyid=secmaster0,format=base64,\
106 * raw binary data, or base64 encoded. This example uses
112 * -object secret,id=secmaster0,format=base64,file=key.b64 \
[all …]
H A Dhash.h209 * @base64: pointer to store the hash result in
214 * The @base64 pointer will be filled with the base64 encoding of the computed
215 * hash, which will be terminated by '\0'. The memory pointer in @base64
221 char **base64,
302 * @base64: pointer to hold output hash
306 * present in @iov. The @base64 pointer will be
307 * filled with the base64 encoding of the computed
309 * memory pointer in @base64 must be released
317 char **base64,
325 * @base64: pointer to hold output hash
[all …]
/openbmc/qemu/util/
H A Dbase64.c2 * QEMU base64 helpers
23 #include "qemu/base64.h"
38 error_setg(errp, "Base64 data is not NUL terminated"); in qbase64_decode()
42 * this to be valid base64 data */ in qbase64_decode()
44 error_setg(errp, "Base64 data contains embedded NUL characters"); in qbase64_decode()
55 error_setg(errp, "Base64 data contains invalid characters"); in qbase64_decode()
/openbmc/qemu/tests/qemu-iotests/
H A D149.out23 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts d…
28 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-op…
33 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts …
38 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-o…
63 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter…
81 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts d…
86 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-op…
91 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts …
96 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-o…
141 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts d…
[all …]
H A D207126 # Mappings of base64 representations to digests
133 'echo %s | base64 -d | md5sum -b | cut -d" " -f1' % key,
137 'echo %s | base64 -d | sha1sum -b | cut -d" " -f1' % key,
141 'echo %s | base64 -d | sha256sum -b | cut -d" " -f1' % key,
/openbmc/qemu/include/qemu/
H A Dbase64.h2 * QEMU base64 helpers
28 * @input: the (possibly) base64 encoded text
33 * Attempt to decode the (possibly) base64 encoded
40 * are considered invalid base64 data and errors
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/libb64/
H A D0002-use-BUFSIZ-as-buffer-size.patch27 namespace base64
28 @@ -22,7 +23,7 @@ namespace base64
48 namespace base64
49 @@ -22,7 +23,7 @@ namespace base64
/openbmc/qemu/crypto/
H A Dhash.c173 char **base64, in qcrypto_hash_finalize_base64() argument
182 *base64 = g_base64_encode(result, resultlen); in qcrypto_hash_finalize_base64()
222 char **base64, in qcrypto_hash_base64v() argument
232 qcrypto_hash_finalize_base64(ctx, base64, errp) < 0) { in qcrypto_hash_base64v()
242 char **base64, in qcrypto_hash_base64() argument
247 return qcrypto_hash_base64v(alg, &iov, 1, base64, errp); in qcrypto_hash_base64()
/openbmc/openbmc/poky/meta/recipes-core/coreutils/
H A Dcoreutils_9.5.bb51 # [ df mktemp nice printenv base64 gets a special treatment and is not included in this
106 for i in df mktemp nice printenv base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
128 ALTERNATIVE:${PN} = "lbracket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs} base32 base64 n…
129 ALTERNATIVE:${PN}-doc = "base64.1 nice.1 mktemp.1 df.1 groups.1 kill.1 uptime.1 stat.1 hostname.1"
133 ALTERNATIVE_LINK_NAME[base64] = "${base_bindir}/base64"
134 ALTERNATIVE_TARGET[base64] = "${bindir}/base64.${BPN}"
135 ALTERNATIVE_LINK_NAME[base64.1] = "${mandir}/man1/base64.1"
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery.treetable.theme.default.css28 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTU…
32 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTU…
36 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
40 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
46 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
50 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
59 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
63 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
H A Djquery.treetable.theme.toaster.css2 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTU…
6 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTU…
10 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
14 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
20 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
24 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
33 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
37 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/
H A Djquery.treetable.theme.toaster.css30 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTU…
34 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTU…
38 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
42 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
48 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
52 …background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWX…
61 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
65 …background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBI…
/openbmc/bmcweb/http/
H A Dutility.hpp116 // Takes 3 ascii chars, and encodes them as 4 base64 chars
184 // Completes a base64 output, by writing any MOD(3) characters to the
216 // Base64 encodes 3 character blocks as 4 character blocks in encodedSize()
226 Base64Encoder base64; in base64encode() local
228 base64.encode(data, out); in base64encode()
229 base64.finalize(out); in base64encode()
265 // non base64 character in base64Decode()
276 // non base64 character in base64Decode()
293 // non base64 character in base64Decode()
311 // non base64 character in base64Decode()
/openbmc/bmcweb/test/http/
H A Dhttp_body_test.cpp71 HttpBody::value_type value(EncodingType::Base64); in TEST()
82 EXPECT_EQ(value2.encodingType, EncodingType::Base64); in TEST()
95 HttpBody::value_type value(EncodingType::Base64); in TEST()
106 EXPECT_EQ(value2.encodingType, EncodingType::Base64); in TEST()
118 HttpBody::value_type value(EncodingType::Base64); in TEST()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/
H A Dlibb64_2.0.0.1.bb1 SUMMARY = "Base64 Encoding/Decoding Routines"
2 DESCRIPTION = "base64 encoding/decoding library - runtime library \
4 and from a base64-encoded format"
/openbmc/qemu/qapi/
H A Dmisc-target.json151 # @data: the measurement value encoded in base64
181 # @pdh: Platform Diffie-Hellman key (base64 encoded)
183 # @cert-chain: PDH certificate chain (base64 encoded)
185 # @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.1)
227 # @packet-header: the launch secret packet header encoded in base64
229 # @secret: the launch secret data to be injected encoded in base64
245 # @data: guest attestation report (base64 encoded)
259 # @mnonce: a random 16 bytes value encoded in base64 (it will be
/openbmc/libcper/
H A Dbase64.c1 #include <libcper/base64.h>
73 // Base64 decode table. Invalid values are specified with 0x80.
145 printf("Invalid base64 input length. Last character truncated.\n"); in base64_decode()
154 printf("Invalid base64 input length %d.\n", block_index); in base64_decode()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ssmtp/ssmtp/
H A Dbuild-ouside_srcdir.patch13 -SRCS=ssmtp.c arpadate.c base64.c xgethostname.c @SRCS@
14 +SRCS=$(srcdir)/ssmtp.c $(srcdir)/arpadate.c $(srcdir)/base64.c $(srcdir)/xgethostname.c @SRCS@
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DTelemetryData.v1_0_0.json92 "description": "A Base64-encoded string of the associated telemetry data.",
93Base64-encoded string, with padding characters, of the associated telemetry data. The contents sh…
109 …a` and `AdditionalDataURI` are present, `AdditionalData` shall contain a Base64-encoded string, wi…

12345678