Home
last modified time | relevance | path

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

/linux/drivers/crypto/bcm/
H A Dspu.h194 static __always_inline bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode, in spu_req_incl_icv() argument
197 if ((cipher_mode == CIPHER_MODE_GCM) && !is_encrypt) in spu_req_incl_icv()
199 if ((cipher_mode == CIPHER_MODE_CCM) && !is_encrypt) in spu_req_incl_icv()
222 enum spu_cipher_mode cipher_mode,
225 enum spu_cipher_mode cipher_mode,
231 u32 spum_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
233 u32 spum_assoc_resp_len(enum spu_cipher_mode cipher_mode,
236 u8 spum_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len);
237 bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode, bool is_encrypt);
H A Dspu2.c66 static char *spu2_ciph_mode_name(enum spu2_cipher_mode cipher_mode) in spu2_ciph_mode_name() argument
68 if (cipher_mode >= SPU2_CIPHER_MODE_LAST) in spu2_ciph_mode_name()
70 return spu2_cipher_mode_names[cipher_mode]; in spu2_ciph_mode_name()
91 static int spu2_cipher_mode_xlate(enum spu_cipher_mode cipher_mode, in spu2_cipher_mode_xlate() argument
94 switch (cipher_mode) { in spu2_cipher_mode_xlate()
137 enum spu_cipher_mode cipher_mode, in spu2_cipher_xlate() argument
144 err = spu2_cipher_mode_xlate(cipher_mode, spu2_mode); in spu2_cipher_xlate()
146 flow_log("Invalid cipher mode %d\n", cipher_mode); in spu2_cipher_xlate()
613 enum spu2_cipher_mode cipher_mode, in spu2_fmd_ctrl0_write() argument
623 ((u64)cipher_mode << SPU2_CIPH_MODE_SHIFT); in spu2_fmd_ctrl0_write()
[all …]
H A Dspu2.h176 enum spu_cipher_mode cipher_mode,
182 u32 spu2_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
184 u32 spu2_assoc_resp_len(enum spu_cipher_mode cipher_mode,
187 u8 spu2_aead_ivlen(enum spu_cipher_mode cipher_mode,
H A Dcipher.h359 enum spu_cipher_mode cipher_mode,
367 u32 (*spu_gcm_ccm_pad_len)(enum spu_cipher_mode cipher_mode,
369 u32 (*spu_assoc_resp_len)(enum spu_cipher_mode cipher_mode,
372 u8 (*spu_aead_ivlen)(enum spu_cipher_mode cipher_mode,
/linux/drivers/crypto/ccree/
H A Dcc_driver.h162 int cipher_mode; member
178 int cipher_mode; member
H A Dcc_aead.h99 enum drv_cipher_mode cipher_mode; member
H A Dcc_hw_queue_defs.h508 enum drv_cipher_mode cipher_mode, in set_hash_cipher_mode() argument
511 set_cipher_mode(pdesc, cipher_mode); in set_hash_cipher_mode()
H A Dcc_buffer_mgr.c469 if (areq_ctx->cipher_mode == DRV_CIPHER_GCTR) { in cc_unmap_aead_request()
1008 if (areq_ctx->cipher_mode == DRV_CIPHER_GCTR) { in cc_map_aead_request()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h158 u8 mode, u8 cipher_mode, u8 index);
167 u8 cipher_mode);
H A Dhif.c1111 u8 mode, u8 cipher_mode, u8 index) in wilc_add_ptk() argument
1123 wid_list[0].val = (s8 *)&cipher_mode; in wilc_add_ptk()
1213 u8 cipher_mode) in wilc_add_rx_gtk() argument
1247 wid_list[0].val = (s8 *)&cipher_mode; in wilc_add_rx_gtk()
/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c1318 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS; in pm80xx_get_encrypt_info()
1332 pm8001_ha->encrypt_info.cipher_mode, in pm80xx_get_encrypt_info()
1342 pm8001_ha->encrypt_info.cipher_mode = 0; in pm80xx_get_encrypt_info()
1350 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS; in pm80xx_get_encrypt_info()
1363 pm8001_ha->encrypt_info.cipher_mode, in pm80xx_get_encrypt_info()
1372 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS; in pm80xx_get_encrypt_info()
1386 pm8001_ha->encrypt_info.cipher_mode, in pm80xx_get_encrypt_info()
H A Dpm8001_sas.h314 u32 cipher_mode; member