/external/openssh/ |
msg.h | 28 struct sshbuf; 29 int ssh_msg_send(int, u_char, struct sshbuf *); 30 int ssh_msg_recv(int, struct sshbuf *);
|
sshbuf.h | 1 /* $OpenBSD: sshbuf.h,v 1.4 2015/01/14 15:02:39 djm Exp $ */ 40 struct sshbuf { struct 50 struct sshbuf *parent; /* If child, pointer to parent */ 59 void sshbuf_init(struct sshbuf *buf); 63 * Create a new sshbuf buffer. 66 struct sshbuf *sshbuf_new(void); 69 * Create a new, read-only sshbuf buffer from existing data. 72 struct sshbuf *sshbuf_from(const void *blob, size_t len); 75 * Create a new, read-only sshbuf buffer from the contents of an existing 80 struct sshbuf *sshbuf_fromb(struct sshbuf *buf) [all...] |
sftp-common.h | 31 struct sshbuf; 48 int decode_attrib(struct sshbuf *, Attrib *); 49 int encode_attrib(struct sshbuf *, const Attrib *);
|
authfile.h | 30 struct sshbuf; 38 int sshkey_load_file(int, struct sshbuf *);
|
sshbuf.c | 1 /* $OpenBSD: sshbuf.c,v 1.3 2015/01/20 23:14:00 deraadt Exp $ */ 29 #include "sshbuf.h" 32 sshbuf_check_sanity(const struct sshbuf *buf) 54 sshbuf_maybe_pack(struct sshbuf *buf, int force) 69 struct sshbuf * 72 struct sshbuf *ret; 88 struct sshbuf * 91 struct sshbuf *ret; 106 sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent [all...] |
hmac.h | 24 struct sshbuf; 33 int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b);
|
sshbuf-getput-basic.c | 1 /* $OpenBSD: sshbuf-getput-basic.c,v 1.4 2015/01/14 15:02:39 djm Exp $ */ 27 #include "sshbuf.h" 30 sshbuf_get(struct sshbuf *buf, void *v, size_t len) 43 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) 56 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) 69 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) 82 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) 95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) 122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) 148 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp [all...] |
sshkey.h | 52 struct sshbuf; 88 struct sshbuf *certblob; /* Kept around for use on wire */ 95 struct sshbuf *critical; 96 struct sshbuf *extensions; 163 int sshkey_fromb(struct sshbuf *, struct sshkey **); 164 int sshkey_froms(struct sshbuf *, struct sshkey **); 166 int sshkey_putb(const struct sshkey *, struct sshbuf *); 167 int sshkey_puts(const struct sshkey *, struct sshbuf *); 169 int sshkey_putb_plain(const struct sshkey *, struct sshbuf *); 181 int sshkey_private_serialize(const struct sshkey *key, struct sshbuf *buf) [all...] |
digest.h | 33 struct sshbuf; 57 int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen) 65 const struct sshbuf *b);
|
krl.h | 40 struct sshbuf; 57 int ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf, 59 int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp,
|
kex.h | 136 struct sshbuf *my; 137 struct sshbuf *peer; 168 int kex_buf2prop(struct sshbuf *, int *, char ***); 169 int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]); 174 int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *); 210 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
|
key.h | 91 void key_private_serialize(const Key *, struct sshbuf *); 92 Key *key_private_deserialize(struct sshbuf *); 97 int key_load_file(int, const char *, struct sshbuf *);
|
sshbuf-misc.c | 1 /* $OpenBSD: sshbuf-misc.c,v 1.3 2015/02/05 12:59:57 millert Exp $ */ 36 #include "sshbuf.h" 66 sshbuf_dump(struct sshbuf *buf, FILE *f) 73 sshbuf_dtob16(struct sshbuf *buf) 93 sshbuf_dtob64(struct sshbuf *buf) 114 sshbuf_b64tod(struct sshbuf *buf, const char *b64)
|
msg.c | 37 #include "sshbuf.h" 45 ssh_msg_send(int fd, u_char type, struct sshbuf *m) 66 ssh_msg_recv(int fd, struct sshbuf *m)
|
sshbuf-getput-crypto.c | 1 /* $OpenBSD: sshbuf-getput-crypto.c,v 1.4 2015/01/14 15:02:39 djm Exp $ */ 32 #include "sshbuf.h" 35 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v) 49 sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v) 90 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) 111 sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v) 147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) 169 sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v) 192 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) 218 sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v [all...] |
authfd.c | 55 #include "sshbuf.h" 125 ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply) 185 struct sshbuf *msg; 204 deserialise_identity1(struct sshbuf *ids, struct sshkey **keyp, char **commentp) 241 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) 271 struct sshbuf *msg; 393 struct sshbuf *msg; 435 struct sshbuf *msg; 487 ssh_encode_identity_rsa1(struct sshbuf *b, RSA *key, const char *comment [all...] |
packet.h | 42 struct sshbuf; 142 int ssh_packet_get_state(struct ssh *, struct sshbuf *); 143 int ssh_packet_set_state(struct ssh *, struct sshbuf *); 167 int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b); 173 int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
|
kexc25519.c | 38 #include "sshbuf.h" 64 const u_char pub[CURVE25519_SIZE], struct sshbuf *out) 92 struct sshbuf *b;
|
kexdh.c | 41 #include "sshbuf.h" 56 struct sshbuf *b;
|
authfile.c | 49 #include "sshbuf.h" 57 sshkey_save_private_blob(struct sshbuf *keybuf, const char *filename) 80 struct sshbuf *keyblob = NULL; 98 sshkey_load_file(int fd, struct sshbuf *blob) 147 struct sshbuf *b = NULL; 231 struct sshbuf *buffer = NULL; 256 struct sshbuf *buffer = NULL;
|
Android.mk | 102 sshbuf-getput-basic.c \ 103 sshbuf-getput-crypto.c \ 104 sshbuf-misc.c \ 105 sshbuf.c \
|
digest-openssl.c | 31 #include "sshbuf.h" 150 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) 201 ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
|
ssh-ecdsa.c | 40 #include "sshbuf.h" 55 struct sshbuf *b = NULL, *bb = NULL; 122 struct sshbuf *b = NULL, *sigbuf = NULL;
|
ssh-ed25519.c | 29 #include "sshbuf.h" 43 struct sshbuf *b = NULL; 99 struct sshbuf *b = NULL;
|
sftp-client.c | 51 #include "sshbuf.h" 102 send_msg(struct sftp_conn *conn, struct sshbuf *m) 126 get_msg(struct sftp_conn *conn, struct sshbuf *m) 163 struct sshbuf *msg; 181 struct sshbuf *msg; 199 struct sshbuf *msg; 230 struct sshbuf *msg; 274 struct sshbuf *msg; 320 struct sshbuf *msg; 380 struct sshbuf *msg [all...] |