Lines Matching refs:cipher_mode
66 static char *spu2_ciph_mode_name(enum spu2_cipher_mode cipher_mode)
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,
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);
604 * @cipher_mode: cipher mode
612 enum spu2_cipher_mode cipher_mode,
622 ((u64)cipher_mode << SPU2_CIPH_MODE_SHIFT);
771 * @cipher_mode: The cipher mode
782 enum spu_cipher_mode cipher_mode,
786 (cipher_mode == CIPHER_MODE_CCM)) {
853 u32 spu2_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
862 * @cipher_mode: cipher mode
869 u32 spu2_assoc_resp_len(enum spu_cipher_mode cipher_mode,
884 * @cipher_mode: cipher mode
892 u8 spu2_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len)