Searched refs:macp (Results 1 – 2 of 2) sorted by relevance
/arch/m68k/coldfire/ |
D | nettel.c | 103 u16 *macp; in nettel_smc91x_setmac() local 105 macp = (u16 *) flashaddr; in nettel_smc91x_setmac() 106 if ((macp[0] == 0xffff) && (macp[1] == 0xffff) && (macp[2] == 0xffff)) in nettel_smc91x_setmac() 107 macp = (u16 *) &nettel_macdefault[0]; in nettel_smc91x_setmac() 110 writew(macp[0], ioaddr + SMC91xx_BASEMAC); in nettel_smc91x_setmac() 111 writew(macp[1], ioaddr + SMC91xx_BASEMAC + 2); in nettel_smc91x_setmac() 112 writew(macp[2], ioaddr + SMC91xx_BASEMAC + 4); in nettel_smc91x_setmac()
|
/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 33 u32 *macp, u32 const rk[], u32 rounds); 106 u32 abytes, u32 *macp) in ccm_update_mac() argument 110 ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in ccm_update_mac() 114 if (*macp > 0 && *macp < AES_BLOCK_SIZE) { in ccm_update_mac() 115 int added = min(abytes, AES_BLOCK_SIZE - *macp); in ccm_update_mac() 117 crypto_xor(&mac[*macp], in, added); in ccm_update_mac() 119 *macp += added; in ccm_update_mac() 135 *macp = abytes; in ccm_update_mac() 147 u32 macp = 0; in ccm_calculate_auth_mac() local 159 ccm_update_mac(ctx, mac, (u8 *)<ag, ltag.len, &macp); in ccm_calculate_auth_mac() [all …]
|