Unconditionally zero the ECDH key
authortb <tb@openbsd.org>
Sun, 2 Jul 2023 11:29:36 +0000 (11:29 +0000)
committertb <tb@openbsd.org>
Sun, 2 Jul 2023 11:29:36 +0000 (11:29 +0000)
commitae19a113fa07285c76f0ae73bcab2b018fccdd1e
treec07715e2e132bf64db262d4fb18806a545ab1bc1
parentb40ba3323ce10dc9107b9230446840ce179ef8bd
Unconditionally zero the ECDH key

While memset() is quite expensive, we can afford zeroing a few extra bytes
to make this code more readable.

ok beck jsing
lib/libcrypto/ecdh/ech_key.c