summaryrefslogtreecommitdiff
path: root/crypto/kpp.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2024-09-10 16:30:29 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-05 13:22:05 +0800
commitb9cbf6916e0a6899bc67ee574993b7f24d3f606b (patch)
treeebbebd49269feaba875c1000c7679e94c3c12bea /crypto/kpp.c
parentb04163863caf599d4348a05af5a71cf5d42f11dc (diff)
crypto: ecrdsa - Fix signature size calculation
software_key_query() returns the curve size as maximum signature size for ecrdsa. However it should return twice as much. It's only the maximum signature size that seems to be off. The maximum digest size is likewise set to the curve size, but that's correct as it matches the checks in ecrdsa_set_pub_key() and ecrdsa_verify(). Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/kpp.c')
0 files changed, 0 insertions, 0 deletions