Lines Matching defs:p2
449 pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
481 *(int *)p2 = rctx->pad_mode;
491 *(int *)p2 = rctx->saltlen;
521 if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) ||
522 BN_is_one((BIGNUM *)p2)) {
527 rctx->pub_exp = p2;
537 *(const EVP_MD **)p2 = rctx->md;
539 rctx->md = p2;
543 if (!check_padding_md(p2, rctx->pad_mode))
546 if (EVP_MD_type(rctx->md) == EVP_MD_type(p2))
551 rctx->md = p2;
555 *(const EVP_MD **)p2 = rctx->md;
567 *(const EVP_MD **)p2 = rctx->mgf1md;
569 *(const EVP_MD **)p2 = rctx->md;
572 if (EVP_MD_type(rctx->mgf1md) == EVP_MD_type(p2))
577 rctx->mgf1md = p2;
587 if (p2 != NULL && p1 > 0) {
588 rctx->oaep_label = p2;
601 *(unsigned char **)p2 = rctx->oaep_label;