Lines Matching defs:suite
454 * or SSL_MISS if no cipher suite of the server matches the list received
466 uint16_t suite, selected_suite;
515 /* read cipher suite length */
532 /* The length has to be even since a cipher suite is 2-byte long. */
542 suite = ssl->sid.cipher_suite;
545 uint16_t, suite,
548 /* Check for regular (true) cipher suite. */
549 if (suitesp[j] == ((suite >> 8) & 0xff) &&
550 suitesp[j + 1] == (suite & 0xff)) {
552 uint16_t, suite);
554 selected_suite = suite;
565 * If we got cipher suite match and SCSV we can
576 /* Check if this server is capable of the cipher suite. */
578 suite = ssl->kssl_entry->kssl_cipherSuites[i];
580 DTRACE_PROBE2(kssl_cipher_suite_check, uint16_t, suite,
583 /* Check for regular (true) cipher suite. */
584 if (suitesp[j] == ((suite >> 8) & 0xff) &&
585 suitesp[j + 1] == (suite & 0xff)) {
587 uint16_t, suite);
589 selected_suite = suite;
600 * If we got cipher suite match and SCSV or went
665 /* Find the suite in the internal cipher suite table. */
667 if (selected_suite == cipher_suite_defs[i].suite) {
1026 * contained either SCSV value in cipher suite list or
2085 uint16_t suite, selected_suite;
2141 suite = ssl->kssl_entry->kssl_cipherSuites[i];
2144 uint16_t, suite,
2151 /* Check for regular (true) cipher suite. */
2152 if (suitesp[j + 1] == ((suite >> 8) & 0xff) &&
2153 suitesp[j + 2] == (suite & 0xff)) {
2155 uint16_t, suite);
2157 selected_suite = suite;
2167 * If we got cipher suite match and SCSV or went
2198 if (selected_suite == cipher_suite_defs[i].suite) {