Skip to content

Commit e511c64

Browse files
committed
Don't use C++ style comments.
1 parent c38b76b commit e511c64

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

engines/ccgost/gost2814789t.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,22 @@ typedef enum g89_mode_ {
6161
} g89_mode;
6262

6363
typedef struct g89_tc_ {
64-
u64 ullLen; // ullLen > G89_MAX_TC_LEN
65-
// Clear text ullLen
66-
// of zero bytes
67-
const byte bIn[G89_MAX_TC_LEN]; // Clear text, when
68-
// ullLen <= G89_MAX_TC_LEN
69-
const char *szParamSet; // S-Box ID
70-
const char *szDerive; // String for derive bRawKey
64+
u64 ullLen; /* ullLen > G89_MAX_TC_LEN */
65+
/* Clear text ullLen */
66+
/* of zero bytes */
67+
const byte bIn[G89_MAX_TC_LEN]; /* Clear text, when */
68+
/* ullLen <= G89_MAX_TC_LEN */
69+
const char *szParamSet; /* S-Box ID */
70+
const char *szDerive; /* String for derive bRawKey */
7171
const byte bRawKey[EVP_MAX_KEY_LENGTH];
72-
g89_mode gMode; // Mode of encryption or MAC
73-
const byte bIV[EVP_MAX_IV_LENGTH]; // IV for CFB or CNT mode
74-
const byte bOut[G89_MAX_TC_LEN]; // Cipher text for ECB/CFB/CNT
75-
// mode, when ullLen <= G89_MAX_TC_LEN;
76-
// Last 16 byte of cipher text for
77-
// ECB/CFB/CNT, when ullLen >
78-
// G89_MAX_TC_LEN;
79-
// 4 byte MAC for imitovstavka
72+
g89_mode gMode; /* Mode of encryption or MAC */
73+
const byte bIV[EVP_MAX_IV_LENGTH]; /* IV for CFB or CNT mode */
74+
const byte bOut[G89_MAX_TC_LEN]; /* Cipher text for ECB/CFB/CNT */
75+
/* mode, when ullLen <= G89_MAX_TC_LEN;
76+
* Last 16 byte of cipher text for
77+
* ECB/CFB/CNT, when ullLen >
78+
* G89_MAX_TC_LEN;
79+
* 4 byte MAC for imitovstavka */
8080
} g89_tc;
8181

8282
const g89_tc tcs[] = {

0 commit comments

Comments
 (0)