Lines Matching refs:ciphers
914 STACK_OF(SSL_CIPHER) *ciphers = NULL;
1155 if (ssl_bytes_to_cipher_list(s, p, i, &(ciphers)) == NULL) {
1166 fprintf(stderr, "client sent %d ciphers\n",
1167 sk_SSL_CIPHER_num(ciphers));
1169 for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) {
1170 c = sk_SSL_CIPHER_value(ciphers, i);
1173 i, sk_SSL_CIPHER_num(ciphers), SSL_CIPHER_get_name(c));
1186 && (sk_SSL_CIPHER_num(ciphers) == 1)) {
1194 c = sk_SSL_CIPHER_value(ciphers, 0);
1264 &s->session->master_key_length, ciphers,
1268 s->session->ciphers = ciphers;
1271 ciphers = NULL;
1277 session->ciphers,
1294 s->cipher_list = sk_SSL_CIPHER_dup(s->session->ciphers);
1295 s->cipher_list_by_id = sk_SSL_CIPHER_dup(s->session->ciphers);
1377 * Given s->session->ciphers and SSL_get_ciphers, we must pick a cipher
1386 if (s->session->ciphers != NULL)
1387 sk_SSL_CIPHER_free(s->session->ciphers);
1388 s->session->ciphers = ciphers;
1389 if (ciphers == NULL) {
1394 ciphers = NULL;
1414 c = ssl3_choose_cipher(s, s->session->ciphers, SSL_get_ciphers(s));
1430 sk = s->session->ciphers;
1457 * cipher_list - our prefered list of ciphers
1458 * ciphers - the clients prefered list of ciphers
1482 if (ciphers != NULL)
1483 sk_SSL_CIPHER_free(ciphers);