| /dragonfly/crypto/openssh/ |
| HD | ssh-ed25519-sk.c | 131 struct sshbuf *encoded = NULL; in ssh_ed25519_sk_verify() local 203 if ((encoded = sshbuf_new()) == NULL) { in ssh_ed25519_sk_verify() 207 if (sshbuf_put(encoded, sigblob, len) != 0 || in ssh_ed25519_sk_verify() 208 sshbuf_put(encoded, apphash, sizeof(apphash)) != 0 || in ssh_ed25519_sk_verify() 209 sshbuf_put_u8(encoded, sig_flags) != 0 || in ssh_ed25519_sk_verify() 210 sshbuf_put_u32(encoded, sig_counter) != 0 || in ssh_ed25519_sk_verify() 211 sshbuf_put(encoded, msghash, sizeof(msghash)) != 0) { in ssh_ed25519_sk_verify() 217 sshbuf_dump(encoded, stderr); in ssh_ed25519_sk_verify() 219 sm = sshbuf_ptr(encoded); in ssh_ed25519_sk_verify() 220 smlen = sshbuf_len(encoded); in ssh_ed25519_sk_verify() [all …]
|
| HD | sshkey-xmss.c | 893 struct sshbuf *encrypted = NULL, *encoded = NULL, *padded = NULL; in sshkey_xmss_encrypt_state() local 920 (encoded = sshbuf_new()) == NULL || in sshkey_xmss_encrypt_state() 931 if ((r = sshbuf_put(encoded, XMSS_MAGIC, sizeof(XMSS_MAGIC))) != 0 || in sshkey_xmss_encrypt_state() 932 (r = sshbuf_put_u32(encoded, state->idx)) != 0) in sshkey_xmss_encrypt_state() 946 if ((r = sshbuf_put_u32(encoded, encrypted_len)) != 0) in sshkey_xmss_encrypt_state() 948 aadlen = sshbuf_len(encoded); in sshkey_xmss_encrypt_state() 951 if ((r = sshbuf_putb(encoded, padded)) != 0) in sshkey_xmss_encrypt_state() 960 (r = cipher_crypt(ciphercontext, 0, cp, sshbuf_ptr(encoded), in sshkey_xmss_encrypt_state() 972 sshbuf_free(encoded); in sshkey_xmss_encrypt_state() 980 sshkey_xmss_decrypt_state(const struct sshkey *k, struct sshbuf *encoded, in sshkey_xmss_decrypt_state() argument [all …]
|
| HD | PROTOCOL.sshsig | 9 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
|
| HD | sshkey.c | 2760 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL; in sshkey_private_to_blob2() local 2775 (encoded = sshbuf_new()) == NULL || in sshkey_private_to_blob2() 2807 if ((r = sshbuf_put(encoded, AUTH_MAGIC, sizeof(AUTH_MAGIC))) != 0 || in sshkey_private_to_blob2() 2808 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 || in sshkey_private_to_blob2() 2809 (r = sshbuf_put_cstring(encoded, kdfname)) != 0 || in sshkey_private_to_blob2() 2810 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2() 2811 (r = sshbuf_put_u32(encoded, 1)) != 0 || /* number of keys */ in sshkey_private_to_blob2() 2813 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0) in sshkey_private_to_blob2() 2838 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0) in sshkey_private_to_blob2() 2842 if ((r = sshbuf_reserve(encoded, in sshkey_private_to_blob2() [all …]
|
| HD | PROTOCOL.agent | 23 Where 'hostkey' is the encoded server host public key, 'session 97 Where "certsblob" consists of one or more certificates encoded as public
|
| HD | PROTOCOL.chacha20poly1305 | 56 using K_2, an IV consisting of the packet sequence number encoded as an 68 encoded as a uint64 under the usual SSH wire encoding and a zero block
|
| HD | PROTOCOL.key | 51 where each private key is encoded using the same rules as used for
|
| HD | hostfile.c | 121 char *encoded = NULL; in host_hash() local 146 xasprintf(&encoded, "%s%s%c%s", HASH_MAGIC, uu_salt, HASH_DELIM, in host_hash() 149 return (encoded); in host_hash()
|
| /dragonfly/crypto/libressl/crypto/rsa/ |
| HD | rsa_sign.c | 129 const unsigned char *encoded = NULL; in RSA_sign() local 148 encoded = m; in RSA_sign() 152 encoded = tmps; in RSA_sign() 158 if ((encrypt_len = RSA_private_encrypt(encoded_len, encoded, sigret, in RSA_sign() 183 unsigned char *decrypt_buf, *encoded = NULL; in int_rsa_verify() local 246 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in int_rsa_verify() 250 timingsafe_bcmp(encoded, decrypt_buf, encoded_len) != 0) { in int_rsa_verify() 264 freezero(encoded, (size_t)encoded_len); in int_rsa_verify()
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | ada-lang.c | 895 mapping->encoded != NULL in ada_encode() 899 if (mapping->encoded == NULL) in ada_encode() 901 strcpy (encoding_buffer + k, mapping->encoded); in ada_encode() 902 k += strlen (mapping->encoded); in ada_encode() 966 ada_remove_trailing_digits (const char *encoded, int *len) in ada_remove_trailing_digits() argument 968 if (*len > 1 && isdigit (encoded[*len - 1])) in ada_remove_trailing_digits() 972 while (i > 0 && isdigit (encoded[i])) in ada_remove_trailing_digits() 974 if (i >= 0 && encoded[i] == '.') in ada_remove_trailing_digits() 976 else if (i >= 0 && encoded[i] == '$') in ada_remove_trailing_digits() 978 else if (i >= 2 && strncmp (encoded + i - 2, "___", 3) == 0) in ada_remove_trailing_digits() [all …]
|
| /dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
| HD | config_file.c | 299 unsigned char *encoded = NULL, *nencoded; in wpa_config_read_blob() local 313 nencoded = os_realloc(encoded, encoded_len + len); in wpa_config_read_blob() 317 os_free(encoded); in wpa_config_read_blob() 320 encoded = nencoded; in wpa_config_read_blob() 321 os_memcpy(encoded + encoded_len, pos, len); in wpa_config_read_blob() 325 if (!end || !encoded) { in wpa_config_read_blob() 328 os_free(encoded); in wpa_config_read_blob() 334 os_free(encoded); in wpa_config_read_blob() 338 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob() 339 os_free(encoded); in wpa_config_read_blob() [all …]
|
| HD | README-P2P | 103 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 …]
|
| HD | eapol_test.c | 442 unsigned char *encoded; in eapol_test_write_cert() local 444 encoded = base64_encode(wpabuf_head(cert), wpabuf_len(cert), NULL); in eapol_test_write_cert() 445 if (encoded == NULL) in eapol_test_write_cert() 448 "-----END CERTIFICATE-----\n\n", subject, encoded); in eapol_test_write_cert() 449 os_free(encoded); in eapol_test_write_cert()
|
| /dragonfly/contrib/file/magic/Magdir/ |
| HD | dolby | 36 >>6 byte&0x18 = 0x08 not Dolby Surround encoded 37 >>6 byte&0x18 = 0x10 Dolby Surround encoded
|
| HD | mime | 4 # mime: file(1) magic for MIME encoded files
|
| HD | ssl | 20 0 string U2FsdGVkX1 openssl enc'd data with salted password, base64 encoded
|
| HD | uuencode | 4 # uuencode: file(1) magic for ASCII-encoded files
|
| HD | pdf | 10 >8 search/512 /Filter/FlateDecode/ (zip deflate encoded)
|
| HD | smile | 29 >3 byte&0x04 0x00 binary encoded,
|
| HD | sereal | 32 0 string/b \=\xC3\xB3rl Sereal data packet, UTF-8 encoded
|
| HD | ber | 27 # Sender long tag #TAP 3.x (BER encoded)
|
| /dragonfly/lib/libcam/ |
| HD | scsi_cmdparse.c | 545 int encoded = 0; in do_encode() local 554 encoded++; in do_encode() 650 return encoded; in do_encode()
|
| /dragonfly/contrib/wpa_supplicant/src/wps/ |
| HD | wps_er.c | 900 unsigned char *encoded; in wps_er_soap_hdr() local 905 encoded = base64_encode(wpabuf_head(msg), wpabuf_len(msg), in wps_er_soap_hdr() 907 if (encoded == NULL) in wps_er_soap_hdr() 910 encoded = NULL; in wps_er_soap_hdr() 916 os_free(encoded); in wps_er_soap_hdr() 940 if (encoded) { in wps_er_soap_hdr() 942 arg_name, (char *) encoded, arg_name); in wps_er_soap_hdr() 943 os_free(encoded); in wps_er_soap_hdr()
|
| /dragonfly/contrib/gcc-4.7/gcc/doc/ |
| HD | objc.texi | 294 The types are encoded in the following way: 338 @tab an @code{enum} is encoded exactly as the integer type that the compiler uses for it, which dep… 339 values. Often the compiler users @code{unsigned int}, which is then encoded as @code{I}. 343 @tab @code{j} followed by the inner type. For example @code{_Complex double} is encoded as "jd". 364 The non-atomic types are encoded as follows: 441 The type specifiers are encoded just before the type. Unlike types 442 however, the type specifiers are only encoded when they appear in method 472 encoded as @code{^ri}. @code{int* const}, instead, is a @code{const} 473 pointer to an @code{int}, and so is encoded as @code{r^i}. 476 versus @code{char * const}. Because @code{char *} is encoded as [all …]
|
| /dragonfly/sys/dev/disk/dm/doc/ |
| HD | proposal-dm.txt | 75 /* list of parts that still need copied etc.; run length encoded? */
|