version 1.3, 2019/01/21 10:40:11 |
version 1.4, 2020/12/19 22:09:21 |
|
|
if ((r = ssh_digest_buffer(kex->hash_alg, buf, hash, sizeof(hash))) != 0) |
if ((r = ssh_digest_buffer(kex->hash_alg, buf, hash, sizeof(hash))) != 0) |
goto out; |
goto out; |
#ifdef DEBUG_KEXECDH |
#ifdef DEBUG_KEXECDH |
dump_digest("client kem key:", kem_key, sizeof(kem_key)); |
dump_digest("client kem key:", kem_key, crypto_kem_sntrup4591761_BYTES); |
dump_digest("concatenation of KEM key and ECDH shared key:", |
dump_digest("concatenation of KEM key and ECDH shared key:", |
sshbuf_ptr(buf), sshbuf_len(buf)); |
sshbuf_ptr(buf), sshbuf_len(buf)); |
#endif |
#endif |