HomePhabricator

dh: Rename variables for DH key exchange

Authored by Simo Sorce <simo@redhat.com> on Mar 12 2019, 11:24 PM.

Description

dh: Rename variables for DH key exchange

Rename and refactor how some variables are held in ssh_crypto_struct.
Refactor allocation of dh exchange public keys.

This is in preparation for switching the code to use openssl native DH
handling and allowed to better reason about the code and the overall API.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnThu, Apr 4, 8:00 AM
Parents
rLIBSSH997fe4d418ea: mbedcrypto: Make bignum_bin2bn behave like others
Branches
Unknown
Tags
Unknown

Event Timeline