Lines Matching refs:good

178     unsigned int good, found_zero_byte, mask;  in RSA_padding_check_PKCS1_type_2()  local
210 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2()
211 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2()
228 good &= constant_time_ge(zero_index, 2 + 8); in RSA_padding_check_PKCS1_type_2()
240 good &= constant_time_ge(tlen, mlen); in RSA_padding_check_PKCS1_type_2()
260 mask = good & constant_time_lt(i, mlen); in RSA_padding_check_PKCS1_type_2()
272 err_clear_last_constant_time(1 & good); in RSA_padding_check_PKCS1_type_2()
275 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_type_2()
411 unsigned int good, found_zero_byte; in ossl_rsa_padding_check_PKCS1_type_2() local
469 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2()
470 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2()
486 good &= constant_time_ge(zero_index, 2 + 8); in ossl_rsa_padding_check_PKCS1_type_2()
499 good &= constant_time_ge(tlen, num - msg_index); in ossl_rsa_padding_check_PKCS1_type_2()
501 msg_index = constant_time_select_int(good, msg_index, synth_msg_index); in ossl_rsa_padding_check_PKCS1_type_2()
511 to[j] = constant_time_select_8(good, from[i], synthetic[i]); in ossl_rsa_padding_check_PKCS1_type_2()
553 unsigned int i, good, version_good; in ossl_rsa_padding_check_PKCS1_type_2_TLS() local
576 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
577 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
581 good &= ~constant_time_is_zero_8(from[i]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
582 good &= constant_time_is_zero_8(from[flen - SSL_MAX_MASTER_KEY_LENGTH - 1]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
622 good &= version_good; in ossl_rsa_padding_check_PKCS1_type_2_TLS()
631 constant_time_select_8(good, in ossl_rsa_padding_check_PKCS1_type_2_TLS()