Searched refs:cipher_mode (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/crypto/ccree/
H A Dcc_cipher.c48 int cipher_mode; member in struct:cc_cipher_ctx
78 if (ctx_p->cipher_mode != DRV_CIPHER_XTS)
85 if (ctx_p->cipher_mode == DRV_CIPHER_XTS ||
86 ctx_p->cipher_mode == DRV_CIPHER_ESSIV)
112 switch (ctx_p->cipher_mode) {
136 switch (ctx_p->cipher_mode) {
167 ctx_p->cipher_mode = cc_alg->cipher_mode;
171 if (ctx_p->cipher_mode == DRV_CIPHER_ESSIV) {
245 if (ctx_p->cipher_mode
517 int cipher_mode = ctx_p->cipher_mode; local
574 int cipher_mode = ctx_p->cipher_mode; local
618 int cipher_mode = ctx_p->cipher_mode; local
695 int cipher_mode = ctx_p->cipher_mode; local
[all...]
H A Dcc_aead.c59 enum drv_cipher_mode cipher_mode; member in struct:cc_aead_ctx
137 ctx->cipher_mode = cc_alg->cipher_mode;
231 ctx->authsize, ctx->cipher_mode);
568 if (ctx->cipher_mode == DRV_CIPHER_CTR) {
937 if (ctx->cipher_mode == DRV_CIPHER_CTR)
941 set_cipher_mode(&desc[idx], ctx->cipher_mode);
959 set_cipher_mode(&desc[idx], ctx->cipher_mode);
1329 if (ctx->cipher_mode == DRV_CIPHER_CBC &&
1332 if (ctx->cipher_mode
[all...]
H A Dcc_driver.h162 int cipher_mode; member in struct:cc_crypto_alg
178 int cipher_mode; member in struct:cc_alg_template
H A Dcc_aead.h99 enum drv_cipher_mode cipher_mode; member in struct:aead_req_ctx
H A Dcc_hw_queue_defs.h504 * @cipher_mode: Any one of the modes defined in [CC7x-DESC]
508 enum drv_cipher_mode cipher_mode,
511 set_cipher_mode(pdesc, cipher_mode);
507 set_hash_cipher_mode(struct cc_hw_desc *pdesc, enum drv_cipher_mode cipher_mode, enum drv_hash_mode hash_mode) argument
H A Dcc_buffer_mgr.c469 if (areq_ctx->cipher_mode == DRV_CIPHER_GCTR) {
1008 if (areq_ctx->cipher_mode == DRV_CIPHER_GCTR) {
/linux-master/drivers/crypto/bcm/
H A Dspu.h189 * @cipher_mode: the cipher mode being requested
194 static __always_inline bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode, argument
197 if ((cipher_mode == CIPHER_MODE_GCM) && !is_encrypt)
199 if ((cipher_mode == CIPHER_MODE_CCM) && !is_encrypt)
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, boo
[all...]
H A Dspu.c32 u32 cipher_mode; local
77 cipher_mode = (cflags & CIPHER_MODE) >> CIPHER_MODE_SHIFT;
80 cipher_alg, cipher_mode, cipher_type);
249 if (cipher_mode == CIPHER_MODE_XTS) {
321 * @cipher_mode: The cipher mode
331 enum spu_cipher_mode cipher_mode,
338 if (cipher_mode == CIPHER_MODE_XTS)
350 * @cipher_mode: The cipher mode
360 enum spu_cipher_mode cipher_mode,
367 if (cipher_mode
330 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
359 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
462 spum_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode, unsigned int data_size) argument
485 spum_assoc_resp_len(enum spu_cipher_mode cipher_mode, unsigned int assoc_len, unsigned int iv_len, bool is_encrypt) argument
523 spum_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len) argument
[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,
H A Dspu2.c66 static char *spu2_ciph_mode_name(enum spu2_cipher_mode cipher_mode) argument
68 if (cipher_mode >= SPU2_CIPHER_MODE_LAST)
70 return spu2_cipher_mode_names[cipher_mode];
91 static int spu2_cipher_mode_xlate(enum spu_cipher_mode cipher_mode, argument
94 switch (cipher_mode) {
129 * @cipher_mode: [in] cipher mode value from software enumeration
137 enum spu_cipher_mode cipher_mode,
144 err = spu2_cipher_mode_xlate(cipher_mode, spu2_mode);
146 flow_log("Invalid cipher mode %d\n", cipher_mode);
605 * @cipher_mode
136 spu2_cipher_xlate(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, enum spu_cipher_type cipher_type, enum spu2_cipher_type *spu2_type, enum spu2_cipher_mode *spu2_mode) argument
609 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) argument
783 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
858 spu2_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode, unsigned int data_size) argument
874 spu2_assoc_resp_len(enum spu_cipher_mode cipher_mode, unsigned int assoc_len, unsigned int iv_len, bool is_encrypt) argument
897 spu2_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len) argument
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h158 u8 mode, u8 cipher_mode, u8 index);
167 u8 cipher_mode);
H A Dhif.c1108 u8 mode, u8 cipher_mode, u8 index)
1120 wid_list[0].val = (s8 *)&cipher_mode;
1210 u8 cipher_mode)
1244 wid_list[0].val = (s8 *)&cipher_mode;
1106 wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, const u8 *mac_addr, const u8 *rx_mic, const u8 *tx_mic, u8 mode, u8 cipher_mode, u8 index) argument
1207 wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len, u8 index, u32 key_rsc_len, const u8 *key_rsc, const u8 *rx_mic, const u8 *tx_mic, u8 mode, u8 cipher_mode) argument
/linux-master/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c1317 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS;
1331 pm8001_ha->encrypt_info.cipher_mode,
1341 pm8001_ha->encrypt_info.cipher_mode = 0;
1349 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS;
1362 pm8001_ha->encrypt_info.cipher_mode,
1371 pm8001_ha->encrypt_info.cipher_mode = CIPHER_MODE_XTS;
1385 pm8001_ha->encrypt_info.cipher_mode,
H A Dpm8001_sas.h313 u32 cipher_mode; member in struct:encrypt
/linux-master/drivers/crypto/chelsio/
H A Dchcr_algo.c2975 unsigned int cipher_mode = CHCR_SCMD_CIPHER_MODE_AES_CCM; local
3014 cipher_mode, mac_mode,

Completed in 163 milliseconds