Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
99 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_copy_iv()
110 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_remove_iv()
113 memmove(skb->data + txdesc->iv_len, skb->data, txdesc->iv_offset); in rt2x00crypto_tx_remove_iv()
Drt2x00queue.h324 u16 iv_offset; member
Drt2500usb.c1085 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt2500usb_write_tx_desc()
Drt73usb.c1485 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt73usb_write_tx_desc()
Drt61pci.c1791 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt61pci_write_tx_desc()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c173 int iv_offset; in mlx5e_ipsec_set_iv_esn() local
186 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
187 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv_esn()
193 int iv_offset; in mlx5e_ipsec_set_iv() local
198 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
199 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv()
/drivers/md/
Ddm-default-key.c46 u64 iv_offset; member
189 if (sscanf(argv[2], "%llu%c", &dkc->iv_offset, &dummy) != 1) { in default_key_ctr()
289 dun[0] = dkc->iv_offset + sector_in_target; /* 512-byte sectors */ in default_key_map()
314 DMEMIT("%s - %llu %s %llu", dkc->cipher_string, dkc->iv_offset, in default_key_status()
Ddm-crypt.c156 u64 iv_offset; member
897 ctx->cc_sector = sector + cc->iv_offset; in crypt_convert_init()
987 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_aead()
1086 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_skcipher()
2668 cc->iv_offset = tmpll; in crypt_ctr()
2832 DMEMIT(" %llu %s %llu", (unsigned long long)cc->iv_offset, in crypt_status()
/drivers/crypto/cavium/cpt/
Dcptvf_algs.h58 u64 iv_offset:8; member
62 u64 iv_offset:8;
/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c24 u16 iv_offset : 8; member
28 u16 iv_offset : 8;
152 param3.iv_offset = 0; in nitrox_set_creq()
/drivers/crypto/bcm/
Dspu2.c373 u8 iv_offset; in spu2_dump_fmd_ctrl1() local
414 iv_offset = (ctrl1 & SPU2_IV_OFFSET) >> SPU2_IV_OFFSET_SHIFT; in spu2_dump_fmd_ctrl1()
415 packet_log(" IV offset %u\n", iv_offset); in spu2_dump_fmd_ctrl1()
/drivers/net/
Dmacsec.c620 size_t size, iv_offset, sg_offset; in macsec_alloc_req() local
625 iv_offset = size; in macsec_alloc_req()
636 *iv = (unsigned char *)(tmp + iv_offset); in macsec_alloc_req()