/external/openssh/ |
D | sshbuf-getput-basic.c | 32 const u_char *p = sshbuf_ptr(buf); in sshbuf_get() 45 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u64() 58 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u32() 71 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u16() 84 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u8() 152 const u_char *p = sshbuf_ptr(buf); in sshbuf_peek_string_direct() 249 return sshbuf_put(buf, sshbuf_ptr(v), sshbuf_len(v)); in sshbuf_putb() 372 return sshbuf_put_string(buf, sshbuf_ptr(v), sshbuf_len(v)); in sshbuf_put_stringb()
|
D | sshbuf-misc.c | 69 sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f); in sshbuf_dump() 76 const u_char *p = sshbuf_ptr(buf); in sshbuf_dtob16() 96 const u_char *p = sshbuf_ptr(buf); in sshbuf_dtob64()
|
D | kexc25519s.c | 115 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_c25519_init() 116 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_c25519_init() 120 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret), in input_kex_c25519_init()
|
D | kexc25519c.c | 135 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_c25519_reply() 136 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_c25519_reply() 140 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret), in input_kex_c25519_reply()
|
D | packet.c | 337 sshbuf_ptr(state->incoming_packet), PACKET_MAX_SIZE, in ssh_packet_stop_discard() 873 checksum = ssh_crc32(sshbuf_ptr(state->outgoing_packet), in ssh_packet_send1() 892 sshbuf_ptr(state->outgoing_packet), in ssh_packet_send1() 1077 type = (sshbuf_ptr(state->outgoing_packet))[5]; in ssh_packet_send2_wrapped() 1150 sshbuf_ptr(state->outgoing_packet), len, in ssh_packet_send2_wrapped() 1160 sshbuf_ptr(state->outgoing_packet), in ssh_packet_send2_wrapped() 1208 type = sshbuf_ptr(state->outgoing_packet)[5]; in ssh_packet_send2() 1413 len = PEEK_U32(sshbuf_ptr(state->input)); in ssh_packet_read_poll1() 1440 sshbuf_ptr(state->input), padded_len)) { in ssh_packet_read_poll1() 1467 sshbuf_ptr(state->input), padded_len, 0, 0)) != 0) in ssh_packet_read_poll1() [all …]
|
D | digest-openssl.c | 152 return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b)); in ssh_digest_update_buffer() 203 return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen); in ssh_digest_buffer()
|
D | kexecdhs.c | 151 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_ecdh_init() 152 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_ecdh_init()
|
D | kexecdhc.c | 182 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_ecdh_reply() 183 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_ecdh_reply()
|
D | kexdhc.c | 169 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_dh() 170 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_dh()
|
D | kexdhs.c | 163 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_dh_init() 164 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_dh_init()
|
D | digest-libc.c | 211 return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b)); in ssh_digest_update_buffer() 262 return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen); in ssh_digest_buffer()
|
D | msg.c | 58 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), mlen) != mlen) { in ssh_msg_send()
|
D | kexgexs.c | 223 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_dh_gex_init() 224 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_dh_gex_init()
|
D | kexgexc.c | 234 sshbuf_ptr(kex->my), sshbuf_len(kex->my), in input_kex_dh_gex_reply() 235 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), in input_kex_dh_gex_reply()
|
D | sshkey.c | 674 if (timingsafe_bcmp(sshbuf_ptr(a->certblob), sshbuf_ptr(b->certblob), in cert_compare() 876 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob() 1332 if ((r = sshkey_from_blob(sshbuf_ptr(blob), in sshkey_read() 1483 if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) { in sshkey_write() 1955 sshbuf_ptr(key->cert->certblob), signed_len, 0)) != 0) in cert_parse() 2512 if ((ret = sshkey_sign(ca, &sig_blob, &sig_len, sshbuf_ptr(cert), in sshkey_certify() 3147 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2() 3226 cp = sshbuf_ptr(blob); in sshkey_parse_private2() 3261 if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0) in sshkey_parse_private2() 3266 memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) { in sshkey_parse_private2() [all …]
|
D | sshbuf.c | 125 if ((ret = sshbuf_from(sshbuf_ptr(buf), sshbuf_len(buf))) == NULL) in sshbuf_fromb() 289 sshbuf_ptr(const struct sshbuf *buf) in sshbuf_ptr() function
|
D | ssh-ed25519.c | 78 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ed25519_sign()
|
D | ssh-ecdsa.c | 95 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ecdsa_sign()
|
D | ssh_api.c | 288 return sshbuf_ptr(output); in ssh_output_ptr() 323 s = (const char *)sshbuf_ptr(input); in _ssh_read_banner()
|
D | ssh-dss.c | 115 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_dss_sign()
|
D | sshbuf-getput-crypto.c | 51 const u_char *d = sshbuf_ptr(buf); in sshbuf_get_bignum1()
|
D | ssh-rsa.c | 103 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_rsa_sign()
|
D | sshbuf.h | 125 const u_char *sshbuf_ptr(const struct sshbuf *buf);
|
D | krl.c | 775 sshbuf_ptr(buf), sshbuf_len(buf), 0)) == -1) in ssh_krl_to_blob() 939 memcmp(sshbuf_ptr(buf), KRL_MAGIC, sizeof(KRL_MAGIC) - 1) != 0) { in ssh_krl_from_blob() 1020 sshbuf_ptr(buf), sshbuf_len(buf) - sig_off, 0)) != 0) in ssh_krl_from_blob()
|
D | authfile.c | 63 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(keybuf), in sshkey_save_private_blob()
|