Home
last modified time | relevance | path

Searched refs:ssh_hmac_ctx (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dhmac.h25 struct ssh_hmac_ctx;
26 struct ssh_hmac_ctx *ssh_hmac_start(int alg);
29 int ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen)
31 int ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
33 int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b);
34 int ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen)
36 void ssh_hmac_free(struct ssh_hmac_ctx *ctx);
Dhmac.c27 struct ssh_hmac_ctx { struct
42 struct ssh_hmac_ctx * argument
45 struct ssh_hmac_ctx *ret; in ssh_hmac_start()
64 ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen) in ssh_hmac_init()
93 ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen) in ssh_hmac_update()
99 ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b) in ssh_hmac_update_buffer()
105 ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen) in ssh_hmac_final()
122 ssh_hmac_free(struct ssh_hmac_ctx *ctx) in ssh_hmac_free()
143 struct ssh_hmac_ctx *ctx; in hmac_test()
Dmac.h39 struct ssh_hmac_ctx *hmac_ctx;
Dhostfile.c122 struct ssh_hmac_ctx *ctx; in host_hash()