Home
last modified time | relevance | path

Searched refs:sshbuf_ptr (Results 1 – 25 of 35) sorted by relevance

12

/external/openssh/
Dsshbuf-getput-basic.c32 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()
Dsshbuf-misc.c69 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()
Dkexc25519s.c115 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()
Dkexc25519c.c135 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()
Dpacket.c337 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 …]
Ddigest-openssl.c152 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()
Dkexecdhs.c151 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()
Dkexecdhc.c182 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()
Dkexdhc.c169 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()
Dkexdhs.c163 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()
Ddigest-libc.c211 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()
Dmsg.c58 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), mlen) != mlen) { in ssh_msg_send()
Dkexgexs.c223 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()
Dkexgexc.c234 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()
Dsshkey.c674 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 …]
Dsshbuf.c125 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
Dssh-ed25519.c78 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ed25519_sign()
Dssh-ecdsa.c95 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ecdsa_sign()
Dssh_api.c288 return sshbuf_ptr(output); in ssh_output_ptr()
323 s = (const char *)sshbuf_ptr(input); in _ssh_read_banner()
Dssh-dss.c115 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_dss_sign()
Dsshbuf-getput-crypto.c51 const u_char *d = sshbuf_ptr(buf); in sshbuf_get_bignum1()
Dssh-rsa.c103 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_rsa_sign()
Dsshbuf.h125 const u_char *sshbuf_ptr(const struct sshbuf *buf);
Dkrl.c775 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()
Dauthfile.c63 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(keybuf), in sshkey_save_private_blob()

12