diff options
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | 2017-05-25 10:18:03 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-10 07:04:25 +0300 |
commit | c0ca1215dc92ee6a0f975c95a92fb7f9fb31e9e1 (patch) | |
tree | 28e534fd6bdd1c17c93b19b945d531f0bffcdbdc /include/crypto/dh.h | |
parent | ee0db78d62d81dcbfba7c3e4d523ecae9d7b7c08 (diff) | |
download | linux-c0ca1215dc92ee6a0f975c95a92fb7f9fb31e9e1.tar.xz |
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/dh.h')
-rw-r--r-- | include/crypto/dh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/dh.h b/include/crypto/dh.h index 6b424ad3482e..f638998fb6d0 100644 --- a/include/crypto/dh.h +++ b/include/crypto/dh.h @@ -73,9 +73,9 @@ int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params); /** * crypto_dh_decode_key() - decode a private key * @buf: Buffer holding a packet key that should be decoded - * @len: Lenth of the packet private key buffer + * @len: Length of the packet private key buffer * @params: Buffer allocated by the caller that is filled with the - * unpacket DH private key. + * unpacked DH private key. * * The unpacking obtains the private key by pointing @p to the correct location * in @buf. Thus, both pointers refer to the same memory. |