summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860/rtmp_ckipmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/rt2860/rtmp_ckipmic.h')
-rw-r--r--drivers/staging/rt2860/rtmp_ckipmic.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/rt2860/rtmp_ckipmic.h b/drivers/staging/rt2860/rtmp_ckipmic.h
index a8108f78795f..301ba5f77bb7 100644
--- a/drivers/staging/rt2860/rtmp_ckipmic.h
+++ b/drivers/staging/rt2860/rtmp_ckipmic.h
@@ -39,25 +39,25 @@
typedef struct _MIC_CONTEXT {
/* --- MMH context */
- UCHAR CK[16]; /* the key */
- UCHAR coefficient[16]; /* current aes counter mode coefficients */
- ULONGLONG accum; /* accumulated mic, reduced to u32 in final() */
- UINT position; /* current position (byte offset) in message */
- UCHAR part[4]; /* for conversion of message to u32 for mmh */
+ u8 CK[16]; /* the key */
+ u8 coefficient[16]; /* current aes counter mode coefficients */
+ unsigned long long accum; /* accumulated mic, reduced to u32 in final() */
+ u32 position; /* current position (byte offset) in message */
+ u8 part[4]; /* for conversion of message to u32 for mmh */
} MIC_CONTEXT, *PMIC_CONTEXT;
-VOID xor_128(IN PUCHAR a, IN PUCHAR b, OUT PUCHAR out);
+void xor_128(u8 *a, u8 *b, u8 *out);
-UCHAR RTMPCkipSbox(IN UCHAR a);
+u8 RTMPCkipSbox(u8 a);
-VOID xor_32(IN PUCHAR a, IN PUCHAR b, OUT PUCHAR out);
+void xor_32(u8 *a, u8 *b, u8 *out);
-VOID next_key(IN PUCHAR key, IN INT round);
+void next_key(u8 *key, int round);
-VOID byte_sub(IN PUCHAR in, OUT PUCHAR out);
+void byte_sub(u8 *in, u8 *out);
-VOID shift_row(IN PUCHAR in, OUT PUCHAR out);
+void shift_row(u8 *in, u8 *out);
-VOID mix_column(IN PUCHAR in, OUT PUCHAR out);
+void mix_column(u8 *in, u8 *out);
#endif /*__RTMP_CKIPMIC_H__ */