Home
last modified time | relevance | path

Searched refs:sshbuf (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd-12.1/crypto/openssh/
H A Dsshbuf.h40 struct sshbuf { struct
57 struct sshbuf *sshbuf_new(void);
71 struct sshbuf *sshbuf_fromb(struct sshbuf *buf);
80 int sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp);
85 void sshbuf_free(struct sshbuf *buf);
90 void sshbuf_reset(struct sshbuf *buf);
162 int sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v);
194 int sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v);
197 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
329 int sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent);
[all …]
H A Dsshbuf.c68 struct sshbuf *
71 struct sshbuf *ret; in sshbuf_new()
87 struct sshbuf *
90 struct sshbuf *ret; in sshbuf_from()
105 sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent) in sshbuf_set_parent()
117 struct sshbuf *
118 sshbuf_fromb(struct sshbuf *buf) in sshbuf_fromb()
120 struct sshbuf *ret; in sshbuf_fromb()
134 sshbuf_free(struct sshbuf *buf) in sshbuf_free()
169 sshbuf_reset(struct sshbuf *buf) in sshbuf_reset()
[all …]
H A Dsshbuf-getput-basic.c33 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
46 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64()
59 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32()
85 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
217 sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v) in sshbuf_get_stringb()
250 sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_putb()
337 sshbuf_put_u8(struct sshbuf *buf, u_char val) in sshbuf_put_u8()
373 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb()
379 sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp) in sshbuf_froms()
383 struct sshbuf *ret; in sshbuf_froms()
[all …]
H A Dsshkey.h53 struct sshbuf;
96 struct sshbuf *certblob; /* Kept around for use on wire */
103 struct sshbuf *critical;
104 struct sshbuf *extensions;
182 int sshkey_fromb(struct sshbuf *, struct sshkey **);
183 int sshkey_froms(struct sshbuf *, struct sshkey **);
186 int sshkey_putb(const struct sshkey *, struct sshbuf *);
187 int sshkey_puts(const struct sshkey *, struct sshbuf *);
188 int sshkey_puts_opts(const struct sshkey *, struct sshbuf *,
191 int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
[all …]
H A Dmonitor.c107 extern struct sshbuf *loginmsg;
111 static struct sshbuf *child_state;
116 int mm_answer_sign(int, struct sshbuf *);
128 int mm_answer_pty(int, struct sshbuf *);
178 int (*f)(int, struct sshbuf *);
330 struct sshbuf *m; in monitor_child_preauth()
423 struct sshbuf *logmsg; in monitor_read_log()
476 struct sshbuf *m; in monitor_read()
621 struct sshbuf *sigbuf = NULL; in mm_answer_sign()
1260 struct sshbuf *b; in monitor_valid_userblob()
[all …]
H A Dsshkey-xmss.h38 int sshkey_xmss_serialize_state(const struct sshkey *, struct sshbuf *);
39 int sshkey_xmss_serialize_state_opt(const struct sshkey *, struct sshbuf *,
41 int sshkey_xmss_serialize_pk_info(const struct sshkey *, struct sshbuf *,
43 int sshkey_xmss_deserialize_state(struct sshkey *, struct sshbuf *);
44 int sshkey_xmss_deserialize_state_opt(struct sshkey *, struct sshbuf *);
45 int sshkey_xmss_deserialize_pk_info(struct sshkey *, struct sshbuf *);
H A Dmonitor_wrap.c186 struct sshbuf *m; in mm_choose_dh()
225 struct sshbuf *m; in mm_sshkey_sign()
255 struct sshbuf *m; in mm_login_getpwclass()
309 struct sshbuf *m; in mm_getpwnamallow()
386 struct sshbuf *m; in mm_auth2_read_banner()
416 struct sshbuf *m; in mm_inform_authserv()
436 struct sshbuf *m; in mm_auth_password()
490 struct sshbuf *m; in mm_key_allowed()
542 struct sshbuf *m; in mm_sshkey_verify()
577 struct sshbuf *m; in mm_send_keystate()
[all …]
H A Dmux.c169 Channel *, struct sshbuf *, struct sshbuf *);
171 Channel *, struct sshbuf *, struct sshbuf *);
173 Channel *, struct sshbuf *, struct sshbuf *);
175 Channel *, struct sshbuf *, struct sshbuf *);
177 Channel *, struct sshbuf *, struct sshbuf *);
179 Channel *, struct sshbuf *, struct sshbuf *);
181 Channel *, struct sshbuf *, struct sshbuf *);
183 Channel *, struct sshbuf *, struct sshbuf *);
185 Channel *, struct sshbuf *, struct sshbuf *);
190 struct sshbuf *, struct sshbuf *);
[all …]
H A Dsshbuf-getput-crypto.c35 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v) in sshbuf_get_bignum2()
49 sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v) in sshbuf_get_bignum1()
90 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) in sshbuf_get_ec()
111 sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v) in sshbuf_get_eckey()
147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2()
169 sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum1()
192 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) in sshbuf_put_ec()
218 sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v) in sshbuf_put_eckey()
H A Dauthfd.c124 ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply) in ssh_request_reply()
184 struct sshbuf *msg; in ssh_lock_agent()
203 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) in deserialise_identity2()
233 struct sshbuf *msg; in ssh_fetch_identitylist()
345 struct sshbuf *msg; in ssh_agent_sign()
396 encode_constraints(struct sshbuf *m, u_int life, u_int confirm, u_int maxsign) in encode_constraints()
427 struct sshbuf *msg; in ssh_add_identity_constrained()
480 struct sshbuf *msg; in ssh_remove_identity()
521 struct sshbuf *msg; in ssh_update_card()
562 struct sshbuf *msg; in ssh_remove_all_identities()
H A Dmsg.h28 struct sshbuf;
29 int ssh_msg_send(int, u_char, struct sshbuf *);
30 int ssh_msg_recv(int, struct sshbuf *);
H A Dentropy.h28 struct sshbuf;
31 void rexec_send_rng_seed(struct sshbuf *);
32 void rexec_recv_rng_seed(struct sshbuf *);
H A Dkex.h145 struct sshbuf *my;
146 struct sshbuf *peer;
180 int kex_buf2prop(struct sshbuf *, int *, char ***);
181 int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]);
187 int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
225 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
H A Dsshkey-xmss.c83 int sshkey_xmss_encrypt_state(const struct sshkey *, struct sshbuf *,
84 struct sshbuf **);
86 struct sshbuf **);
307 sshkey_xmss_deserialize_enc_key(struct sshkey *k, struct sshbuf *b) in sshkey_xmss_deserialize_enc_key()
344 sshkey_xmss_deserialize_pk_info(struct sshkey *k, struct sshbuf *b) in sshkey_xmss_deserialize_pk_info()
397 struct sshbuf *b = NULL, *enc = NULL; in sshkey_xmss_get_state_from_file()
569 struct sshbuf *b = NULL, *enc = NULL; in sshkey_xmss_update_state()
744 sshkey_xmss_deserialize_state(struct sshkey *k, struct sshbuf *b) in sshkey_xmss_deserialize_state()
833 struct sshbuf **retp) in sshkey_xmss_encrypt_state()
924 struct sshbuf **retp) in sshkey_xmss_decrypt_state()
[all …]
H A Dsshbuf-misc.c66 sshbuf_dump(struct sshbuf *buf, FILE *f) in sshbuf_dump()
73 sshbuf_dtob16(struct sshbuf *buf) in sshbuf_dtob16()
93 sshbuf_dtob64(struct sshbuf *buf) in sshbuf_dtob64()
114 sshbuf_b64tod(struct sshbuf *buf, const char *b64) in sshbuf_b64tod()
140 sshbuf_dup_string(struct sshbuf *buf) in sshbuf_dup_string()
H A Dsftp-common.h31 struct sshbuf;
48 int decode_attrib(struct sshbuf *, Attrib *);
49 int encode_attrib(struct sshbuf *, const Attrib *);
H A Dpacket.h42 struct sshbuf;
91 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *,
158 int ssh_packet_get_state(struct ssh *, struct sshbuf *);
159 int ssh_packet_set_state(struct ssh *, struct sshbuf *);
183 int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b);
189 int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
H A Ddigest.h32 struct sshbuf;
56 int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
64 const struct sshbuf *b);
/freebsd-12.1/crypto/openssh/regress/unittests/conversion/
H A DMakefile7 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
/freebsd-12.1/crypto/openssh/regress/unittests/sshbuf/
H A DMakefile16 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
/freebsd-12.1/crypto/openssh/regress/unittests/match/
H A DMakefile7 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
/freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/
H A DMakefile7 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
/freebsd-12.1/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c39 struct sshbuf *
43 struct sshbuf *ret; in load_file()
52 struct sshbuf *
55 struct sshbuf *ret = load_file(name); in load_text_file()
77 struct sshbuf *buf; in load_bignum()
H A DMakefile7 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
/freebsd-12.1/crypto/openssh/regress/unittests/kex/
H A DMakefile7 SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c

12345