Home
last modified time | relevance | path

Searched refs:sshbuf_consume (Results 1 – 14 of 14) sorted by relevance

/external/openssh/
Dsshbuf-getput-basic.c35 if ((r = sshbuf_consume(buf, len)) < 0) in sshbuf_get()
48 if ((r = sshbuf_consume(buf, 8)) < 0) in sshbuf_get_u64()
61 if ((r = sshbuf_consume(buf, 4)) < 0) in sshbuf_get_u32()
74 if ((r = sshbuf_consume(buf, 2)) < 0) in sshbuf_get_u16()
87 if ((r = sshbuf_consume(buf, 1)) < 0) in sshbuf_get_u8()
138 if (sshbuf_consume(buf, len + 4) != 0) { in sshbuf_get_string_direct()
390 if ((r = sshbuf_consume(buf, len + 4)) != 0 || /* Shouldn't happen */ in sshbuf_froms()
455 if (sshbuf_consume(buf, olen + 4) != 0) { in sshbuf_get_bignum2_bytes_direct()
Dbuffer.c83 int ret = sshbuf_consume(buffer, bytes); in buffer_consume_ret()
Dpacket.c842 if ((r = sshbuf_consume(state->outgoing_packet, 8)) != 0) in ssh_packet_send1()
869 if ((r = sshbuf_consume(state->outgoing_packet, 8 - padding)) != 0) in ssh_packet_send1()
1087 if ((r = sshbuf_consume(state->outgoing_packet, 5)) != 0) in ssh_packet_send2_wrapped()
1429 if ((r = sshbuf_consume(state->input, 4)) != 0) in ssh_packet_read_poll1()
1470 if ((r = sshbuf_consume(state->input, padded_len)) != 0) in ssh_packet_read_poll1()
1483 if ((r = sshbuf_consume(state->incoming_packet, 8 - len % 8)) != 0) in ssh_packet_read_poll1()
1606 if ((r = sshbuf_consume(state->input, block_size)) != 0) in ssh_packet_read_poll2()
1656 if ((r = sshbuf_consume(state->input, aadlen + need + authlen)) != 0) in ssh_packet_read_poll2()
1679 if ((r = sshbuf_consume(state->input, mac->mac_len)) != 0) in ssh_packet_read_poll2()
1704 if ((r = sshbuf_consume(state->incoming_packet, 4 + 1)) != 0 || in ssh_packet_read_poll2()
[all …]
Dssh_api.c294 return sshbuf_consume(ssh_packet_get_output(ssh), len); in ssh_output_consume()
350 if ((r = sshbuf_consume(input, j)) != 0) in _ssh_read_banner()
Dsshbuf-getput-crypto.c66 if (sshbuf_consume(buf, 2 + len_bytes) != 0) { in sshbuf_get_bignum1()
Dssh-keyscan.c207 (r = sshbuf_consume(msg, 8 - (c->c_plen & 7))) != 0 || /* padding */ in keygrab_ssh1()
215 if ((r = sshbuf_consume(msg, 8)) != 0 || /* cookie */ in keygrab_ssh1()
Dsshbuf.h152 int sshbuf_consume(struct sshbuf *buf, size_t len);
Dsshbuf.c374 sshbuf_consume(struct sshbuf *buf, size_t len) in sshbuf_consume() function
Dsftp-server.c1426 if ((r = sshbuf_consume(iqueue, 4)) != 0) in process()
1474 (r = sshbuf_consume(iqueue, msg_len - consumed)) != 0) in process()
1694 } else if ((r = sshbuf_consume(oqueue, len)) != 0) { in sftp_server_main()
Dkrl.c949 if ((r = sshbuf_consume(copy, sizeof(KRL_MAGIC) - 1)) != 0) in ssh_krl_from_blob()
1059 if ((r = sshbuf_consume(copy, sects_off)) != 0) in ssh_krl_from_blob()
Dkex.c203 if ((r = sshbuf_consume(b, KEX_COOKIE_LEN)) != 0) /* skip cookie */ in kex_buf2prop()
Dsshkey.c3271 if ((r = sshbuf_consume(decoded, sizeof(AUTH_MAGIC))) != 0 || in sshkey_parse_private2()
3341 if ((r = sshbuf_consume(decoded, encrypted_len)) != 0) in sshkey_parse_private2()
3631 if ((r = sshbuf_consume(copy, sizeof(LEGACY_BEGIN))) != 0) in sshkey_parse_public_rsa1_fileblob()
3705 if ((r = sshbuf_consume(copy, sizeof(LEGACY_BEGIN))) != 0) in sshkey_parse_private_rsa1()
Dssh-agent.c1064 if ((r = sshbuf_consume(sockets[i].output, in after_select()
Dssh-keygen.c428 if ((r = sshbuf_consume(b, bytes)) != 0) in buffer_get_bignum_bits()