Home
last modified time | relevance | path

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

/external/openssh/
Dkex.c998 struct ssh_digest_ctx *hashctx = NULL; in derive_key() local
1013 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()
1014 ssh_digest_update_buffer(hashctx, shared_secret) != 0 || in derive_key()
1015 ssh_digest_update(hashctx, hash, hashlen) != 0 || in derive_key()
1016 ssh_digest_update(hashctx, &c, 1) != 0 || in derive_key()
1017 ssh_digest_update(hashctx, kex->session_id, in derive_key()
1019 ssh_digest_final(hashctx, digest, mdsz) != 0) { in derive_key()
1024 ssh_digest_free(hashctx); in derive_key()
1025 hashctx = NULL; in derive_key()
1033 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()
[all …]