summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/michael_mic.h
diff options
context:
space:
mode:
authorSergio Paracuellos2018-03-23 14:05:09 +0100
committerGreg Kroah-Hartman2018-03-28 13:48:56 +0200
commit16b102e7815251687b0890d7bf1e9650de0b1cd9 (patch)
treec4b18cc76e979459db9111ed119b03af047bf1a5 /drivers/staging/ks7010/michael_mic.h
parentstaging: wilc1000: fix memdup.cocci warnings (diff)
downloadkernel-qcow2-linux-16b102e7815251687b0890d7bf1e9650de0b1cd9.tar.gz
kernel-qcow2-linux-16b102e7815251687b0890d7bf1e9650de0b1cd9.tar.xz
kernel-qcow2-linux-16b102e7815251687b0890d7bf1e9650de0b1cd9.zip
staging: ks7010: use lower case names in michael_mic_t struct fields
Replace upper case fields and camel cases for fields included in michael_mic_t structure Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/michael_mic.h')
-rw-r--r--drivers/staging/ks7010/michael_mic.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index 758e429446f1..64db7d1211d7 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -11,13 +11,13 @@
/* MichaelMIC routine define */
struct michael_mic_t {
- u32 K0; // Key
- u32 K1; // Key
- u32 L; // Current state
- u32 R; // Current state
- u8 M[4]; // Message accumulator (single word)
- int nBytesInM; // # bytes in M
- u8 Result[8];
+ u32 k0; // Key
+ u32 k1; // Key
+ u32 l; // Current state
+ u32 r; // Current state
+ u8 m[4]; // Message accumulator (single word)
+ int m_bytes; // # bytes in M
+ u8 result[8];
};
void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key,