diff options
Diffstat (limited to 'lib/nettle')
-rw-r--r-- | lib/nettle/pk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c index 8b3cba6bf6..c7ef0d78c5 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -954,6 +954,8 @@ int _gnutls_dh_generate_key(gnutls_dh_params_t dh_params, return ret; } +/* Note that the value of Z will have the leading bytes stripped if they are zero - + * which follows the TLS approach. */ int _gnutls_dh_compute_key(gnutls_dh_params_t dh_params, const gnutls_datum_t *priv_key, const gnutls_datum_t *pub_key, const gnutls_datum_t *peer_key, gnutls_datum_t *Z) |