Lines Matching refs:saltlen
465 int saltlen;
521 saltlen = ASN1_INTEGER_get(pss->saltLength);
526 if (saltlen < 0)
533 saltlen = 20;
552 if (EVP_PKEY_CTX_set_rsa_pss_saltlen(pkctx, saltlen) <= 0)
584 int saltlen, rv = 0;
588 if (!EVP_PKEY_CTX_get_rsa_pss_saltlen(pkctx, &saltlen))
590 if (saltlen == -1)
591 saltlen = EVP_MD_size(sigmd);
592 else if (saltlen == -2)
594 saltlen = EVP_PKEY_size(pk) - EVP_MD_size(sigmd) - 2;
596 saltlen--;
601 if (saltlen != 20)
606 if (!ASN1_INTEGER_set(pss->saltLength, saltlen))