Lines Matching refs:p2
247 static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_ec_ctrl() argument
323 dctx->kdf_md = p2; in pkey_ec_ctrl()
327 *(const EVP_MD **)p2 = dctx->kdf_md; in pkey_ec_ctrl()
337 *(int *)p2 = dctx->kdf_outlen; in pkey_ec_ctrl()
342 dctx->kdf_ukm = p2; in pkey_ec_ctrl()
343 if (p2) in pkey_ec_ctrl()
350 *(unsigned char **)p2 = dctx->kdf_ukm; in pkey_ec_ctrl()
354 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_ec_ctrl()
355 EVP_MD_get_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && in pkey_ec_ctrl()
356 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_ec_ctrl()
357 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl()
358 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha384 && in pkey_ec_ctrl()
359 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha512 && in pkey_ec_ctrl()
360 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_224 && in pkey_ec_ctrl()
361 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_256 && in pkey_ec_ctrl()
362 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_384 && in pkey_ec_ctrl()
363 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_512 && in pkey_ec_ctrl()
364 EVP_MD_get_type((const EVP_MD *)p2) != NID_sm3) { in pkey_ec_ctrl()
368 dctx->md = p2; in pkey_ec_ctrl()
372 *(const EVP_MD **)p2 = dctx->md; in pkey_ec_ctrl()