Lines Matching refs:spu2_mode

92 				  enum spu2_cipher_mode *spu2_mode)  in spu2_cipher_mode_xlate()  argument
96 *spu2_mode = SPU2_CIPHER_MODE_ECB; in spu2_cipher_mode_xlate()
99 *spu2_mode = SPU2_CIPHER_MODE_CBC; in spu2_cipher_mode_xlate()
102 *spu2_mode = SPU2_CIPHER_MODE_OFB; in spu2_cipher_mode_xlate()
105 *spu2_mode = SPU2_CIPHER_MODE_CFB; in spu2_cipher_mode_xlate()
108 *spu2_mode = SPU2_CIPHER_MODE_CTR; in spu2_cipher_mode_xlate()
111 *spu2_mode = SPU2_CIPHER_MODE_CCM; in spu2_cipher_mode_xlate()
114 *spu2_mode = SPU2_CIPHER_MODE_GCM; in spu2_cipher_mode_xlate()
117 *spu2_mode = SPU2_CIPHER_MODE_XTS; in spu2_cipher_mode_xlate()
140 enum spu2_cipher_mode *spu2_mode) in spu2_cipher_xlate() argument
144 err = spu2_cipher_mode_xlate(cipher_mode, spu2_mode); in spu2_cipher_xlate()
197 enum spu2_hash_mode *spu2_mode) in spu2_hash_mode_xlate() argument
201 *spu2_mode = SPU2_HASH_MODE_XCBC_MAC; in spu2_hash_mode_xlate()
204 *spu2_mode = SPU2_HASH_MODE_CMAC; in spu2_hash_mode_xlate()
207 *spu2_mode = SPU2_HASH_MODE_HMAC; in spu2_hash_mode_xlate()
210 *spu2_mode = SPU2_HASH_MODE_CCM; in spu2_hash_mode_xlate()
213 *spu2_mode = SPU2_HASH_MODE_GCM; in spu2_hash_mode_xlate()
236 enum spu2_hash_type *spu2_type, enum spu2_hash_mode *spu2_mode) in spu2_hash_xlate() argument
240 err = spu2_hash_mode_xlate(hash_mode, spu2_mode); in spu2_hash_xlate()
556 enum spu2_cipher_mode spu2_mode, in spu2_fmd_init() argument
569 (spu2_mode << SPU2_CIPH_MODE_SHIFT); in spu2_fmd_init()
1131 enum spu2_cipher_mode spu2_mode; in spu2_cipher_req_init() local
1143 cipher_parms->type, &spu2_type, &spu2_mode); in spu2_cipher_req_init()
1149 spu2_ciph_mode_name(spu2_mode)); in spu2_cipher_req_init()
1153 err = spu2_fmd_init(fmd, spu2_type, spu2_mode, cipher_parms->key_len, in spu2_cipher_req_init()