Lines Matching refs:p1
247 static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_ec_ctrl() argument
253 group = EC_GROUP_new_by_curve_name(p1); in pkey_ec_ctrl()
267 EC_GROUP_set_asn1_flag(dctx->gen_group, p1); in pkey_ec_ctrl()
272 if (p1 == -2) { in pkey_ec_ctrl()
279 } else if (p1 < -1 || p1 > 1) in pkey_ec_ctrl()
281 dctx->cofactor_mode = p1; in pkey_ec_ctrl()
282 if (p1 != -1) { in pkey_ec_ctrl()
303 if (p1) in pkey_ec_ctrl()
315 if (p1 == -2) in pkey_ec_ctrl()
317 if (p1 != EVP_PKEY_ECDH_KDF_NONE && p1 != EVP_PKEY_ECDH_KDF_X9_63) in pkey_ec_ctrl()
319 dctx->kdf_type = p1; in pkey_ec_ctrl()
331 if (p1 <= 0) in pkey_ec_ctrl()
333 dctx->kdf_outlen = (size_t)p1; in pkey_ec_ctrl()
344 dctx->kdf_ukmlen = p1; in pkey_ec_ctrl()