Lines Matching refs:cipher_mode
189 * @cipher_mode: the cipher mode being requested
194 static __always_inline bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode,
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, bool is_encrypt);