Lines Matching defs:suite
20 * tlsv1_record_set_cipher_suite - TLS record layer: Set cipher suite
22 * @cipher_suite: New cipher suite
25 * This function is used to prepare TLS record layer for cipher suite change.
33 const struct tls_cipher_suite *suite;
36 wpa_printf(MSG_DEBUG, "TLSv1: Selected cipher suite: 0x%04x",
40 suite = tls_get_cipher_suite(cipher_suite);
41 if (suite == NULL)
44 if (suite->hash == TLS_HASH_MD5) {
47 } else if (suite->hash == TLS_HASH_SHA) {
50 } else if (suite->hash == TLS_HASH_SHA256) {
55 data = tls_get_cipher_data(suite->cipher);
72 * This function changes TLS record layer to use the new cipher suite
77 wpa_printf(MSG_DEBUG, "TLSv1: Record Layer - New write cipher suite "
106 * This function changes TLS record layer to use the new cipher suite
111 wpa_printf(MSG_DEBUG, "TLSv1: Record Layer - New read cipher suite "