Lines Matching refs:hash_mode
80 static char *spu2_hash_mode_name(enum spu2_hash_mode hash_mode) in spu2_hash_mode_name() argument
82 if (hash_mode >= SPU2_HASH_MODE_LAST) in spu2_hash_mode_name()
84 return spu2_hash_mode_names[hash_mode]; in spu2_hash_mode_name()
196 static int spu2_hash_mode_xlate(enum hash_mode hash_mode, in spu2_hash_mode_xlate() argument
199 switch (hash_mode) { in spu2_hash_mode_xlate()
234 spu2_hash_xlate(enum hash_alg hash_alg, enum hash_mode hash_mode, in spu2_hash_xlate() argument
240 err = spu2_hash_mode_xlate(hash_mode, spu2_mode); in spu2_hash_xlate()
242 flow_log("Invalid hash mode %d\n", hash_mode); in spu2_hash_xlate()
313 enum spu2_hash_mode hash_mode; in spu2_dump_fmd_ctrl0() local
356 hash_mode = (ctrl0 & SPU2_HASH_MODE) >> SPU2_HASH_MODE_SHIFT; in spu2_dump_fmd_ctrl0()
357 hash_mode_name = spu2_hash_mode_name(hash_mode); in spu2_dump_fmd_ctrl0()
841 u16 spu2_hash_pad_len(enum hash_alg hash_alg, enum hash_mode hash_mode, in spu2_hash_pad_len() argument
1243 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad()