summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Louvel <paul.louvel@bootlin.com>2026-07-30 17:48:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-08-10 18:28:56 +1000
commit967cfc046d7403de9c423a06ec1b0caecdb74463 (patch)
treec2ba999bba01695ee6bc708df2de52aab72b2b55
parent389a3c294ae914efd1681f5355b07ed8b439678d (diff)
downloadlinux-next-967cfc046d7403de9c423a06ec1b0caecdb74463.tar.gz
linux-next-967cfc046d7403de9c423a06ec1b0caecdb74463.zip
crypto: ecdsa - Fix typo in function documentation
Fix the misspelling of 'validate' in crypto_ecdh_shared_secret() and ecc_is_pubkey_valid_partial() documentation. Signed-off-by: Paul Louvel <paul.louvel@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/crypto/internal/ecc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/internal/ecc.h b/include/crypto/internal/ecc.h
index a4b48d76f53a..d67fe13a543a 100644
--- a/include/crypto/internal/ecc.h
+++ b/include/crypto/internal/ecc.h
@@ -149,7 +149,7 @@ int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
* @curve: elliptic curve domain parameters
* @pk: public key as a point
*
- * Valdiate public key according to SP800-56A section 5.6.2.3.4 ECC Partial
+ * Validate public key according to SP800-56A section 5.6.2.3.4 ECC Partial
* Public-Key Validation Routine.
*
* Note: There is no check that the public key is in the correct elliptic curve
@@ -166,7 +166,7 @@ int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
* @curve: elliptic curve domain parameters
* @pk: public key as a point
*
- * Valdiate public key according to SP800-56A section 5.6.2.3.3 ECC Full
+ * Validate public key according to SP800-56A section 5.6.2.3.3 ECC Full
* Public-Key Validation Routine.
*
* Return: 0 if validation is successful, -EINVAL if validation is failed.