Lines Matching refs:flow_mode

49 	int flow_mode;  member
73 switch (ctx_p->flow_mode) { in validate_keys_sizes()
110 switch (ctx_p->flow_mode) { in validate_data_size()
168 ctx_p->flow_mode = cc_alg->flow_mode; in cc_cipher_init()
338 if (ctx_p->flow_mode == S_DIN_to_SM4) { in cc_cipher_sethkey()
384 if (ctx_p->flow_mode == S_DIN_to_AES) in cc_cipher_sethkey()
453 if (ctx_p->flow_mode == S_DIN_to_DES) { in cc_cipher_setkey()
498 switch (ctx_p->flow_mode) { in cc_out_setup_mode()
506 return ctx_p->flow_mode; in cc_out_setup_mode()
518 int flow_mode = cc_out_setup_mode(ctx_p); in cc_setup_readiv_desc() local
536 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_readiv_desc()
554 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_readiv_desc()
575 int flow_mode = ctx_p->flow_mode; in cc_setup_state_desc() local
591 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_state_desc()
619 int flow_mode = ctx_p->flow_mode; in cc_setup_xex_state_desc() local
664 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_xex_state_desc()
676 switch (ctx_p->flow_mode) { in cc_out_flow_mode()
684 return ctx_p->flow_mode; in cc_out_flow_mode()
696 int flow_mode = ctx_p->flow_mode; in cc_setup_key_desc() local
717 flow_mode = cc_out_flow_mode(ctx_p); in cc_setup_key_desc()
719 if (flow_mode == S_DIN_to_AES) { in cc_setup_key_desc()
744 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_key_desc()
761 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_key_desc()
805 unsigned int flow_mode = cc_out_flow_mode(ctx_p); in cc_setup_flow_desc() local
823 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_flow_desc()
853 set_flow_mode(&desc[*seq_size], flow_mode); in cc_setup_flow_desc()
1023 .flow_mode = S_DIN_to_AES,
1041 .flow_mode = S_DIN_to_AES,
1059 .flow_mode = S_DIN_to_AES,
1077 .flow_mode = S_DIN_to_AES,
1095 .flow_mode = S_DIN_to_AES,
1113 .flow_mode = S_DIN_to_AES,
1131 .flow_mode = S_DIN_to_AES,
1153 .flow_mode = S_DIN_to_AES,
1170 .flow_mode = S_DIN_to_AES,
1187 .flow_mode = S_DIN_to_AES,
1204 .flow_mode = S_DIN_to_AES,
1221 .flow_mode = S_DIN_to_AES,
1238 .flow_mode = S_DIN_to_AES,
1255 .flow_mode = S_DIN_to_AES,
1272 .flow_mode = S_DIN_to_DES,
1289 .flow_mode = S_DIN_to_DES,
1306 .flow_mode = S_DIN_to_DES,
1323 .flow_mode = S_DIN_to_DES,
1340 .flow_mode = S_DIN_to_SM4,
1357 .flow_mode = S_DIN_to_SM4,
1374 .flow_mode = S_DIN_to_SM4,
1391 .flow_mode = S_DIN_to_SM4,
1409 .flow_mode = S_DIN_to_SM4,
1444 t_alg->flow_mode = tmpl->flow_mode; in cc_create_alg()