Lines Matching refs:mdsize
280 int mdsize, rsasize; in rsa_pss_compute_saltlen() local
282 if ((mdsize = EVP_MD_get_size(ctx->md)) <= 0) { in rsa_pss_compute_saltlen()
286 if ((rsasize = RSA_size(ctx->rsa)) <= 2 || rsasize - 2 < mdsize) { in rsa_pss_compute_saltlen()
290 saltlen = rsasize - mdsize - 2; in rsa_pss_compute_saltlen()
635 int mdsize = rsa_get_md_size(ctx); in rsa_pss_saltlen_check_passed() local
642 int approved = (saltlen >= 0 && saltlen <= mdsize); in rsa_pss_saltlen_check_passed()
682 size_t mdsize = rsa_get_md_size(prsactx); in rsa_sign_directly() local
698 if (mdsize != 0) { in rsa_sign_directly()
699 if (tbslen != mdsize) { in rsa_sign_directly()
1056 size_t mdsize; in rsa_verify_directly() local
1062 mdsize = rsa_get_md_size(prsactx); in rsa_verify_directly()
1063 if (tbslen != mdsize) { in rsa_verify_directly()
1066 mdsize, tbslen); in rsa_verify_directly()