Lines Matching refs:dblen
174 int i, dblen = 0, mlen = -1, one_index = 0, msg_index; in RSA_padding_check_PKCS1_OAEP_mgf1() local
226 dblen = num - mdlen - 1; in RSA_padding_check_PKCS1_OAEP_mgf1()
227 db = OPENSSL_malloc(dblen); in RSA_padding_check_PKCS1_OAEP_mgf1()
258 if (PKCS1_MGF1(seed, mdlen, maskeddb, dblen, mgf1md)) in RSA_padding_check_PKCS1_OAEP_mgf1()
263 if (PKCS1_MGF1(db, dblen, seed, mdlen, mgf1md)) in RSA_padding_check_PKCS1_OAEP_mgf1()
265 for (i = 0; i < dblen; i++) in RSA_padding_check_PKCS1_OAEP_mgf1()
274 for (i = mdlen; i < dblen; i++) { in RSA_padding_check_PKCS1_OAEP_mgf1()
294 mlen = dblen - msg_index; in RSA_padding_check_PKCS1_OAEP_mgf1()
311 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
312 dblen - mdlen - 1, tlen); in RSA_padding_check_PKCS1_OAEP_mgf1()
313 for (msg_index = 1; msg_index < dblen - mdlen - 1; msg_index <<= 1) { in RSA_padding_check_PKCS1_OAEP_mgf1()
314 mask = ~constant_time_eq(msg_index & (dblen - mdlen - 1 - mlen), 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
315 for (i = mdlen + 1; i < dblen - msg_index; i++) in RSA_padding_check_PKCS1_OAEP_mgf1()
337 OPENSSL_clear_free(db, dblen); in RSA_padding_check_PKCS1_OAEP_mgf1()