Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_algs.h73 u64 iv_offset:8; member
77 u64 iv_offset:8;
134 u64 iv_offset:8; member
138 u64 iv_offset:8;
A Dotx2_cptvf_algs.c1058 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.h83 u64 iv_offset:8; member
87 u64 iv_offset:8;
148 u64 iv_offset:8; member
152 u64 iv_offset:8;
A Dotx_cptvf_algs.c1005 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_rxtx.c155 int iv_offset; in mlx5e_ipsec_set_iv_esn() local
168 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
169 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv_esn()
175 int iv_offset; in mlx5e_ipsec_set_iv() local
180 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
181 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv()
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A 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()
A Drt2x00queue.h324 u16 iv_offset; member
A Drt2500usb.c1085 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt2500usb_write_tx_desc()
A Drt73usb.c1485 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt73usb_write_tx_desc()
A Drt61pci.c1791 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt61pci_write_tx_desc()
/linux-6.3-rc2/drivers/crypto/cavium/cpt/
A Dcptvf_algs.h58 u64 iv_offset:8; member
62 u64 iv_offset:8;
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/
A Ddm-crypt.rst13 <cipher> <key> <iv_offset> <device path> \
81 <iv_offset>
155 The <iv_offset> must be multiple of <sector_size> (in 512 bytes units)
/linux-6.3-rc2/net/tls/
A Dtls_sw.c506 int rc, iv_offset = 0; in tls_do_encryption() local
512 iv_offset = 1; in tls_do_encryption()
516 iv_offset = 1; in tls_do_encryption()
520 memcpy(&rec->iv_data[iv_offset], tls_ctx->tx.iv, in tls_do_encryption()
523 tls_xor_iv_with_seq(prot, rec->iv_data + iv_offset, in tls_do_encryption()
1473 int iv_offset = 0; in tls_decrypt_sg() local
1526 iv_offset = 1; in tls_decrypt_sg()
1530 iv_offset = 1; in tls_decrypt_sg()
1537 memcpy(&dctx->iv[iv_offset], tls_ctx->rx.iv, in tls_decrypt_sg()
1541 &dctx->iv[iv_offset] + prot->salt_size, in tls_decrypt_sg()
[all …]
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/
A Dnitrox_aead.c23 u16 iv_offset : 8; member
27 u16 iv_offset : 8;
168 param3.iv_offset = 0; in nitrox_set_creq()
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/
A Dsec.h104 sector_t iv_offset; member
/linux-6.3-rc2/drivers/crypto/bcm/
A 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()
/linux-6.3-rc2/crypto/
A Dtestmgr.c303 unsigned int iv_offset; member
338 .iv_offset = 1,
349 .iv_offset = 1,
375 .iv_offset = 3,
529 if (cfg->iv_offset + in valid_testvec_config()
1105 cfg->iv_offset = get_random_u32_inclusive(1, MAX_ALGAPI_ALIGNMASK); in generate_random_testvec_config()
1106 p += scnprintf(p, end - p, " iv_offset=%u", cfg->iv_offset); in generate_random_testvec_config()
1994 cfg->iv_offset + in test_aead_vec_cfg()
2760 cfg->iv_offset + in test_skcipher_vec_cfg()
/linux-6.3-rc2/drivers/md/
A Ddm-crypt.c173 u64 iv_offset; member
1223 ctx->cc_sector = sector + cc->iv_offset; in crypt_convert_init()
1315 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_aead()
1417 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_skcipher()
3277 cc->iv_offset = tmpll; in crypt_ctr()
3479 DMEMIT(" %llu %s %llu", (unsigned long long)cc->iv_offset, in crypt_status()
/linux-6.3-rc2/drivers/net/
A Dmacsec.c559 size_t size, iv_offset, sg_offset; in macsec_alloc_req() local
564 iv_offset = size; in macsec_alloc_req()
575 *iv = (unsigned char *)(tmp + iv_offset); in macsec_alloc_req()

Completed in 83 milliseconds