Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 25 of 459) sorted by relevance

12345678910>>...19

/netbsd/src/crypto/external/bsd/openssh/dist/
Dssh-ed25519-sk.c132 struct sshbuf *encoded = NULL; in ssh_ed25519_sk_verify() local
204 if ((encoded = sshbuf_new()) == NULL) { in ssh_ed25519_sk_verify()
208 if (sshbuf_put(encoded, sigblob, len) != 0 || in ssh_ed25519_sk_verify()
209 sshbuf_put(encoded, apphash, sizeof(apphash)) != 0 || in ssh_ed25519_sk_verify()
210 sshbuf_put_u8(encoded, sig_flags) != 0 || in ssh_ed25519_sk_verify()
211 sshbuf_put_u32(encoded, sig_counter) != 0 || in ssh_ed25519_sk_verify()
212 sshbuf_put(encoded, msghash, sizeof(msghash)) != 0) { in ssh_ed25519_sk_verify()
218 sshbuf_dump(encoded, stderr); in ssh_ed25519_sk_verify()
220 sm = sshbuf_ptr(encoded); in ssh_ed25519_sk_verify()
221 smlen = sshbuf_len(encoded); in ssh_ed25519_sk_verify()
[all …]
Dsshkey-xmss.c890 struct sshbuf *encrypted = NULL, *encoded = NULL, *padded = NULL; in sshkey_xmss_encrypt_state() local
917 (encoded = sshbuf_new()) == NULL || in sshkey_xmss_encrypt_state()
928 if ((r = sshbuf_put(encoded, XMSS_MAGIC, sizeof(XMSS_MAGIC))) != 0 || in sshkey_xmss_encrypt_state()
929 (r = sshbuf_put_u32(encoded, state->idx)) != 0) in sshkey_xmss_encrypt_state()
943 if ((r = sshbuf_put_u32(encoded, encrypted_len)) != 0) in sshkey_xmss_encrypt_state()
945 aadlen = sshbuf_len(encoded); in sshkey_xmss_encrypt_state()
948 if ((r = sshbuf_putb(encoded, padded)) != 0) in sshkey_xmss_encrypt_state()
957 (r = cipher_crypt(ciphercontext, 0, cp, sshbuf_ptr(encoded), in sshkey_xmss_encrypt_state()
969 sshbuf_free(encoded); in sshkey_xmss_encrypt_state()
977 sshkey_xmss_decrypt_state(const struct sshkey *k, struct sshbuf *encoded, in sshkey_xmss_decrypt_state() argument
[all …]
DPROTOCOL.sshsig9 encoded blob, and a footer.
20 The base64 encoded blob SHOULD be broken up by newlines
74 This blob is encoded as a string using the RFC4253 encoding
75 rules and base64 encoded to form the middle part of the
Dsshkey.c2820 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL; in sshkey_private_to_blob2() local
2835 (encoded = sshbuf_new()) == NULL || in sshkey_private_to_blob2()
2867 if ((r = sshbuf_put(encoded, AUTH_MAGIC, sizeof(AUTH_MAGIC))) != 0 || in sshkey_private_to_blob2()
2868 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 || in sshkey_private_to_blob2()
2869 (r = sshbuf_put_cstring(encoded, kdfname)) != 0 || in sshkey_private_to_blob2()
2870 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2()
2871 (r = sshbuf_put_u32(encoded, 1)) != 0 || /* number of keys */ in sshkey_private_to_blob2()
2873 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0) in sshkey_private_to_blob2()
2898 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0) in sshkey_private_to_blob2()
2902 if ((r = sshbuf_reserve(encoded, in sshkey_private_to_blob2()
[all …]
DPROTOCOL.certkeys162 pk is the encoded Ed25519 public key as defined by RFC8032.
189 critical options is a set of zero or more key options encoded as
217 encoded according to the rules defined for the CA's public key algorithm
235 option-specific information encoded as zero or more values inside
236 the string. I.e. an empty data field would be encoded as a zero-
238 string value "a" would be encoded as (00 00 00 05 00 00 00 01 65).
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dpemtest.c19 const char *encoded; member
41 const char *encoded = b64_pem_data[idx].encoded; in test_b64() local
45 || !TEST_true(BIO_printf(b, "%s\n", encoded)) in test_b64()
69 const char *encoded = b64_pem_data[0].encoded; in test_invalid() local
73 || !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded)) in test_invalid()
Dendecode_test.c131 void **encoded, long *encoded_len,
136 void **object, void *encoded, long encoded_len,
158 void *encoded = NULL; in test_encode_decode() local
171 if (!TEST_true(encode_cb(file, line, &encoded, &encoded_len, pkey, selection, in test_encode_decode()
176 if (TEST_false(decode_cb(file, line, (void **)&pkey2, encoded, in test_encode_decode()
184 if (!TEST_true(check_cb(file, line, type, encoded, encoded_len)) in test_encode_decode()
185 || !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len, in test_encode_decode()
191 && !TEST_true(decode_cb(file, line, (void **)&pkey3, encoded, encoded_len, in test_encode_decode()
217 && !test_cb(file, line, encoded, encoded_len, encoded2, encoded2_len)) in test_encode_decode()
223 if (encoded != NULL && encoded_len != 0) in test_encode_decode()
[all …]
Dpunycode_test.c20 const char *encoded; member
154 if (!TEST_true(ossl_punycode_decode(tc->encoded, strlen(tc->encoded), in test_punycode()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/wind/
Didn-lookup.c67 char encoded[1024]; in lookup() local
91 ep = encoded; in lookup()
98 len = sizeof(encoded) - (ep - encoded); in lookup()
110 printf("Converted \"%s\" into \"%s\"\n", name, encoded); in lookup()
114 ret = getaddrinfo(encoded, NULL, &hints, &ai); in lookup()
/netbsd/src/external/bsd/openldap/dist/contrib/ldapc++/src/
DLDAPUrl.cpp344 std::string encoded = ""; in components2Url() local
349 url << "[" << this->percentEncode(m_Host, encoded) << "]"; in components2Url()
351 url << this->percentEncode(m_Host, encoded, PCT_ENCFLAG_SLASH); in components2Url()
359 encoded = ""; in components2Url()
361 this->percentEncode( m_DN, encoded ); in components2Url()
362 url << encoded; in components2Url()
371 this->percentEncode( *i, encoded ); in components2Url()
377 url << encoded; in components2Url()
392 this->percentEncode( m_Filter, encoded ); in components2Url()
393 url << qm << "?" << encoded; in components2Url()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/rsa/
Drsa_sign.c279 const unsigned char *encoded = NULL; in RSA_sign() local
298 encoded = m; in RSA_sign()
302 encoded = tmps; in RSA_sign()
309 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, in RSA_sign()
337 unsigned char *decrypt_buf = NULL, *encoded = NULL; in ossl_rsa_verify() local
425 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in ossl_rsa_verify()
429 || memcmp(encoded, decrypt_buf, encoded_len) != 0) { in ossl_rsa_verify()
444 OPENSSL_clear_free(encoded, encoded_len); in ossl_rsa_verify()
/netbsd/src/external/gpl3/gdb/dist/sim/common/
Dhw-device.h331 const char *encoded,
334 #define hw_unit_decode(bus, encoded, unit) \ argument
335 ((bus)->to_unit_decode (bus, encoded, unit))
343 char *encoded,
346 #define hw_unit_encode(bus, unit, encoded, sizeof_encoded) \ argument
347 ((bus)->to_unit_encode (bus, unit, encoded, sizeof_encoded))
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libmj/
Dmj.c47 strnsave(const char *s, int n, int encoded) in strnsave() argument
57 switch (encoded) { in strnsave()
244 mj_snprint(char *buf, size_t size, mj_t *atom, int encoded) in mj_snprint() argument
263 switch (encoded) { in mj_snprint()
307 cc += mj_snprint(&buf[cc], size - cc, &atom->value.v[i], encoded); in mj_snprint()
316 cc += mj_snprint(&buf[cc], size - cc, &atom->value.v[i], encoded); in mj_snprint()
318 cc += mj_snprint(&buf[cc], size - cc, &atom->value.v[i + 1], encoded); in mj_snprint()
330 mj_asprint(char **buf, mj_t *atom, int encoded) in mj_asprint() argument
338 return mj_snprint(*buf, size, atom, encoded); in mj_asprint()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dada-lang.c953 mapping->encoded != NULL in ada_encode_1()
956 if (mapping->encoded == NULL) in ada_encode_1()
963 encoding_buffer.append (mapping->encoded); in ada_encode_1()
1178 ada_remove_trailing_digits (const char *encoded, int *len) in ada_remove_trailing_digits() argument
1180 if (*len > 1 && isdigit (encoded[*len - 1])) in ada_remove_trailing_digits()
1184 while (i > 0 && isdigit (encoded[i])) in ada_remove_trailing_digits()
1186 if (i >= 0 && encoded[i] == '.') in ada_remove_trailing_digits()
1188 else if (i >= 0 && encoded[i] == '$') in ada_remove_trailing_digits()
1190 else if (i >= 2 && startswith (encoded + i - 2, "___")) in ada_remove_trailing_digits()
1192 else if (i >= 1 && startswith (encoded + i - 1, "__")) in ada_remove_trailing_digits()
[all …]
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/
Dconfig_file.c222 char *encoded = NULL, *nencoded; in wpa_config_read_blob() local
236 nencoded = os_realloc(encoded, encoded_len + len); in wpa_config_read_blob()
240 os_free(encoded); in wpa_config_read_blob()
243 encoded = nencoded; in wpa_config_read_blob()
244 os_memcpy(encoded + encoded_len, pos, len); in wpa_config_read_blob()
248 if (!end || !encoded) { in wpa_config_read_blob()
251 os_free(encoded); in wpa_config_read_blob()
257 os_free(encoded); in wpa_config_read_blob()
261 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
262 os_free(encoded); in wpa_config_read_blob()
[all …]
DREADME-P2P103 Timeout - Optional ASCII base-10-encoded u16. If missing, request will not
324 auto accept - Mandatory ASCII hex-encoded boolean (0 == no auto-accept,
327 Advertisement ID - Mandatory non-zero ASCII hex-encoded u32
329 State - Mandatory ASCII hex-encoded u8 (0 -- Svc not available,
331 Config Methods - Mandatory ASCII hex-encoded u16 (bitmask of WSC config
356 auto accept - Mandatory ASCII hex-encoded boolean (1 == true, 0 == false)
357 Advertisement ID - Mandatory non-zero ASCII hex-encoded u32
359 State - Mandatory ASCII hex-encoded u8 (can be used to indicate svc
361 Config Methods - Mandatory ASCII hex-encoded u16 (bitmask of WSC config
463 Transaction ID - Mandatory non-zero ASCII hex-encoded u8 for GAS
[all …]
/netbsd/src/crypto/external/bsd/netpgp/dist/ref/
Drfc2437.txt175 EM encoded message, an octet string
177 emLen intended length in octets of an encoded message
658 an encoded message, which is then converted to an integer message
663 octet string encoded message. A message decoding operation is applied
664 to the encoded message to recover the message and verify the
744 message M and the encoding parameters P to produce an encoded message
752 2. Convert the encoded message EM to an integer message
808 4. Convert the message representative m to an encoded message EM of
814 5. Apply the EME-OAEP decoding operation to the encoded message EM
854 encoded, rigorous checking of PKCS #1 v1.5 conformance and other
[all …]
/netbsd/src/external/bsd/openldap/dist/doc/rfc/
Drfc2849.txt131 ; encoded (see note 10, below)
138 ; an rdn which has been base64 encoded (see
304 base-64 encoded. Other values MAY be base-64 encoded. Any
307 defined as "SAFE-INIT-CHAR", above, MUST be base-64 encoded.
308 Other values MAY be base-64 encoded.
344 base-64 encoded.
356 encoded, the encoding rules specified in [5] are used with the
416 Example 3: A file containing a base-64-encoded value
433 Example 4: A file containing an entries with UTF-8-encoded attribute
435 of UTF-8-encoded attributes and distinguished names.
Drfc4527.txt94 tags. The term "BER-encoded" means the element is to be encoded
129 controlType is 1.3.6.1.1.13.1 and whose controlValue is a BER-encoded
136 STRING, contains a BER-encoded SearchResultEntry. The criticality
165 STRING, contains a BER-encoded AttributeSelection [RFC4511], as
179 controlType is 1.3.6.1.1.13.2 and whose controlValue is a BER-encoded
Drfc4522.txt37 encoded according to the Basic Encoding Rules (BER) used by X.500
78 assertion values are, or are requested to be, encoded according to
120 associated attribute values or assertion values MUST be BER encoded
121 (otherwise the values are encoded according to the LDAP-specific
152 in the BER-encoded form. For the purposes of this document, these
195 values BER encoded) regardless of whether the binary option was
/netbsd/src/external/bsd/openldap/dist/doc/drafts/
Ddraft-legg-ldap-transfer-xx.txt63 associated attribute values are encoded according to one of these
147 assertion value are, or are requested to be, encoded according to
194 be encoded according to the encoding method corresponding to the
235 associated attribute values or assertion value are (to be) encoded
243 associated attribute values or assertion value are (to be) encoded
247 associated attribute values or assertion value are (to be) encoded
251 associated attribute values or assertion value are (to be) encoded as
353 Certain syntaxes are required to be transferred in the BER encoded
365 with a binary transfer requirement will be GSER encoded. In the
590 an attribute value encoded according to the transfer-rxer encoding
/netbsd/src/external/bsd/file/dist/magic/magdir/
Ddolby36 >>6 byte&0x18 = 0x08 not Dolby Surround encoded
37 >>6 byte&0x18 = 0x10 Dolby Surround encoded
Dmime4 # mime: file(1) magic for MIME encoded files
/netbsd/src/external/bsd/tcpdump/dist/tests/
Dppp_ccp_config_deflate_option_asan.out2 encoded length 15 (=Option(s) length 11)
/netbsd/src/external/bsd/ntp/dist/util/
Dntp-keygen.texi50 All other files are in PEM-encoded
66 format compatible with NTPv3. All other files are in PEM-encoded
74 OpenSSL library is installed, it produces an additional ten hex-encoded
228 The remainder of the file contains cryptographic data encoded first
230 given password and finally written in PEM-encoded printable ASCII text
286 key consists of a hex-encoded ASCII string of 40 characters, which is

12345678910>>...19