Searched refs:hashctx (Results 1 – 1 of 1) sorted by relevance
888 struct ssh_digest_ctx *hashctx = NULL; in derive_key() local903 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()904 ssh_digest_update_buffer(hashctx, shared_secret) != 0 || in derive_key()905 ssh_digest_update(hashctx, hash, hashlen) != 0 || in derive_key()906 ssh_digest_update(hashctx, &c, 1) != 0 || in derive_key()907 ssh_digest_update(hashctx, kex->session_id, in derive_key()909 ssh_digest_final(hashctx, digest, mdsz) != 0) { in derive_key()913 ssh_digest_free(hashctx); in derive_key()914 hashctx = NULL; in derive_key()922 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()[all …]