Home
last modified time | relevance | path

Searched refs:ccm_n (Results 1 – 1 of 1) sorted by relevance

/drivers/usb/wusbcore/
Dsecurity.c371 struct aes_ccm_nonce ccm_n; in wusb_dev_4way_handshake() local
444 memset(&ccm_n.sfn, 0, sizeof(ccm_n.sfn)); /* Per WUSB1.0[6.5.2] */ in wusb_dev_4way_handshake()
445 memcpy(ccm_n.tkid, &tkid_le, sizeof(ccm_n.tkid)); in wusb_dev_4way_handshake()
446 ccm_n.src_addr = wusbhc->uwb_rc->uwb_dev.dev_addr; in wusb_dev_4way_handshake()
447 ccm_n.dest_addr.data[0] = wusb_dev->addr; in wusb_dev_4way_handshake()
448 ccm_n.dest_addr.data[1] = 0; in wusb_dev_4way_handshake()
453 result = wusb_key_derive(&keydvt_out, ck->data, &ccm_n, &keydvt_in); in wusb_dev_4way_handshake()
461 result = wusb_oob_mic(mic, keydvt_out.kck, &ccm_n, &hs[1]); in wusb_dev_4way_handshake()
480 result = wusb_oob_mic(hs[2].MIC, keydvt_out.kck, &ccm_n, &hs[2]); in wusb_dev_4way_handshake()
527 memset(&ccm_n, 0, sizeof(ccm_n)); in wusb_dev_4way_handshake()