@@ -61,22 +61,22 @@ typedef enum g89_mode_ {
61
61
} g89_mode ;
62
62
63
63
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 */
71
71
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 */
80
80
} g89_tc ;
81
81
82
82
const g89_tc tcs [] = {
0 commit comments