Lines Matching refs:p1
491 static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
496 if ((p1 >= RSA_PKCS1_PADDING) && (p1 <= RSA_PKCS1_PSS_PADDING)) {
497 if (!check_padding_md(rctx->md, p1))
499 if (p1 == RSA_PKCS1_PSS_PADDING) {
506 if (p1 == RSA_PKCS1_OAEP_PADDING) {
512 rctx->pad_mode = p1;
533 if (p1 < -2)
535 rctx->saltlen = p1;
540 if (p1 < 256) {
544 rctx->nbits = p1;
599 if (p2 && p1 > 0) {
601 rctx->oaep_labellen = p1;