Searched refs:iv_data (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 535 u8 iv_data[8]; in mt76_mac_wcid_set_key() local 546 memset(iv_data, 0, sizeof(iv_data)); in mt76_mac_wcid_set_key() 548 iv_data[3] = key->keyidx << 6; in mt76_mac_wcid_set_key() 553 iv_data[0] |= 1; in mt76_mac_wcid_set_key() 554 iv_data[3] |= 0x20; in mt76_mac_wcid_set_key() 557 mt7601u_wr_copy(dev, MT_WCID_IV(idx), iv_data, sizeof(iv_data)); in mt76_mac_wcid_set_key()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 111 u8 iv_data[8]; in mt76x02_mac_wcid_set_key() local 121 memset(iv_data, 0, sizeof(iv_data)); in mt76x02_mac_wcid_set_key() 128 iv_data[3] = key->keyidx << 6; in mt76x02_mac_wcid_set_key() 130 iv_data[3] |= 0x20; in mt76x02_mac_wcid_set_key() 131 put_unaligned_le32(pn >> 16, &iv_data[4]); in mt76x02_mac_wcid_set_key() 135 iv_data[0] = (pn >> 8) & 0xff; in mt76x02_mac_wcid_set_key() 136 iv_data[1] = (iv_data[0] | 0x20) & 0x7f; in mt76x02_mac_wcid_set_key() 137 iv_data[2] = pn & 0xff; in mt76x02_mac_wcid_set_key() 139 put_unaligned_le16((pn & 0xffff), &iv_data[0]); in mt76x02_mac_wcid_set_key() 143 mt76_wr_copy(dev, MT_WCID_IV(idx), iv_data, sizeof(iv_data)); in mt76x02_mac_wcid_set_key()
|
/Linux-v6.6/net/tls/ |
D | tls.h | 130 u8 iv_data[MAX_IV_SIZE]; member
|
D | tls_sw.c | 513 rec->iv_data[0] = TLS_AES_CCM_IV_B0_BYTE; in tls_do_encryption() 517 rec->iv_data[0] = TLS_SM4_CCM_IV_B0_BYTE; in tls_do_encryption() 522 memcpy(&rec->iv_data[iv_offset], tls_ctx->tx.iv, in tls_do_encryption() 525 tls_xor_iv_with_seq(prot, rec->iv_data + iv_offset, in tls_do_encryption() 537 data_len, rec->iv_data); in tls_do_encryption()
|