Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: Fix several spelling mistakes in comments

Fix several typos in comments and messages.
No functional change.

Signed-off-by: Sun Chaobo <suncoding913@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Sun Chaobo and committed by
Herbert Xu
7fc31dd8 b44c7129

+5 -5
+1 -1
crypto/drbg.c
··· 1780 1780 max_addtllen = drbg_max_addtl(drbg); 1781 1781 max_request_bytes = drbg_max_request_bytes(drbg); 1782 1782 drbg_string_fill(&addtl, buf, max_addtllen + 1); 1783 - /* overflow addtllen with additonal info string */ 1783 + /* overflow addtllen with additional info string */ 1784 1784 len = drbg_generate(drbg, buf, OUTBUFLEN, &addtl); 1785 1785 BUG_ON(0 < len); 1786 1786 /* overflow max_bits */
+1 -1
crypto/lrw.c
··· 134 134 /* 135 135 * We compute the tweak masks twice (both before and after the ECB encryption or 136 136 * decryption) to avoid having to allocate a temporary buffer and/or make 137 - * mutliple calls to the 'ecb(..)' instance, which usually would be slower than 137 + * multiple calls to the 'ecb(..)' instance, which usually would be slower than 138 138 * just doing the lrw_next_index() calls again. 139 139 */ 140 140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass)
+1 -1
crypto/tcrypt.c
··· 2828 2828 pr_debug("all tests passed\n"); 2829 2829 } 2830 2830 2831 - /* We intentionaly return -EAGAIN to prevent keeping the module, 2831 + /* We intentionally return -EAGAIN to prevent keeping the module, 2832 2832 * unless we're running in fips mode. It does all its work from 2833 2833 * init() and doesn't offer any runtime functionality, but in 2834 2834 * the fips case, checking for a successful load is helpful.
+1 -1
crypto/tea.c
··· 2 2 /* 3 3 * Cryptographic API. 4 4 * 5 - * TEA, XTEA, and XETA crypto alogrithms 5 + * TEA, XTEA, and XETA crypto algorithms 6 6 * 7 7 * The TEA and Xtended TEA algorithms were developed by David Wheeler 8 8 * and Roger Needham at the Computer Laboratory of Cambridge University.
+1 -1
crypto/xts.c
··· 76 76 /* 77 77 * We compute the tweak masks twice (both before and after the ECB encryption or 78 78 * decryption) to avoid having to allocate a temporary buffer and/or make 79 - * mutliple calls to the 'ecb(..)' instance, which usually would be slower than 79 + * multiple calls to the 'ecb(..)' instance, which usually would be slower than 80 80 * just doing the gf128mul_x_ble() calls again. 81 81 */ 82 82 static int xts_xor_tweak(struct skcipher_request *req, bool second_pass,