Lines Matching refs:cipher_mode
32 u32 cipher_mode;
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 == CIPHER_MODE_XTS)
457 * @cipher_mode: Algo type
462 u32 spum_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
468 if ((cipher_mode == CIPHER_MODE_GCM) ||
469 (cipher_mode == CIPHER_MODE_CCM))
478 * @cipher_mode: cipher mode
485 u32 spum_assoc_resp_len(enum spu_cipher_mode cipher_mode,
495 if (cipher_mode == CIPHER_MODE_GCM) {
497 pad = spum_gcm_ccm_pad_len(cipher_mode, buflen);
500 if (cipher_mode == CIPHER_MODE_CCM) {
505 pad = spum_gcm_ccm_pad_len(cipher_mode, buflen + 2);
515 * @cipher_mode: cipher mode
523 u8 spum_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len)