Home
last modified time | relevance | path

Searched refs:ssh_digest_ctx (Results 1 – 8 of 8) sorted by relevance

/openbsd/usr.bin/ssh/
H A Ddigest.h33 struct ssh_digest_ctx;
45 size_t ssh_digest_blocksize(struct ssh_digest_ctx *ctx);
48 int ssh_digest_copy_state(struct ssh_digest_ctx *from,
49 struct ssh_digest_ctx *to);
60 struct ssh_digest_ctx *ssh_digest_start(int alg);
61 int ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
63 int ssh_digest_update_buffer(struct ssh_digest_ctx *ctx,
65 int ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
67 void ssh_digest_free(struct ssh_digest_ctx *ctx);
H A Ddigest-openssl.c29 struct ssh_digest_ctx { struct
90 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
95 struct ssh_digest_ctx *
99 struct ssh_digest_ctx *ret; in ssh_digest_start()
116 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
127 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
135 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
141 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
158 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
H A Ddigest-libc.c37 struct ssh_digest_ctx { struct
146 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
153 struct ssh_digest_ctx *
157 struct ssh_digest_ctx *ret; in ssh_digest_start()
171 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
182 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
193 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
199 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
214 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
231 struct ssh_digest_ctx *ctx = ssh_digest_start(alg); in ssh_digest_memory()
H A Dhmac.c28 struct ssh_digest_ctx *ictx;
29 struct ssh_digest_ctx *octx;
30 struct ssh_digest_ctx *digest;
H A Dsshsig.c508 struct ssh_digest_ctx *ctx = NULL; in hash_file()
H A Dsshd.c1075 static struct ssh_digest_ctx *ctx; in accumulate_host_timing_secret()
H A Dkex.c1056 struct ssh_digest_ctx *hashctx = NULL; in derive_key()
H A Dreadconf.c343 struct ssh_digest_ctx *md; in ssh_connection_hash()