Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
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-libc.c43 struct ssh_digest_ctx { struct
152 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
159 struct ssh_digest_ctx *
163 struct ssh_digest_ctx *ret; in ssh_digest_start()
177 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
188 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
199 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
205 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
220 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
238 struct ssh_digest_ctx *ctx = ssh_digest_start(alg); in ssh_digest_memory()
H A Ddigest-openssl.c44 struct ssh_digest_ctx { struct
107 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
112 struct ssh_digest_ctx *
116 struct ssh_digest_ctx *ret; in ssh_digest_start()
133 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
144 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
152 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
158 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
175 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
H A Dhmac.c29 struct ssh_digest_ctx *ictx;
30 struct ssh_digest_ctx *octx;
31 struct ssh_digest_ctx *digest;
H A Dkex.c932 struct ssh_digest_ctx *hashctx = NULL; in derive_key()
H A Dssh.c594 struct ssh_digest_ctx *md; in main()
H A Dsshd.c1457 static struct ssh_digest_ctx *ctx;