Home
last modified time | relevance | path

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

/external/openssh/
Dkex.c891 size_t mdsz; in derive_key() local
895 if ((mdsz = ssh_digest_bytes(kex->hash_alg)) == 0) in derive_key()
897 if ((digest = calloc(1, ROUNDUP(need, mdsz))) == NULL) { in derive_key()
909 ssh_digest_final(hashctx, digest, mdsz) != 0) { in derive_key()
921 for (have = mdsz; need > have; have += mdsz) { in derive_key()
926 ssh_digest_final(hashctx, digest + have, mdsz) != 0) { in derive_key()