]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: ecdsa - Fix the public key format description
authorJarkko Sakkinen <jarkko@kernel.org>
Mon, 27 May 2024 20:28:39 +0000 (23:28 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Jun 2024 11:46:38 +0000 (19:46 +0800)
commitd7c897a9d8c35d6788b6d92072f5c93be89d4451
treeaab92768f2c118696e080924f40ba12328dc86e9
parent14cba6ace79627a57fb9058582b03f0ed3832390
crypto: ecdsa - Fix the public key format description

Public key blob is not just x and y concatenated. It follows RFC5480
section 2.2. Address this by re-documenting the function with the
correct description of the format.

Link: https://datatracker.ietf.org/doc/html/rfc5480
Fixes: 4e6602916bc6 ("crypto: ecdsa - Add support for ECDSA signature verification")
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdsa.c