Searched refs:cipher_index (Results 1 – 3 of 3) sorted by relevance
/external/libsrtp2/crypto/test/ |
D | cipher_driver.c | 531 int cipher_index = srtp_cipher_rand_u32_for_tests() % num_cipher; in cipher_array_bits_per_second() local 548 srtp_cipher_set_iv(cipher_array[cipher_index], (uint8_t *)&nonce, in cipher_array_bits_per_second() 550 srtp_cipher_encrypt(cipher_array[cipher_index], enc_buf, in cipher_array_bits_per_second() 554 cipher_index = (*((uint32_t *)enc_buf)) % num_cipher; in cipher_array_bits_per_second()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | handshake_server.cc | 364 size_t cipher_index; in choose_cipher() local 372 sk_SSL_CIPHER_find(allow, &cipher_index, c)) { in choose_cipher() 376 if (group_min == -1 || (size_t)group_min > cipher_index) { in choose_cipher() 377 group_min = cipher_index; in choose_cipher() 380 if (group_min != -1 && (size_t)group_min < cipher_index) { in choose_cipher() 381 cipher_index = group_min; in choose_cipher() 383 return sk_SSL_CIPHER_value(allow, cipher_index); in choose_cipher()
|
/external/boringssl/src/ssl/ |
D | handshake_server.cc | 364 size_t cipher_index; in choose_cipher() local 372 sk_SSL_CIPHER_find(allow, &cipher_index, c)) { in choose_cipher() 376 if (group_min == -1 || (size_t)group_min > cipher_index) { in choose_cipher() 377 group_min = cipher_index; in choose_cipher() 380 if (group_min != -1 && (size_t)group_min < cipher_index) { in choose_cipher() 381 cipher_index = group_min; in choose_cipher() 383 return sk_SSL_CIPHER_value(allow, cipher_index); in choose_cipher()
|