Home | History | Annotate | Download | only in rsa

Lines Matching refs:hLen

489   size_t hLen;
500 hLen = EVP_MD_size(Hash);
503 * -1 sLen == hLen
507 sLen = hLen;
525 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) {
534 maskedDBLen = emLen - hLen - 1;
541 if (!PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash)) {
563 !EVP_DigestUpdate(&ctx, mHash, hLen) ||
568 if (OPENSSL_memcmp(H_, H, hLen)) {
588 size_t hLen;
595 hLen = EVP_MD_size(Hash);
610 if (emLen < hLen + 2) {
616 * -1 sLen == hLen
621 sLen = hLen;
623 sLen = emLen - hLen - 2;
631 if (emLen - hLen - 2 < sLen) {
646 maskedDBLen = emLen - hLen - 1;
653 EVP_DigestUpdate(&ctx, mHash, hLen) &&
662 if (!PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash)) {
671 p += emLen - sLen - hLen - 2;