summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-01-24 23:22:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-24 23:22:33 +0000
commite511c64a248fd1fd8e556c7dd6fc63e53efb37da (patch)
tree3cb02865591c8eac1741f766d33b8aa068644f25 /engines
parentc38b76bf69adff2ae6240a474ac4309cda9bf163 (diff)
Don't use C++ style comments.
Diffstat (limited to 'engines')
-rw-r--r--engines/ccgost/gost2814789t.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/engines/ccgost/gost2814789t.c b/engines/ccgost/gost2814789t.c
index 4a4be47737..389ba50370 100644
--- a/engines/ccgost/gost2814789t.c
+++ b/engines/ccgost/gost2814789t.c
@@ -61,22 +61,22 @@ typedef enum g89_mode_ {
} g89_mode;
typedef struct g89_tc_ {
- u64 ullLen; // ullLen > G89_MAX_TC_LEN
- // Clear text ullLen
- // of zero bytes
- const byte bIn[G89_MAX_TC_LEN]; // Clear text, when
- // ullLen <= G89_MAX_TC_LEN
- const char *szParamSet; // S-Box ID
- const char *szDerive; // String for derive bRawKey
+ u64 ullLen; /* ullLen > G89_MAX_TC_LEN */
+ /* Clear text ullLen */
+ /* of zero bytes */
+ const byte bIn[G89_MAX_TC_LEN]; /* Clear text, when */
+ /* ullLen <= G89_MAX_TC_LEN */
+ const char *szParamSet; /* S-Box ID */
+ const char *szDerive; /* String for derive bRawKey */
const byte bRawKey[EVP_MAX_KEY_LENGTH];
- g89_mode gMode; // Mode of encryption or MAC
- const byte bIV[EVP_MAX_IV_LENGTH]; // IV for CFB or CNT mode
- const byte bOut[G89_MAX_TC_LEN]; // Cipher text for ECB/CFB/CNT
- // mode, when ullLen <= G89_MAX_TC_LEN;
- // Last 16 byte of cipher text for
- // ECB/CFB/CNT, when ullLen >
- // G89_MAX_TC_LEN;
- // 4 byte MAC for imitovstavka
+ g89_mode gMode; /* Mode of encryption or MAC */
+ const byte bIV[EVP_MAX_IV_LENGTH]; /* IV for CFB or CNT mode */
+ const byte bOut[G89_MAX_TC_LEN]; /* Cipher text for ECB/CFB/CNT */
+ /* mode, when ullLen <= G89_MAX_TC_LEN;
+ * Last 16 byte of cipher text for
+ * ECB/CFB/CNT, when ullLen >
+ * G89_MAX_TC_LEN;
+ * 4 byte MAC for imitovstavka */
} g89_tc;
const g89_tc tcs[] = {