Lines Matching refs:SET
153 NONE = 0, GET = 1, SET = 2 enumerator
459 if (ctx->action_type == SET) { in default_fixup_args()
547 if (ctx->action_type != SET) { in default_fixup_args()
613 if (state == PRE_PARAMS_TO_CTRL && ctx->action_type == SET) { in default_fixup_args()
765 } else if (state == PRE_CTRL_TO_PARAMS && ctx->action_type == SET) { in fix_cipher_md()
791 } else if (state == PRE_PARAMS_TO_CTRL && ctx->action_type == SET) { in fix_cipher_md()
876 ctx->action_type = SET; in fix_kdf_type()
883 if ((state == PRE_CTRL_TO_PARAMS && ctx->action_type == SET) in fix_kdf_type()
902 || (state == PRE_PARAMS_TO_CTRL && ctx->action_type == SET)) { in fix_kdf_type()
958 if ((state == PRE_CTRL_TO_PARAMS && ctx->action_type == SET) in fix_oid()
976 if ((state == PRE_PARAMS_TO_CTRL && ctx->action_type == SET) in fix_oid()
1002 if (ctx->action_type != SET) in fix_dh_nid()
1028 if (ctx->action_type != SET) in fix_dh_nid5114()
1072 if (ctx->action_type != SET) in fix_dh_paramgen_type()
1098 if (ctx->action_type != SET) in fix_ec_param_enc()
1147 if (ctx->action_type != SET) in fix_ec_paramgen_curve_nid()
1204 ctx->action_type = SET; in fix_ecdh_cofactor()
1206 ctx->action_type = SET; in fix_ecdh_cofactor()
1218 if (state == PRE_CTRL_TO_PARAMS && ctx->action_type == SET) { in fix_ecdh_cofactor()
1280 } else if (state == PRE_CTRL_TO_PARAMS && ctx->action_type == SET) { in fix_rsa_padding_mode()
1344 if ((ctx->action_type == SET && state == PRE_PARAMS_TO_CTRL) in fix_rsa_padding_mode()
1401 } else if ((ctx->action_type == SET && state == PRE_CTRL_TO_PARAMS) in fix_rsa_pss_saltlen()
1423 if ((ctx->action_type == SET && state == PRE_PARAMS_TO_CTRL) in fix_rsa_pss_saltlen()
1465 if ((ctx->action_type == SET && state == PRE_CTRL_TO_PARAMS) in fix_hkdf_mode()
1482 if ((ctx->action_type == SET && state == PRE_PARAMS_TO_CTRL) in fix_hkdf_mode()
2080 { SET, -1, -1, EVP_PKEY_OP_TYPE_SIG,
2103 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_DERIVE,
2109 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_DERIVE,
2115 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_DERIVE,
2121 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_DERIVE,
2129 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN,
2132 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN,
2135 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2138 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2143 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2146 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2149 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2152 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2157 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2162 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN,
2166 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_DERIVE,
2174 { SET, EVP_PKEY_DSA, 0, EVP_PKEY_OP_PARAMGEN,
2177 { SET, EVP_PKEY_DSA, 0, EVP_PKEY_OP_PARAMGEN,
2180 { SET, EVP_PKEY_DSA, 0, EVP_PKEY_OP_PARAMGEN,
2188 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2191 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2206 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2212 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2218 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_DERIVE,
2229 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2232 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2247 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2253 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2259 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_DERIVE,
2276 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
2285 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
2300 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_TYPE_SIG,
2309 { SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
2321 { SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
2328 { SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
2334 { SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
2337 { SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
2340 { SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
2343 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
2346 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
2349 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
2357 { SET, -1, -1, EVP_PKEY_OP_TYPE_SIG,
2365 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2368 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2371 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2379 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2382 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2385 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2388 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2391 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2399 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2402 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2405 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2408 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2411 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2414 { SET, -1, -1, EVP_PKEY_OP_DERIVE,
2418 { SET, -1, -1, EVP_PKEY_OP_KEYGEN | EVP_PKEY_OP_TYPE_CRYPT,
2421 { SET, -1, -1, EVP_PKEY_OP_KEYGEN,
2425 { SET, -1, -1, EVP_PKEY_OP_TYPE_SIG,
2436 { SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_KEYGEN, -1, NULL, NULL,
2438 { SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_PARAMGEN, -1, NULL, NULL,
2440 { SET, EVP_PKEY_X448, EVP_PKEY_X448, EVP_PKEY_OP_KEYGEN, -1, NULL, NULL,
2442 { SET, EVP_PKEY_X448, EVP_PKEY_X448, EVP_PKEY_OP_PARAMGEN, -1, NULL, NULL,
2640 && item->action_type != SET) in lookup_translation()
2754 case SET: in evp_pkey_ctx_ctrl_to_param()
2788 tmpl.action_type = SET; in evp_pkey_ctx_ctrl_str_to_param()
2802 ctx.action_type = SET; in evp_pkey_ctx_ctrl_str_to_param()
2823 case SET: in evp_pkey_ctx_ctrl_str_to_param()
2898 return evp_pkey_ctx_setget_params_to_ctrl(ctx, SET, (OSSL_PARAM *)params); in evp_pkey_ctx_set_params_to_ctrl()