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) {
323 * @cipher_mode: The cipher mode
333 enum spu_cipher_mode cipher_mode,
340 if (cipher_mode == CIPHER_MODE_XTS)
352 * @cipher_mode: The cipher mode
362 enum spu_cipher_mode cipher_mode,
369 if (cipher_mode == CIPHER_MODE_XTS)
459 * @cipher_mode: Algo type
464 u32 spum_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
470 if ((cipher_mode == CIPHER_MODE_GCM) ||
471 (cipher_mode == CIPHER_MODE_CCM))
480 * @cipher_mode: cipher mode
487 u32 spum_assoc_resp_len(enum spu_cipher_mode cipher_mode,
497 if (cipher_mode == CIPHER_MODE_GCM) {
499 pad = spum_gcm_ccm_pad_len(cipher_mode, buflen);
502 if (cipher_mode == CIPHER_MODE_CCM) {
507 pad = spum_gcm_ccm_pad_len(cipher_mode, buflen + 2);
517 * @cipher_mode: cipher mode
525 u8 spum_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len)