Lines Matching refs:idx
80 static int test_record_overflow(int idx) in test_record_overflow() argument
93 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow()
94 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK) in test_record_overflow()
99 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow()
100 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) in test_record_overflow()
110 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow()
111 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK) { in test_record_overflow()
117 } else if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow()
118 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) { in test_record_overflow()
128 if (idx == TEST_PLAINTEXT_OVERFLOW_OK in test_record_overflow()
129 || idx == TEST_PLAINTEXT_OVERFLOW_NOT_OK) { in test_record_overflow()
132 if (idx == TEST_PLAINTEXT_OVERFLOW_NOT_OK) in test_record_overflow()
142 overf_expected = (idx == TEST_PLAINTEXT_OVERFLOW_OK) ? 0 : 1; in test_record_overflow()
153 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK in test_record_overflow()
154 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) { in test_record_overflow()