summaryrefslogtreecommitdiff
path: root/crypto/hash_info.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-04-04 10:18:53 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2024-04-12 15:07:52 +0800
commit0f419a55fe9f5a7245d4043c9b5f89d43c7a4491 (patch)
treedddf791b24e130138bc2060489c3293286414c4d /crypto/hash_info.c
parent7dce726ea85ed82d6e70840e3ac68fa13225a3ff (diff)
downloadlinux-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/hash_info.c')
0 files changed, 0 insertions, 0 deletions