Lines Matching refs:cipher

2614     char *cipher;  in http_cgi_ssl_env()  local
2617 if (SSL_SecurityStatus(ssl, NULL, &cipher, &algkeysize, &usekeysize, in http_cgi_ssl_env()
2621 if (cipher) { in http_cgi_ssl_env()
2622 n = strlen(cipher); in http_cgi_ssl_env()
2623 http_header_env_set(r, CONST_STR_LEN("SSL_CIPHER"), cipher, n); in http_cgi_ssl_env()
2624 PR_Free(cipher); in http_cgi_ssl_env()
3152 char * cipher; in parse_openssl_ciphers() local
3158 cipher = ciphers; in parse_openssl_ciphers()
3161 while ((*cipher) && (isspace(*(uint8_t *)cipher))) in parse_openssl_ciphers()
3162 ++cipher; in parse_openssl_ciphers()
3165 switch(*cipher) in parse_openssl_ciphers()
3170 cipher++; in parse_openssl_ciphers()
3174 cipher++; in parse_openssl_ciphers()
3178 cipher++; in parse_openssl_ciphers()
3185 if ((ciphers = strchr(cipher, ':'))) { in parse_openssl_ciphers()
3191 if (!strcmp(cipher, "ALL")) { in parse_openssl_ciphers()
3197 } else if (!strcmp(cipher, "COMPLEMENTOFALL")) { in parse_openssl_ciphers()
3203 } else if (!strcmp(cipher, "DEFAULT")) { in parse_openssl_ciphers()
3221 } else if (!strcmp(cipher, "COMPLEMENTOFDEFAULT")) { in parse_openssl_ciphers()
3224 } else if (!strcmp(cipher, "@STRENGTH")) { in parse_openssl_ciphers()
3243 c = cipher; in parse_openssl_ciphers()
3254 if ((c = strchr(cipher, '+'))) { in parse_openssl_ciphers()
3258 if (!strcmp(cipher, "RSA")) { in parse_openssl_ciphers()
3260 } else if (!strcmp(cipher, "kRSA")) { in parse_openssl_ciphers()
3262 } else if (!strcmp(cipher, "aRSA")) { in parse_openssl_ciphers()
3264 } else if (!strcmp(cipher, "EDH")) { in parse_openssl_ciphers()
3269 } else if (!strcmp(cipher, "DH")) { in parse_openssl_ciphers()
3276 } else if (!strcmp(cipher, "ADH")) { in parse_openssl_ciphers()
3279 } else if (!strcmp(cipher, "ECDH")) { in parse_openssl_ciphers()
3281 } else if (!strcmp(cipher, "EECDH")) { in parse_openssl_ciphers()
3285 } else if (!strcmp(cipher, "AECDH")) { in parse_openssl_ciphers()
3289 } else if (!strcmp(cipher, "kECDH")) { in parse_openssl_ciphers()
3291 } else if (!strcmp(cipher, "kECDHE")) { in parse_openssl_ciphers()
3293 } else if (!strcmp(cipher, "kECDHr")) { in parse_openssl_ciphers()
3295 } else if (!strcmp(cipher, "kEECDH")) { in parse_openssl_ciphers()
3297 } else if (!strcmp(cipher, "AECDH")) { in parse_openssl_ciphers()
3299 } else if (!strcmp(cipher, "ECDSA")) { in parse_openssl_ciphers()
3301 } else if (!strcmp(cipher, "aECDSA")) { in parse_openssl_ciphers()
3303 } else if ((!strcmp(cipher, "NULL")) || (!strcmp(cipher, "eNULL"))) { in parse_openssl_ciphers()
3305 } else if (!strcmp(cipher, "aNULL")) { in parse_openssl_ciphers()
3307 } else if (!strcmp(cipher, "AES")) { in parse_openssl_ciphers()
3309 } else if (!strcmp(cipher, "AESGCM")) { in parse_openssl_ciphers()
3311 } else if (!strcmp(cipher, "AES128")) { in parse_openssl_ciphers()
3313 } else if (!strcmp(cipher, "AES256")) { in parse_openssl_ciphers()
3315 } else if (!strcmp(cipher, "CHACHA20")) { in parse_openssl_ciphers()
3317 } else if (!strcmp(cipher, "CAMELLIA")) { in parse_openssl_ciphers()
3319 } else if (!strcmp(cipher, "CAMELLIA128")) { in parse_openssl_ciphers()
3321 } else if (!strcmp(cipher, "CAMELLIA256")) { in parse_openssl_ciphers()
3323 } else if (!strcmp(cipher, "3DES")) { in parse_openssl_ciphers()
3325 } else if (!strcmp(cipher, "DES")) { in parse_openssl_ciphers()
3327 } else if (!strcmp(cipher, "RC4")) { in parse_openssl_ciphers()
3329 } else if (!strcmp(cipher, "RC2")) { in parse_openssl_ciphers()
3331 } else if (!strcmp(cipher, "MD5")) { in parse_openssl_ciphers()
3333 } else if ((!strcmp(cipher, "SHA")) || (!strcmp(cipher, "SHA1"))) { in parse_openssl_ciphers()
3335 } else if (!strcmp(cipher, "SHA256")) { in parse_openssl_ciphers()
3337 } else if (!strcmp(cipher, "SHA384")) { in parse_openssl_ciphers()
3339 } else if (!strcmp(cipher, "SSLv2")) { in parse_openssl_ciphers()
3341 } else if (!strcmp(cipher, "SSLv3")) { in parse_openssl_ciphers()
3343 } else if (!strcmp(cipher, "TLSv1")) { in parse_openssl_ciphers()
3345 } else if (!strcmp(cipher, "TLSv1.2")) { in parse_openssl_ciphers()
3347 } else if (!strcmp(cipher, "TLSv1.3")) { in parse_openssl_ciphers()
3349 } else if (!strcmp(cipher, "HIGH")) { in parse_openssl_ciphers()
3351 } else if (!strcmp(cipher, "MEDIUM")) { in parse_openssl_ciphers()
3353 } else if (!strcmp(cipher, "LOW")) { in parse_openssl_ciphers()
3355 } else if ((!strcmp(cipher, "EXPORT")) || (!strcmp(cipher, "EXP"))) { in parse_openssl_ciphers()
3357 } else if (!strcmp(cipher, "EXPORT40")) { in parse_openssl_ciphers()
3359 } else if (!strcmp(cipher, "EXPORT56")) { in parse_openssl_ciphers()
3364 cipher = c; in parse_openssl_ciphers()
3404 } else if (!strcmp(cipher, "FIPS")) { in parse_openssl_ciphers()
3415 if (!strcmp(ciphers_def[i].openssl_name, cipher)) in parse_openssl_ciphers()
3433 cipher = ciphers; in parse_openssl_ciphers()
3445 char * cipher; in parse_nss_ciphers() local
3449 cipher = ciphers; in parse_nss_ciphers()
3453 while ((*cipher) && (isspace(*(uint8_t *)cipher))) in parse_nss_ciphers()
3454 ++cipher; in parse_nss_ciphers()
3456 switch(*cipher++) in parse_nss_ciphers()
3466 … "invalid cipher string %s. Format is +cipher1,-cipher2...", cipher - 1); in parse_nss_ciphers()
3470 if ((ciphers = strchr(cipher, ','))) { in parse_nss_ciphers()
3478 if (!strcasecmp(cipher, ciphers_def[i].name)) in parse_nss_ciphers()
3484 (!strcasecmp(cipher, ciphers_def[i].alias))) in parse_nss_ciphers()
3490 cipher, ciphers_def[i].name); in parse_nss_ciphers()
3497 "Unknown cipher %s\n", cipher); in parse_nss_ciphers()
3501 cipher = ciphers; in parse_nss_ciphers()