/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.h | 83 u64 iv_offset:8; member 87 u64 iv_offset:8; 148 u64 iv_offset:8; member 152 u64 iv_offset:8;
|
H A D | otx_cptvf_algs.c | 924 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.h | 74 u64 iv_offset:8; member 78 u64 iv_offset:8; 137 u64 iv_offset:8; member 141 u64 iv_offset:8;
|
H A D | otx2_cptvf_algs.c | 1012 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 158 int iv_offset; in mlx5e_ipsec_set_iv_esn() local 171 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn() 172 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv_esn() 178 int iv_offset; in mlx5e_ipsec_set_iv() local 183 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv() 184 skb_store_bits(skb, iv_offset, &seqno, 8); in mlx5e_ipsec_set_iv()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00crypto.c | 53 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()
|
H A D | rt2x00queue.h | 324 u16 iv_offset; member
|
H A D | rt2500usb.c | 1085 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt2500usb_write_tx_desc()
|
H A D | rt73usb.c | 1485 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt73usb_write_tx_desc()
|
H A D | rt61pci.c | 1791 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); in rt61pci_write_tx_desc()
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.h | 58 u64 iv_offset:8; member 62 u64 iv_offset:8;
|
/linux/net/tls/ |
H A D | tls_sw.c | 543 int rc, iv_offset = 0; in tls_do_encryption() local 549 iv_offset = 1; in tls_do_encryption() 553 iv_offset = 1; in tls_do_encryption() 557 memcpy(&rec->iv_data[iv_offset], tls_ctx->tx.iv, in tls_do_encryption() 560 tls_xor_iv_with_seq(prot, rec->iv_data + iv_offset, in tls_do_encryption() 1479 int iv_offset = 0; in tls_decrypt_sg() local 1532 iv_offset = 1; in tls_decrypt_sg() 1536 iv_offset = 1; in tls_decrypt_sg() 1543 memcpy(&dctx->iv[iv_offset], tls_ctx->rx.iv, in tls_decrypt_sg() 1547 &dctx->iv[iv_offset] + prot->salt_size, in tls_decrypt_sg() [all …]
|
H A D | tls.h | 61 unsigned int iv_offset; member 85 return (char *)crypto_info + cipher_desc->iv_offset; in crypto_info_iv()
|
H A D | tls_main.c | 72 .iv_offset = offsetof(struct ci, iv), \
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 23 u16 iv_offset : 8; member 27 u16 iv_offset : 8; 168 param3.iv_offset = 0; in nitrox_set_creq()
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-crypt.rst | 13 <cipher> <key> <iv_offset> <device path> \ 81 <iv_offset> 160 The <iv_offset> must be multiple of <sector_size> (in 512 bytes units)
|
/linux/drivers/crypto/bcm/ |
H A D | spu2.c | 373 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/drivers/md/ |
H A D | dm-crypt.c | 180 u64 iv_offset; member 1258 ctx->cc_sector = sector + cc->iv_offset; in crypt_convert_init() 1350 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_aead() 1455 *sector = cpu_to_le64(ctx->cc_sector - cc->iv_offset); in crypt_convert_block_skcipher() 2224 io->ctx.cc_sector = io->sector + cc->iv_offset; in kcryptd_crypt_read_convert() 3383 cc->iv_offset = tmpll; in crypt_ctr() 3606 DMEMIT(" %llu %s %llu", (unsigned long long)cc->iv_offset, in crypt_status()
|
/linux/crypto/ |
H A D | testmgr.c | 314 unsigned int iv_offset; member 350 .iv_offset = 1, 361 .iv_offset = 1, 387 .iv_offset = 3, 539 if (cfg->iv_offset + in valid_testvec_config() 1178 cfg->iv_offset = prandom_u32_inclusive(rng, 1, in generate_random_testvec_config() 1180 p += scnprintf(p, end - p, " iv_offset=%u", cfg->iv_offset); in generate_random_testvec_config() 2077 cfg->iv_offset + in test_aead_vec_cfg() 2857 cfg->iv_offset + in test_skcipher_vec_cfg()
|
/linux/drivers/net/ |
H A D | macsec.c | 543 size_t size, iv_offset, sg_offset; in macsec_alloc_req() local 548 iv_offset = size; in macsec_alloc_req() 559 *iv = (unsigned char *)(tmp + iv_offset); in macsec_alloc_req()
|