summaryrefslogtreecommitdiffstats
path: root/include/crypto/kpp.h
diff options
context:
space:
mode:
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>2017-05-25 09:18:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-10 06:04:25 +0200
commitc0ca1215dc92ee6a0f975c95a92fb7f9fb31e9e1 (patch)
tree28e534fd6bdd1c17c93b19b945d531f0bffcdbdc /include/crypto/kpp.h
parentMAINTAINERS: add a maintainer for the Inside Secure crypto driver (diff)
downloadlinux-c0ca1215dc92ee6a0f975c95a92fb7f9fb31e9e1.tar.xz
linux-c0ca1215dc92ee6a0f975c95a92fb7f9fb31e9e1.zip
crypto: kpp, (ec)dh - fix typos
While here, add missing argument description (ndigits). Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/kpp.h')
-rw-r--r--include/crypto/kpp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/kpp.h b/include/crypto/kpp.h
index ce8e1f79374b..c19082587950 100644
--- a/include/crypto/kpp.h
+++ b/include/crypto/kpp.h
@@ -53,7 +53,7 @@ struct crypto_kpp {
*
* @set_secret: Function invokes the protocol specific function to
* store the secret private key along with parameters.
- * The implementation knows how to decode thie buffer
+ * The implementation knows how to decode the buffer
* @generate_public_key: Function generate the public key to be sent to the
* counterpart. In case of error, where output is not big
* enough req->dst_len will be updated to the size
@@ -102,7 +102,7 @@ struct kpp_alg {
* @mask: specifies the mask for the algorithm
*
* Allocate a handle for kpp algorithm. The returned struct crypto_kpp
- * is requeried for any following API invocation
+ * is required for any following API invocation
*
* Return: allocated handle in case of success; IS_ERR() is true in case of
* an error, PTR_ERR() returns the error code.