Home
last modified time | relevance | path

Searched refs:number_uses (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/boringssl/src/ssl/
Dssl_ciph.c664 int max_strength_bits, i, *number_uses; in ssl_cipher_strength_sort() local
682 number_uses = OPENSSL_malloc((max_strength_bits + 1) * sizeof(int)); in ssl_cipher_strength_sort()
683 if (!number_uses) in ssl_cipher_strength_sort()
688 memset(number_uses, 0, (max_strength_bits + 1) * sizeof(int)); in ssl_cipher_strength_sort()
697 number_uses[curr->cipher->strength_bits]++; in ssl_cipher_strength_sort()
705 if (number_uses[i] > 0) in ssl_cipher_strength_sort()
708 OPENSSL_free(number_uses); in ssl_cipher_strength_sort()
/external/openssl/ssl/
Dssl_ciph.c1060 int max_strength_bits, i, *number_uses; in ssl_cipher_strength_sort() local
1078 number_uses = OPENSSL_malloc((max_strength_bits + 1) * sizeof(int)); in ssl_cipher_strength_sort()
1079 if (!number_uses) in ssl_cipher_strength_sort()
1084 memset(number_uses, 0, (max_strength_bits + 1) * sizeof(int)); in ssl_cipher_strength_sort()
1093 number_uses[curr->cipher->strength_bits]++; in ssl_cipher_strength_sort()
1101 if (number_uses[i] > 0) in ssl_cipher_strength_sort()
1104 OPENSSL_free(number_uses); in ssl_cipher_strength_sort()