Lines Matching defs:p2
107 static int pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
125 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
126 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
127 EVP_MD_type((const EVP_MD *)p2) != NID_sha256) {
131 dctx->pmd = p2;
135 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
136 EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
137 EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA &&
138 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
139 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
140 EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
141 EVP_MD_type((const EVP_MD *)p2) != NID_sha512 &&
142 EVP_MD_type((const EVP_MD *)p2) != NID_sha3_224 &&
143 EVP_MD_type((const EVP_MD *)p2) != NID_sha3_256 &&
144 EVP_MD_type((const EVP_MD *)p2) != NID_sha3_384 &&
145 EVP_MD_type((const EVP_MD *)p2) != NID_sha3_512) {
149 dctx->md = p2;
153 *(const EVP_MD **)p2 = dctx->md;