Searched refs:hashctx (Results 1 – 1 of 1) sorted by relevance
682 struct ssh_digest_ctx *hashctx = NULL; in derive_key() local697 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()698 ssh_digest_update_buffer(hashctx, shared_secret) != 0 || in derive_key()699 ssh_digest_update(hashctx, hash, hashlen) != 0 || in derive_key()700 ssh_digest_update(hashctx, &c, 1) != 0 || in derive_key()701 ssh_digest_update(hashctx, kex->session_id, in derive_key()703 ssh_digest_final(hashctx, digest, mdsz) != 0) { in derive_key()707 ssh_digest_free(hashctx); in derive_key()708 hashctx = NULL; in derive_key()716 if ((hashctx = ssh_digest_start(kex->hash_alg)) == NULL || in derive_key()[all …]