Home | History | Annotate | Download | only in ssl

Lines Matching refs:ca_list

741 			if (!sk_push(ca_list,(char *)c)) goto err;
773 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list,
793 ca_curr = ca_list;
1027 const SSL_CIPHER **ca_list)
1116 * Now search for the cipher alias in the ca_list. Be careful
1128 while (ca_list[j])
1130 if (!strncmp(buf, ca_list[j]->name, buflen) &&
1131 (ca_list[j]->name[buflen] == '\0'))
1143 if (ca_list[j]->algorithm_mkey)
1147 alg_mkey &= ca_list[j]->algorithm_mkey;
1151 alg_mkey = ca_list[j]->algorithm_mkey;
1154 if (ca_list[j]->algorithm_auth)
1158 alg_auth &= ca_list[j]->algorithm_auth;
1162 alg_auth = ca_list[j]->algorithm_auth;
1165 if (ca_list[j]->algorithm_enc)
1169 alg_enc &= ca_list[j]->algorithm_enc;
1173 alg_enc = ca_list[j]->algorithm_enc;
1176 if (ca_list[j]->algorithm_mac)
1180 alg_mac &= ca_list[j]->algorithm_mac;
1184 alg_mac = ca_list[j]->algorithm_mac;
1187 if (ca_list[j]->algo_strength & SSL_EXP_MASK)
1191 algo_strength &= (ca_list[j]->algo_strength & SSL_EXP_MASK) | ~SSL_EXP_MASK;
1195 algo_strength |= ca_list[j]->algo_strength & SSL_EXP_MASK;
1198 if (ca_list[j]->algo_strength & SSL_STRONG_MASK)
1202 algo_strength &= (ca_list[j]->algo_strength & SSL_STRONG_MASK) | ~SSL_STRONG_MASK;
1206 algo_strength |= ca_list[j]->algo_strength & SSL_STRONG_MASK;
1209 if (ca_list[j]->valid)
1214 cipher_id = ca_list[j]->id;
1221 if (ca_list[j]->algorithm_ssl)
1225 alg_ssl &= ca_list[j]->algorithm_ssl;
1229 alg_ssl = ca_list[j]->algorithm_ssl;
1286 const SSL_CIPHER **ca_list = NULL;
1373 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max);
1374 if (ca_list == NULL)
1380 ssl_cipher_collect_aliases(ca_list, num_of_group_aliases,
1393 &head, &tail, ca_list);
1400 ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list);
1402 OPENSSL_free((void *)ca_list); /* Not needed anymore */