Searched refs:cipher_index (Results 1 – 2 of 2) sorted by relevance
479 size_t cipher_index; in ssl3_choose_cipher() local518 if (ok && sk_SSL_CIPHER_find(allow, &cipher_index, c)) { in ssl3_choose_cipher()522 if (group_min == -1 || (size_t)group_min > cipher_index) { in ssl3_choose_cipher()523 group_min = cipher_index; in ssl3_choose_cipher()526 if (group_min != -1 && (size_t)group_min < cipher_index) { in ssl3_choose_cipher()527 cipher_index = group_min; in ssl3_choose_cipher()529 ret = sk_SSL_CIPHER_value(allow, cipher_index); in ssl3_choose_cipher()
426 int cipher_index = 0; in cipher_array_bits_per_second() local439 cipher_index = (*((uint32_t *)enc_buf)) % num_cipher; in cipher_array_bits_per_second()442 cipher_set_iv(cipher_array[cipher_index], &nonce); in cipher_array_bits_per_second()443 cipher_encrypt(cipher_array[cipher_index], enc_buf, &octets_in_buffer); in cipher_array_bits_per_second()