Searched refs:number_uses (Results 1 – 2 of 2) sorted by relevance
664 int max_strength_bits, i, *number_uses; in ssl_cipher_strength_sort() local682 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()
1060 int max_strength_bits, i, *number_uses; in ssl_cipher_strength_sort() local1078 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()