diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2024-04-04 10:18:53 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-12 15:07:52 +0800 |
commit | 0f419a55fe9f5a7245d4043c9b5f89d43c7a4491 (patch) | |
tree | dddf791b24e130138bc2060489c3293286414c4d /crypto/dh.c | |
parent | 7dce726ea85ed82d6e70840e3ac68fa13225a3ff (diff) | |
download | linux-crypto-0f419a55fe9f5a7245d4043c9b5f89d43c7a4491.tar.gz linux-crypto-0f419a55fe9f5a7245d4043c9b5f89d43c7a4491.zip |
crypto: ecdsa - Rename keylen to bufsize where necessary
In cases where 'keylen' was referring to the size of the buffer used by
a curve's digits, it does not reflect the purpose of the variable anymore
once NIST P521 is used. What it refers to then is the size of the buffer,
which may be a few bytes larger than the size a coordinate of a key.
Therefore, rename keylen to bufsize where appropriate.
Tested-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions