Home
last modified time | relevance | path

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

/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c89 u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
134 aad[0] = pos[0] & 0x8f; in ccmp_init_iv_and_aad()
135 aad[1] = pos[1] & 0xc7; in ccmp_init_iv_and_aad()
136 memcpy(aad + 2, hdr->addr1, 3 * ETH_ALEN); in ccmp_init_iv_and_aad()
138 aad[20] = pos[0] & 0x0f; in ccmp_init_iv_and_aad()
139 aad[21] = 0; /* all bits masked */ in ccmp_init_iv_and_aad()
140 memset(aad + 22, 0, 8); in ccmp_init_iv_and_aad()
142 memcpy(aad + 22, hdr->addr4, ETH_ALEN); in ccmp_init_iv_and_aad()
144 aad[a4_included ? 28 : 22] = qc; in ccmp_init_iv_and_aad()
191 u8 *aad = key->tx_aad; in rtllib_ccmp_encrypt() local
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c93 u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
142 aad[0] = pos[0] & 0x8f; in ccmp_init_iv_and_aad()
143 aad[1] = pos[1] & 0xc7; in ccmp_init_iv_and_aad()
144 memcpy(aad + 2, hdr->addr1, 3 * ETH_ALEN); in ccmp_init_iv_and_aad()
146 aad[20] = pos[0] & 0x0f; in ccmp_init_iv_and_aad()
147 aad[21] = 0; /* all bits masked */ in ccmp_init_iv_and_aad()
148 memset(aad + 22, 0, 8); in ccmp_init_iv_and_aad()
150 memcpy(aad + 22, hdr->addr4, ETH_ALEN); in ccmp_init_iv_and_aad()
152 aad[a4_included ? 28 : 22] = qc; in ccmp_init_iv_and_aad()
198 u8 *aad = key->tx_aad; in ieee80211_ccmp_encrypt() local
[all …]
/drivers/clk/imx/
Dclk-imx35.c89 struct arm_ahb_div *aad; in _mx35_clocks_init() local
97 aad = &clk_consumer[consumer_sel]; in _mx35_clocks_init()
98 if (!aad->arm) { in _mx35_clocks_init()
104 aad = &clk_consumer[0]; in _mx35_clocks_init()
114 if (aad->sel) in _mx35_clocks_init()
115 clk[arm] = imx_clk_fixed_factor("arm", "mpll_075", 1, aad->arm); in _mx35_clocks_init()
117 clk[arm] = imx_clk_fixed_factor("arm", "mpll", 1, aad->arm); in _mx35_clocks_init()
132 clk[ahb] = imx_clk_fixed_factor("ahb", "arm", 1, aad->ahb); in _mx35_clocks_init()
/drivers/crypto/
Dsa2ul.h250 struct sa_cmdl_param_info aad; member
/drivers/crypto/ccp/
Dccp-ops.c637 struct ccp_data aad; in ccp_run_aes_gcm_cmd() local
749 ret = ccp_init_data(&aad, cmd_q, p_aad, aes->aad_len, in ccp_run_aes_gcm_cmd()
758 while (aad.sg_wa.bytes_left) { in ccp_run_aes_gcm_cmd()
759 ccp_prepare_data(&aad, NULL, &op, AES_BLOCK_SIZE, true); in ccp_run_aes_gcm_cmd()
767 ccp_process_data(&aad, NULL, &op); in ccp_run_aes_gcm_cmd()
904 ccp_free_data(&aad, cmd_q); in ccp_run_aes_gcm_cmd()