Lines Matching refs:ca_list
850 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() argument
870 ca_curr = ca_list; in ssl_cipher_collect_aliases()
1104 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr() argument
1204 while (ca_list[j]) in ssl_cipher_process_rulestr()
1206 if (!strncmp(buf, ca_list[j]->name, buflen) && in ssl_cipher_process_rulestr()
1207 (ca_list[j]->name[buflen] == '\0')) in ssl_cipher_process_rulestr()
1219 if (ca_list[j]->algorithm_mkey) in ssl_cipher_process_rulestr()
1223 alg_mkey &= ca_list[j]->algorithm_mkey; in ssl_cipher_process_rulestr()
1227 alg_mkey = ca_list[j]->algorithm_mkey; in ssl_cipher_process_rulestr()
1230 if (ca_list[j]->algorithm_auth) in ssl_cipher_process_rulestr()
1234 alg_auth &= ca_list[j]->algorithm_auth; in ssl_cipher_process_rulestr()
1238 alg_auth = ca_list[j]->algorithm_auth; in ssl_cipher_process_rulestr()
1241 if (ca_list[j]->algorithm_enc) in ssl_cipher_process_rulestr()
1245 alg_enc &= ca_list[j]->algorithm_enc; in ssl_cipher_process_rulestr()
1249 alg_enc = ca_list[j]->algorithm_enc; in ssl_cipher_process_rulestr()
1252 if (ca_list[j]->algorithm_mac) in ssl_cipher_process_rulestr()
1256 alg_mac &= ca_list[j]->algorithm_mac; in ssl_cipher_process_rulestr()
1260 alg_mac = ca_list[j]->algorithm_mac; in ssl_cipher_process_rulestr()
1263 if (ca_list[j]->algo_strength & SSL_EXP_MASK) in ssl_cipher_process_rulestr()
1267 algo_strength &= (ca_list[j]->algo_strength & SSL_EXP_MASK) | ~SSL_EXP_MASK; in ssl_cipher_process_rulestr()
1271 algo_strength |= ca_list[j]->algo_strength & SSL_EXP_MASK; in ssl_cipher_process_rulestr()
1274 if (ca_list[j]->algo_strength & SSL_STRONG_MASK) in ssl_cipher_process_rulestr()
1278 algo_strength &= (ca_list[j]->algo_strength & SSL_STRONG_MASK) | ~SSL_STRONG_MASK; in ssl_cipher_process_rulestr()
1282 algo_strength |= ca_list[j]->algo_strength & SSL_STRONG_MASK; in ssl_cipher_process_rulestr()
1285 if (ca_list[j]->valid) in ssl_cipher_process_rulestr()
1290 cipher_id = ca_list[j]->id; in ssl_cipher_process_rulestr()
1297 if (ca_list[j]->algorithm_ssl) in ssl_cipher_process_rulestr()
1301 alg_ssl &= ca_list[j]->algorithm_ssl; in ssl_cipher_process_rulestr()
1305 alg_ssl = ca_list[j]->algorithm_ssl; in ssl_cipher_process_rulestr()
1362 const SSL_CIPHER **ca_list = NULL; in STACK_OF() local
1449 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max); in STACK_OF()
1450 if (ca_list == NULL) in STACK_OF()
1456 ssl_cipher_collect_aliases(ca_list, num_of_group_aliases, in STACK_OF()
1469 &head, &tail, ca_list); in STACK_OF()
1476 ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list); in STACK_OF()
1478 OPENSSL_free((void *)ca_list); /* Not needed anymore */ in STACK_OF()