Lines Matching refs:p2
133 static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dsa_ctrl() argument
151 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_dsa_ctrl()
152 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
153 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256) { in pkey_dsa_ctrl()
157 dctx->pmd = p2; in pkey_dsa_ctrl()
161 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_dsa_ctrl()
162 EVP_MD_get_type((const EVP_MD *)p2) != NID_dsa && in pkey_dsa_ctrl()
163 EVP_MD_get_type((const EVP_MD *)p2) != NID_dsaWithSHA && in pkey_dsa_ctrl()
164 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
165 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256 && in pkey_dsa_ctrl()
166 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha384 && in pkey_dsa_ctrl()
167 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha512 && in pkey_dsa_ctrl()
168 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_224 && in pkey_dsa_ctrl()
169 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_256 && in pkey_dsa_ctrl()
170 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_384 && in pkey_dsa_ctrl()
171 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_512) { in pkey_dsa_ctrl()
175 dctx->md = p2; in pkey_dsa_ctrl()
179 *(const EVP_MD **)p2 = dctx->md; in pkey_dsa_ctrl()