Skip to content

Commit 4920a4a

Browse files
Tom Rixherbertx
authored andcommitted
crypto: cleanup comments
For spdx /* */ for *.h, // for *.c Space before spdx tag Replacements paramenters to parameters aymmetric to asymmetric sigature to signature boudary to boundary compliled to compiled eninges to engines explicity to explicitly Signed-off-by: Tom Rix <[email protected]> Acked-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 35d2bf2 commit 4920a4a

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

crypto/asymmetric_keys/signature.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void public_key_signature_free(struct public_key_signature *sig)
3535
EXPORT_SYMBOL_GPL(public_key_signature_free);
3636

3737
/**
38-
* query_asymmetric_key - Get information about an aymmetric key.
38+
* query_asymmetric_key - Get information about an asymmetric key.
3939
* @params: Various parameters.
4040
* @info: Where to put the information.
4141
*/

crypto/asymmetric_keys/x509_parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct x509_certificate {
2222
time64_t valid_to;
2323
const void *tbs; /* Signed data */
2424
unsigned tbs_size; /* Size of signed data */
25-
unsigned raw_sig_size; /* Size of sigature */
25+
unsigned raw_sig_size; /* Size of signature */
2626
const void *raw_sig; /* Signature data */
2727
const void *raw_serial; /* Raw serial number in ASN.1 */
2828
unsigned raw_serial_size;

crypto/async_tx/async_xor.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ dma_xor_aligned_offsets(struct dma_device *device, unsigned int offset,
170170
*
171171
* xor_blocks always uses the dest as a source so the
172172
* ASYNC_TX_XOR_ZERO_DST flag must be set to not include dest data in
173-
* the calculation. The assumption with dma eninges is that they only
174-
* use the destination buffer as a source when it is explicity specified
173+
* the calculation. The assumption with dma engines is that they only
174+
* use the destination buffer as a source when it is explicitly specified
175175
* in the source list.
176176
*
177177
* src_list note: if the dest is also a source it must be at index zero.
@@ -261,8 +261,8 @@ EXPORT_SYMBOL_GPL(async_xor_offs);
261261
*
262262
* xor_blocks always uses the dest as a source so the
263263
* ASYNC_TX_XOR_ZERO_DST flag must be set to not include dest data in
264-
* the calculation. The assumption with dma eninges is that they only
265-
* use the destination buffer as a source when it is explicity specified
264+
* the calculation. The assumption with dma engines is that they only
265+
* use the destination buffer as a source when it is explicitly specified
266266
* in the source list.
267267
*
268268
* src_list note: if the dest is also a source it must be at index zero.

crypto/async_tx/raid6test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ static int raid6_test(void)
217217
err += test(12, &tests);
218218
}
219219

220-
/* the 24 disk case is special for ioatdma as it is the boudary point
220+
/* the 24 disk case is special for ioatdma as it is the boundary point
221221
* at which it needs to switch from 8-source ops to 16-source
222222
* ops for continuation (assumes DMA_HAS_PQ_CONTINUE is not set)
223223
*/
@@ -241,7 +241,7 @@ static void raid6_test_exit(void)
241241
}
242242

243243
/* when compiled-in wait for drivers to load first (assumes dma drivers
244-
* are also compliled-in)
244+
* are also compiled-in)
245245
*/
246246
late_initcall(raid6_test);
247247
module_exit(raid6_test_exit);

crypto/cfb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: GPL-2.0
22
/*
33
* CFB: Cipher FeedBack mode
44
*

crypto/sm2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0-or-later */
1+
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
33
* SM2 asymmetric public-key algorithm
44
* as specified by OSCCA GM/T 0003.1-2012 -- 0003.5-2012 SM2 and

0 commit comments

Comments
 (0)