Lines Matching refs:tmpl

2588 lookup_translation(struct translation_st *tmpl,  in lookup_translation()  argument
2611 if (item->optype != -1 && (tmpl->optype & item->optype) == 0) in lookup_translation()
2618 && tmpl->keytype1 != item->keytype1 in lookup_translation()
2619 && tmpl->keytype2 != item->keytype2) in lookup_translation()
2627 if (tmpl->ctrl_num != 0) { in lookup_translation()
2628 if (tmpl->ctrl_num != item->ctrl_num) in lookup_translation()
2630 } else if (tmpl->ctrl_str != NULL) { in lookup_translation()
2647 && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0) in lookup_translation()
2648 ctrl_str = tmpl->ctrl_str; in lookup_translation()
2650 && OPENSSL_strcasecmp(tmpl->ctrl_hexstr, in lookup_translation()
2652 ctrl_hexstr = tmpl->ctrl_hexstr; in lookup_translation()
2657 tmpl->ctrl_str = ctrl_str; in lookup_translation()
2658 tmpl->ctrl_hexstr = ctrl_hexstr; in lookup_translation()
2659 } else if (tmpl->param_key != NULL) { in lookup_translation()
2677 && tmpl->action_type != item->action_type) in lookup_translation()
2679 && OPENSSL_strcasecmp(tmpl->param_key, in lookup_translation()
2693 lookup_evp_pkey_ctx_translation(struct translation_st *tmpl) in lookup_evp_pkey_ctx_translation() argument
2695 return lookup_translation(tmpl, evp_pkey_ctx_translations, in lookup_evp_pkey_ctx_translation()
2700 lookup_evp_pkey_translation(struct translation_st *tmpl) in lookup_evp_pkey_translation() argument
2702 return lookup_translation(tmpl, evp_pkey_translations, in lookup_evp_pkey_translation()
2712 struct translation_st tmpl = { 0, }; in evp_pkey_ctx_ctrl_to_param() local
2720 tmpl.ctrl_num = cmd; in evp_pkey_ctx_ctrl_to_param()
2721 tmpl.keytype1 = tmpl.keytype2 = keytype; in evp_pkey_ctx_ctrl_to_param()
2722 tmpl.optype = optype; in evp_pkey_ctx_ctrl_to_param()
2723 translation = lookup_evp_pkey_ctx_translation(&tmpl); in evp_pkey_ctx_ctrl_to_param()
2780 struct translation_st tmpl = { 0, }; in evp_pkey_ctx_ctrl_str_to_param() local
2788 tmpl.action_type = SET; in evp_pkey_ctx_ctrl_str_to_param()
2789 tmpl.keytype1 = tmpl.keytype2 = keytype; in evp_pkey_ctx_ctrl_str_to_param()
2790 tmpl.optype = optype; in evp_pkey_ctx_ctrl_str_to_param()
2791 tmpl.ctrl_str = name; in evp_pkey_ctx_ctrl_str_to_param()
2792 tmpl.ctrl_hexstr = name; in evp_pkey_ctx_ctrl_str_to_param()
2793 translation = lookup_evp_pkey_ctx_translation(&tmpl); in evp_pkey_ctx_ctrl_str_to_param()
2799 ctx.ishex = (tmpl.ctrl_hexstr != NULL); in evp_pkey_ctx_ctrl_str_to_param()
2847 struct translation_st tmpl = { 0, }; in evp_pkey_ctx_setget_params_to_ctrl() local
2852 ctx.action_type = tmpl.action_type = action_type; in evp_pkey_ctx_setget_params_to_ctrl()
2853 tmpl.keytype1 = tmpl.keytype2 = keytype; in evp_pkey_ctx_setget_params_to_ctrl()
2854 tmpl.optype = optype; in evp_pkey_ctx_setget_params_to_ctrl()
2855 tmpl.param_key = params->key; in evp_pkey_ctx_setget_params_to_ctrl()
2856 translation = lookup_evp_pkey_ctx_translation(&tmpl); in evp_pkey_ctx_setget_params_to_ctrl()
2915 struct translation_st tmpl = { 0, }; in evp_pkey_setget_params_to_ctrl() local
2919 tmpl.action_type = action_type; in evp_pkey_setget_params_to_ctrl()
2920 tmpl.param_key = params->key; in evp_pkey_setget_params_to_ctrl()
2921 translation = lookup_evp_pkey_translation(&tmpl); in evp_pkey_setget_params_to_ctrl()