Lines Matching refs:desc
28 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac()
32 desc->tfm = tfm; in ieee80211_aes_cmac()
34 crypto_shash_init(desc); in ieee80211_aes_cmac()
35 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac()
39 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac()
40 crypto_shash_update(desc, data + 8, data_len - 8 - CMAC_TLEN); in ieee80211_aes_cmac()
42 crypto_shash_update(desc, data, data_len - CMAC_TLEN); in ieee80211_aes_cmac()
44 crypto_shash_finup(desc, zero, CMAC_TLEN, out); in ieee80211_aes_cmac()
52 SHASH_DESC_ON_STACK(desc, tfm); in ieee80211_aes_cmac_256()
55 desc->tfm = tfm; in ieee80211_aes_cmac_256()
57 crypto_shash_init(desc); in ieee80211_aes_cmac_256()
58 crypto_shash_update(desc, aad, AAD_LEN); in ieee80211_aes_cmac_256()
62 crypto_shash_update(desc, zero, 8); in ieee80211_aes_cmac_256()
63 crypto_shash_update(desc, data + 8, in ieee80211_aes_cmac_256()
66 crypto_shash_update(desc, data, data_len - CMAC_TLEN_256); in ieee80211_aes_cmac_256()
68 crypto_shash_finup(desc, zero, CMAC_TLEN_256, mic); in ieee80211_aes_cmac_256()