|WARNING| pw143460 [PATCH v3 8/8] zsda: add zsda crypto-session and compile file

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 30 08:20:22 CEST 2024


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/143460

_coding style issues_


ERROR:C99_COMMENTS: do not use C99 // comments
#147: FILE: drivers/crypto/zsda/zsda_sym_session.c:16:
+	// 0     1    2      3     4    5     6     7      8    9     A      B

ERROR:C99_COMMENTS: do not use C99 // comments
#148: FILE: drivers/crypto/zsda/zsda_sym_session.c:17:
+	// C     D     E     F

ERROR:C99_COMMENTS: do not use C99 // comments
#346: FILE: drivers/crypto/zsda/zsda_sym_session.c:215:
+	// The first round key is the key itself.

ERROR:C99_COMMENTS: do not use C99 // comments
#356: FILE: drivers/crypto/zsda/zsda_sym_session.c:225:
+	// All other round keys are found from the previous round keys.

ERROR:C99_COMMENTS: do not use C99 // comments
#365: FILE: drivers/crypto/zsda/zsda_sym_session.c:234:
+			// This function shifts the 4 bytes in a word to the

ERROR:C99_COMMENTS: do not use C99 // comments
#366: FILE: drivers/crypto/zsda/zsda_sym_session.c:235:
+			// left once. [a0,a1,a2,a3] becomes [a1,a2,a3,a0]

ERROR:C99_COMMENTS: do not use C99 // comments
#367: FILE: drivers/crypto/zsda/zsda_sym_session.c:236:
+			// Function RotWord()

ERROR:C99_COMMENTS: do not use C99 // comments
#377: FILE: drivers/crypto/zsda/zsda_sym_session.c:246:
+			// SubWord() is a function that takes a four-byte input

ERROR:C99_COMMENTS: do not use C99 // comments
#378: FILE: drivers/crypto/zsda/zsda_sym_session.c:247:
+			// word and applies the S-box to each of the four bytes

ERROR:C99_COMMENTS: do not use C99 // comments
#379: FILE: drivers/crypto/zsda/zsda_sym_session.c:248:
+			// to produce an output word. Function Subword()

ERROR:C99_COMMENTS: do not use C99 // comments
#392: FILE: drivers/crypto/zsda/zsda_sym_session.c:261:
+				// Function Subword()

total: 11 errors, 0 warnings, 621 lines checked


More information about the test-report mailing list