Lines Matching refs:cipher_mode
77 static char *spu2_ciph_mode_name(enum spu2_cipher_mode cipher_mode) in spu2_ciph_mode_name() argument
79 if (cipher_mode >= SPU2_CIPHER_MODE_LAST) in spu2_ciph_mode_name()
81 return spu2_cipher_mode_names[cipher_mode]; in spu2_ciph_mode_name()
102 static int spu2_cipher_mode_xlate(enum spu_cipher_mode cipher_mode, in spu2_cipher_mode_xlate() argument
105 switch (cipher_mode) { in spu2_cipher_mode_xlate()
148 enum spu_cipher_mode cipher_mode, in spu2_cipher_xlate() argument
155 err = spu2_cipher_mode_xlate(cipher_mode, spu2_mode); in spu2_cipher_xlate()
157 flow_log("Invalid cipher mode %d\n", cipher_mode); in spu2_cipher_xlate()
623 enum spu2_cipher_mode cipher_mode, in spu2_fmd_ctrl0_write() argument
633 ((u64)cipher_mode << SPU2_CIPH_MODE_SHIFT); in spu2_fmd_ctrl0_write()
793 enum spu_cipher_mode cipher_mode, in spu2_ctx_max_payload() argument
797 (cipher_mode == CIPHER_MODE_CCM)) { in spu2_ctx_max_payload()
864 u32 spu2_gcm_ccm_pad_len(enum spu_cipher_mode cipher_mode, in spu2_gcm_ccm_pad_len() argument
880 u32 spu2_assoc_resp_len(enum spu_cipher_mode cipher_mode, in spu2_assoc_resp_len() argument
903 u8 spu2_aead_ivlen(enum spu_cipher_mode cipher_mode, u16 iv_len) in spu2_aead_ivlen() argument