Home
last modified time | relevance | path

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

/freebsd/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.c57 struct ssh_digest_ctx { struct
166 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
173 struct ssh_digest_ctx *
177 struct ssh_digest_ctx *ret; in ssh_digest_start()
191 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
202 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
213 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
219 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
234 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
251 struct ssh_digest_ctx *ctx = ssh_digest_start(alg); in ssh_digest_memory()
H A Ddigest-openssl.c45 struct ssh_digest_ctx { struct
108 ssh_digest_blocksize(struct ssh_digest_ctx *ctx) in ssh_digest_blocksize()
113 struct ssh_digest_ctx *
117 struct ssh_digest_ctx *ret; in ssh_digest_start()
134 ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to) in ssh_digest_copy_state()
145 ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) in ssh_digest_update()
153 ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b) in ssh_digest_update_buffer()
159 ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen) in ssh_digest_final()
176 ssh_digest_free(struct ssh_digest_ctx *ctx) in ssh_digest_free()
H A Dhmac.c31 struct ssh_digest_ctx *ictx;
32 struct ssh_digest_ctx *octx;
33 struct ssh_digest_ctx *digest;
H A Dsshsig.c505 struct ssh_digest_ctx *ctx = NULL; in hash_file()
H A Dkex.c1315 struct ssh_digest_ctx *hashctx = NULL; in derive_key()
H A Dsshd.c1542 static struct ssh_digest_ctx *ctx;
H A Dreadconf.c357 struct ssh_digest_ctx *md; in ssh_connection_hash()