Lines Matching refs:ca_list
851 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() argument
871 ca_curr = ca_list; in ssl_cipher_collect_aliases()
1105 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr() argument
1205 while (ca_list[j]) in ssl_cipher_process_rulestr()
1207 if (!strncmp(buf, ca_list[j]->name, buflen) && in ssl_cipher_process_rulestr()
1208 (ca_list[j]->name[buflen] == '\0')) in ssl_cipher_process_rulestr()
1220 if (ca_list[j]->algorithm_mkey) in ssl_cipher_process_rulestr()
1224 alg_mkey &= ca_list[j]->algorithm_mkey; in ssl_cipher_process_rulestr()
1228 alg_mkey = ca_list[j]->algorithm_mkey; in ssl_cipher_process_rulestr()
1231 if (ca_list[j]->algorithm_auth) in ssl_cipher_process_rulestr()
1235 alg_auth &= ca_list[j]->algorithm_auth; in ssl_cipher_process_rulestr()
1239 alg_auth = ca_list[j]->algorithm_auth; in ssl_cipher_process_rulestr()
1242 if (ca_list[j]->algorithm_enc) in ssl_cipher_process_rulestr()
1246 alg_enc &= ca_list[j]->algorithm_enc; in ssl_cipher_process_rulestr()
1250 alg_enc = ca_list[j]->algorithm_enc; in ssl_cipher_process_rulestr()
1253 if (ca_list[j]->algorithm_mac) in ssl_cipher_process_rulestr()
1257 alg_mac &= ca_list[j]->algorithm_mac; in ssl_cipher_process_rulestr()
1261 alg_mac = ca_list[j]->algorithm_mac; in ssl_cipher_process_rulestr()
1264 if (ca_list[j]->algo_strength & SSL_EXP_MASK) in ssl_cipher_process_rulestr()
1268 algo_strength &= (ca_list[j]->algo_strength & SSL_EXP_MASK) | ~SSL_EXP_MASK; in ssl_cipher_process_rulestr()
1272 algo_strength |= ca_list[j]->algo_strength & SSL_EXP_MASK; in ssl_cipher_process_rulestr()
1275 if (ca_list[j]->algo_strength & SSL_STRONG_MASK) in ssl_cipher_process_rulestr()
1279 algo_strength &= (ca_list[j]->algo_strength & SSL_STRONG_MASK) | ~SSL_STRONG_MASK; in ssl_cipher_process_rulestr()
1283 algo_strength |= ca_list[j]->algo_strength & SSL_STRONG_MASK; in ssl_cipher_process_rulestr()
1286 if (ca_list[j]->valid) in ssl_cipher_process_rulestr()
1291 cipher_id = ca_list[j]->id; in ssl_cipher_process_rulestr()
1298 if (ca_list[j]->algorithm_ssl) in ssl_cipher_process_rulestr()
1302 alg_ssl &= ca_list[j]->algorithm_ssl; in ssl_cipher_process_rulestr()
1306 alg_ssl = ca_list[j]->algorithm_ssl; in ssl_cipher_process_rulestr()
1363 const SSL_CIPHER **ca_list = NULL; in STACK_OF() local
1450 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max); in STACK_OF()
1451 if (ca_list == NULL) in STACK_OF()
1457 ssl_cipher_collect_aliases(ca_list, num_of_group_aliases, in STACK_OF()
1470 &head, &tail, ca_list); in STACK_OF()
1477 ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list); in STACK_OF()
1479 OPENSSL_free((void *)ca_list); /* Not needed anymore */ in STACK_OF()