Lines Matching refs:hLen
499 size_t hLen; in RSA_verify_PKCS1_PSS_mgf1() local
510 hLen = EVP_MD_size(Hash); in RSA_verify_PKCS1_PSS_mgf1()
517 sLen = hLen; in RSA_verify_PKCS1_PSS_mgf1()
535 if (emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()
544 maskedDBLen = emLen - hLen - 1; in RSA_verify_PKCS1_PSS_mgf1()
551 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) { in RSA_verify_PKCS1_PSS_mgf1()
573 !EVP_DigestUpdate(&ctx, mHash, hLen)) { in RSA_verify_PKCS1_PSS_mgf1()
584 if (memcmp(H_, H, hLen)) { in RSA_verify_PKCS1_PSS_mgf1()
605 size_t hLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
613 hLen = EVP_MD_size(Hash); in RSA_padding_add_PKCS1_PSS_mgf1()
620 sLen = hLen; in RSA_padding_add_PKCS1_PSS_mgf1()
641 if (emLen < hLen + 2) { in RSA_padding_add_PKCS1_PSS_mgf1()
645 sLen = emLen - hLen - 2; in RSA_padding_add_PKCS1_PSS_mgf1()
646 } else if (emLen < hLen + sLen + 2) { in RSA_padding_add_PKCS1_PSS_mgf1()
660 maskedDBLen = emLen - hLen - 1; in RSA_padding_add_PKCS1_PSS_mgf1()
665 !EVP_DigestUpdate(&ctx, mHash, hLen)) { in RSA_padding_add_PKCS1_PSS_mgf1()
677 if (PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash)) { in RSA_padding_add_PKCS1_PSS_mgf1()
686 p += emLen - sLen - hLen - 2; in RSA_padding_add_PKCS1_PSS_mgf1()