Home
last modified time | relevance | path

Searched refs:maskedDBLen (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pss.c44 int hLen, maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local
97 maskedDBLen = emLen - hLen - 1; in RSA_verify_PKCS1_PSS_mgf1()
98 H = EM + maskedDBLen; in RSA_verify_PKCS1_PSS_mgf1()
99 DB = OPENSSL_malloc(maskedDBLen); in RSA_verify_PKCS1_PSS_mgf1()
104 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) in RSA_verify_PKCS1_PSS_mgf1()
106 for (i = 0; i < maskedDBLen; i++) in RSA_verify_PKCS1_PSS_mgf1()
110 for (i = 0; DB[i] == 0 && i < (maskedDBLen - 1); i++) ; in RSA_verify_PKCS1_PSS_mgf1()
115 if (sLen != RSA_PSS_SALTLEN_AUTO && (maskedDBLen - i) != sLen) { in RSA_verify_PKCS1_PSS_mgf1()
118 maskedDBLen - i); in RSA_verify_PKCS1_PSS_mgf1()
125 if (maskedDBLen - i) { in RSA_verify_PKCS1_PSS_mgf1()
[all …]