Lines Matching defs:force_ciphersuite
254 " the use of min_version to force TLS 1.2 and force_ciphersuite \n" \
263 " the use of min_version to force TLS 1.2 and force_ciphersuite \n" \
579 " force_ciphersuite=<name> default: all enabled\n" \
642 int force_ciphersuite[2]; /* protocol/ciphersuite to use, or all */
1720 opt.force_ciphersuite[0] = DFL_FORCE_CIPHER;
1970 else if (strcmp(p, "force_ciphersuite") == 0) {
1971 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id(q);
1973 if (opt.force_ciphersuite[0] == 0) {
1977 opt.force_ciphersuite[1] = 0;
2350 if (opt.force_ciphersuite[0] <= 0) {
2352 "opaque PSKs are only supported in conjunction with forcing TLS 1.2 and a PSK-only ciphersuite through the 'force_ciphersuite' option.\n");
2365 if (opt.force_ciphersuite[0] <= 0) {
2367 "opaque PSKs are only supported in conjunction with forcing TLS 1.2 and a PSK-only ciphersuite through the 'force_ciphersuite' option.\n");
2374 if (opt.force_ciphersuite[0] > 0) {
2377 mbedtls_ssl_ciphersuite_from_id(opt.force_ciphersuite[0]);
3036 if (opt.force_ciphersuite[0] != DFL_FORCE_CIPHER) {
3037 mbedtls_ssl_conf_ciphersuites(&conf, opt.force_ciphersuite);