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);
605 * @cipher_mode: cipher mode
613 enum spu2_cipher_mode cipher_mode,
623 ((u64)cipher_mode << SPU2_CIPH_MODE_SHIFT);
773 * @cipher_mode: The cipher mode
784 enum spu_cipher_mode cipher_mode,
788 (cipher_mode == CIPHER_MODE_CCM)) {
853 * @cipher_mode: Unused
858 u32 spu2_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode,
867 * @cipher_mode: cipher mode
874 u32 spu2_assoc_resp_len(enum spu_cipher_mode cipher_mode,
889 * @cipher_mode: cipher mode
897 u8 spu2_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len)