Lines Matching refs:kExtensions
2844 static const struct tls_extension kExtensions[] = { variable
3033 #define kNumExtensions (sizeof(kExtensions) / sizeof(struct tls_extension))
3046 if (kExtensions[i].value == value) { in tls_extension_find()
3048 return &kExtensions[i]; in tls_extension_find()
3067 if (kExtensions[i].init != NULL) { in ssl_add_clienthello_tlsext()
3068 kExtensions[i].init(hs); in ssl_add_clienthello_tlsext()
3086 if (!kExtensions[i].add_clienthello(hs, &extensions)) { in ssl_add_clienthello_tlsext()
3088 ERR_add_error_dataf("extension %u", (unsigned)kExtensions[i].value); in ssl_add_clienthello_tlsext()
3198 if (!kExtensions[i].add_serverhello(hs, &extensions)) { in ssl_add_serverhello_tlsext()
3200 ERR_add_error_dataf("extension %u", (unsigned)kExtensions[i].value); in ssl_add_serverhello_tlsext()
3222 if (kExtensions[i].init != NULL) { in ssl_scan_clienthello_tlsext()
3223 kExtensions[i].init(hs); in ssl_scan_clienthello_tlsext()
3265 if (kExtensions[i].value == TLSEXT_TYPE_renegotiate && in ssl_scan_clienthello_tlsext()
3279 if (!kExtensions[i].parse_clienthello(hs, &alert, contents)) { in ssl_scan_clienthello_tlsext()
3281 ERR_add_error_dataf("extension %u", (unsigned)kExtensions[i].value); in ssl_scan_clienthello_tlsext()
3373 if (!kExtensions[i].parse_serverhello(hs, &alert, NULL)) { in ssl_scan_serverhello_tlsext()
3375 ERR_add_error_dataf("extension %u", (unsigned)kExtensions[i].value); in ssl_scan_serverhello_tlsext()