Searched refs:mic (Results 1 - 25 of 31) sorted by relevance

12

/drivers/isdn/hisax/
H A Dmic.c1 /* $Id: mic.c,v 1.12.2.4 2004/01/13 23:48:39 keil Exp $
3 * low level stuff for mic cards
68 return (readreg(cs->hw.mic.adr, cs->hw.mic.isac, offset));
74 writereg(cs->hw.mic.adr, cs->hw.mic.isac, offset, value);
80 readfifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size);
86 writefifo(cs->hw.mic.adr, cs->hw.mic
[all...]
H A DMakefile45 hisax-$(CONFIG_HISAX_MIC) += mic.o isac.o arcofi.o hscx.o
/drivers/net/wireless/orinoco/
H A Dmic.h20 u8 *data, size_t data_len, u8 *mic);
H A Dmic.c12 #include "mic.h"
48 u8 *data, size_t data_len, u8 *mic)
78 mic);
46 orinoco_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *da, u8 *sa, u8 priority, u8 *data, size_t data_len, u8 *mic) argument
H A DMakefile4 orinoco-objs := main.o fw.o hw.o mic.o scan.o wext.o hermes_dld.o hermes.o cfg.o
H A Dorinoco.h207 u8 *mic);
H A Dmain.c98 #include "mic.h"
417 u8 *mic = &mic_buf[0]; local
422 *mic = skb->data[skb->len - 1];
423 mic++;
429 len, mic);
983 u8 mic[MICHAEL_MIC_LEN]; local
1005 skb->data, skb->len, &mic[0]);
1007 if (memcmp(mic, rxmic,
H A Dorinoco_usb.c69 #include "mic.h"
1199 u8 mic[MICHAEL_MIC_LEN + 1]; local
1248 &mic[0]);
1262 u8 *m = mic;
/drivers/usb/wusbcore/
H A Dcrypto.c148 * @mic: buffer for placing the computed MIC (Message Integrity
199 struct crypto_cipher *tfm_aes, void *mic,
285 bytewise_xor(mic, &ax, iv, 8);
375 u8 mic[8]; local
397 result = wusb_oob_mic(mic, stv_hsmic_key, &stv_hsmic_n, &stv_hsmic_hs);
400 else if (memcmp(stv_hsmic_hs.MIC, mic, sizeof(mic))) {
410 wusb_key_dump(mic, sizeof(mic));
198 wusb_ccm_mac(struct crypto_blkcipher *tfm_cbc, struct crypto_cipher *tfm_aes, void *mic, const struct aes_ccm_nonce *n, const struct aes_ccm_label *a, const void *b, size_t blen) argument
H A Dsecurity.c353 u8 mic[8]; local
442 result = wusb_oob_mic(mic, keydvt_out.kck, &ccm_n, &hs[1]);
449 if (memcmp(hs[1].MIC, mic, sizeof(hs[1].MIC))) {
509 memset(mic, 0, sizeof(mic));
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt_ccmp.c199 u8 *mic; local
214 // mic = skb_put(skb, CCMP_MIC_LEN);
234 //mic is moved to here by john
235 mic = skb_put(skb, CCMP_MIC_LEN);
256 mic[i] = b[i] ^ s0[i];
269 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; local
325 xor_block(mic, b, CCMP_MIC_LEN);
343 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
H A Dieee80211_crypt_tkip.c471 u8 * data, size_t data_len, u8 * mic)
490 return crypto_hash_digest(&desc, sg, data_len + 16, mic);
581 u8 mic[8]; local
598 skb->data + hdr_len, skb->len - 8 - hdr_len, mic))
601 if (memcmp(mic, skb->data + skb->len - 8, 8) != 0) {
470 michael_mic(struct crypto_hash *tfm_michael, u8 * key, u8 * hdr, u8 * data, size_t data_len, u8 * mic) argument
/drivers/staging/rtl8192e/
H A Drtllib_crypt_ccmp.c226 u8 *mic; local
232 mic = skb_put(skb, CCMP_MIC_LEN);
254 mic[i] = b[i] ^ s0[i];
314 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; local
322 xor_block(mic, b, CCMP_MIC_LEN);
340 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
H A Drtllib_crypt_tkip.c497 u8 *data, size_t data_len, u8 *mic)
515 return crypto_hash_digest(&desc, sg, data_len + 16, mic);
602 u8 mic[8]; local
615 skb->data + hdr_len, skb->len - 8 - hdr_len, mic))
618 if (memcmp(mic, skb->data + skb->len - 8, 8) != 0) {
626 memcmp(mic, skb->data + skb->len - 8, 8) != 0);
496 michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr, u8 *data, size_t data_len, u8 *mic) argument
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_ccmp.c212 // mic = skb_put(skb, CCMP_MIC_LEN);
236 u8 *mic; local
242 //mic is moved to here by john
243 mic = skb_put(skb, CCMP_MIC_LEN);
264 mic[i] = b[i] ^ s0[i];
329 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; local
337 xor_block(mic, b, CCMP_MIC_LEN);
355 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) {
H A Dieee80211_crypt_tkip.c503 u8 * data, size_t data_len, u8 * mic)
522 return crypto_hash_digest(&desc, sg, data_len + 16, mic);
613 u8 mic[8]; local
630 skb->data + hdr_len, skb->len - 8 - hdr_len, mic))
632 if (memcmp(mic, skb->data + skb->len - 8, 8) != 0) {
502 michael_mic(struct crypto_hash *tfm_michael, u8 * key, u8 * hdr, u8 * data, size_t data_len, u8 * mic) argument
/drivers/net/wireless/wl1251/
H A Ddebugfs.c178 DEBUGFS_FWSTATS_FILE(mic, rx_pkts, 20, "%u");
179 DEBUGFS_FWSTATS_FILE(mic, calc_failure, 20, "%u");
318 DEBUGFS_FWSTATS_DEL(mic, rx_pkts);
319 DEBUGFS_FWSTATS_DEL(mic, calc_failure);
419 DEBUGFS_FWSTATS_ADD(mic, rx_pkts);
420 DEBUGFS_FWSTATS_ADD(mic, calc_failure);
/drivers/net/wireless/bcmdhd/include/proto/
H A Deapol.h108 unsigned char mic[EAPOL_WPA_KEY_MIC_LEN]; /* Key MIC */ member in struct:__anon3329
/drivers/staging/wlags49_h2/
H A Dhcfdef.h595 #define MIC_RX_RTN( mic, dw )
596 #define MIC_TX_RTN( mic, dw )
/drivers/net/wireless/
H A Dairo.c840 __be32 mic; member in struct:MICBuffer
954 u64 accum; // accumulated mic, reduced to u32 in final()
1149 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1307 /* Age current mic Context */
1317 /* Give key to mic seed */
1321 /* micinit - Initialize mic seed */
1333 /* So next time we have a valid key and mic is enabled, we will
1383 * PacketTxLen will be updated with the mic'd packets size.
1386 * be big enough to hold the largets mic message possible.
1393 static int encapsulate(struct airo_info *ai ,etherHead *frame, MICBuffer *mic, in argument
1449 decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) argument
[all...]
/drivers/staging/rtl8712/
H A Drtl871x_security.c1045 u8 mic[8]; local
1112 mic[j] = aes_out[j];
1115 pframe[payload_index+j] = mic[j];
1218 u8 mic[8]; local
1231 /*(plen including llc, payload and mic) */
1282 /* start to calculate the mic */
1319 mic[j] = aes_out[j];
1322 message[payload_index+j] = mic[j];
1356 /* compare the mic */
H A Drtl871x_xmit.c351 u8 *pframe, *payload, mic[8]; local
367 /*encode mic code*/
379 /*start to calculate the mic code*/
388 /* start to calculate the mic code */
441 r8712_secgetmic(&micdata, &(mic[0]));
442 /* add mic code and add the mic code length in
444 memcpy(payload, &(mic[0]), 8);
/drivers/net/wireless/wl12xx/
H A Ddebugfs.c187 DEBUGFS_FWSTATS_FILE(mic, rx_pkts, "%u");
188 DEBUGFS_FWSTATS_FILE(mic, calc_failure, "%u");
1074 DEBUGFS_FWSTATS_ADD(mic, rx_pkts);
1075 DEBUGFS_FWSTATS_ADD(mic, calc_failure);
/drivers/video/
H A Dimsttfb.c587 __u8 tcc, mxc, lckl_n, mic; local
621 mic = 0x08;
637 par->cmap_regs[TVPIDATA] = mic; eieio();
/drivers/staging/telephony/
H A Dixj.h298 unsigned int mic:1; member in struct:__anon5421

Completed in 926 milliseconds

12