diff options
author | Christoph M. Wintersteiger <cwinter@microsoft.com> | 2019-02-15 16:50:54 +0000 |
---|---|---|
committer | Janos Follath <janos.follath@arm.com> | 2019-08-19 13:37:46 +0100 |
commit | 537f41ebbf2cb848cc5c6ef95bb41fc1e12fb354 (patch) | |
tree | 9e593f1ffd6ab670a1139cbe85970c452565912a /3rdparty | |
parent | 088ef49681737fb4968c464a8e7a494a5cceed64 (diff) | |
download | mbedtls-537f41ebbf2cb848cc5c6ef95bb41fc1e12fb354.zip mbedtls-537f41ebbf2cb848cc5c6ef95bb41fc1e12fb354.tar.gz mbedtls-537f41ebbf2cb848cc5c6ef95bb41fc1e12fb354.tar.bz2 |
3rdparty: Updated comments for Everest x25519
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/everest/library/x25519.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/everest/library/x25519.c b/3rdparty/everest/library/x25519.c index 7660b64..e5ec2e8 100644 --- a/3rdparty/everest/library/x25519.c +++ b/3rdparty/everest/library/x25519.c @@ -126,7 +126,8 @@ int mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, int( *f_rng )(void *, unsigned char *, size_t), void *p_rng ) { - /* CMW: Is it okay that f_rng, p_rng are not used? */ + /* f_rng and p_rng are not used here because this implementation does not + need blinding since it has constant trace. */ (( void )f_rng); (( void )p_rng); |