Lines Matching refs:SSL_MAX_MASTER_KEY_LENGTH
554 unsigned char rand_premaster_secret[SSL_MAX_MASTER_KEY_LENGTH]; in ossl_rsa_padding_check_PKCS1_type_2_TLS()
560 if (flen < RSA_PKCS1_PADDING_SIZE + SSL_MAX_MASTER_KEY_LENGTH in ossl_rsa_padding_check_PKCS1_type_2_TLS()
561 || tlen < SSL_MAX_MASTER_KEY_LENGTH) { in ossl_rsa_padding_check_PKCS1_type_2_TLS()
580 for (i = 2; i < flen - SSL_MAX_MASTER_KEY_LENGTH - 1; 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()
594 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
597 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
614 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
617 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
629 for (i = 0; i < SSL_MAX_MASTER_KEY_LENGTH; i++) { in ossl_rsa_padding_check_PKCS1_type_2_TLS()
632 from[flen - SSL_MAX_MASTER_KEY_LENGTH + i], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
645 return SSL_MAX_MASTER_KEY_LENGTH; in ossl_rsa_padding_check_PKCS1_type_2_TLS()