Lines Matching refs:key_sizes
726 int *key_sizes; in PHP_FUNCTION() local
731 key_sizes = mcrypt_enc_get_supported_key_sizes(pm->td, &count); in PHP_FUNCTION()
734 add_index_long(return_value, i, key_sizes[i]); in PHP_FUNCTION()
737 mcrypt_free(key_sizes); in PHP_FUNCTION()
951 int *key_sizes; in PHP_FUNCTION() local
956 key_sizes = mcrypt_module_get_algo_supported_key_sizes(module, dir, &count); in PHP_FUNCTION()
959 add_index_long(return_value, i, key_sizes[i]); in PHP_FUNCTION()
961 mcrypt_free(key_sizes); in PHP_FUNCTION()
1148 int max_key_size, const int *key_sizes, int key_size_count) /* {{{ */ in php_mcrypt_get_key_size_str() argument
1156 spprintf(&str, 0, "Only keys of size %d supported", key_sizes[0]); in php_mcrypt_get_key_size_str()
1171 smart_str_append_long(&str, key_sizes[i]); in php_mcrypt_get_key_size_str()
1185 int key_size, int max_key_size, int *key_sizes, int key_size_count) /* {{{ */ in php_mcrypt_is_valid_key_size() argument
1199 if (key_sizes[i] == key_size) { in php_mcrypt_is_valid_key_size()
1212 int *key_sizes = mcrypt_enc_get_supported_key_sizes(td, &key_size_count); in php_mcrypt_ensure_valid_key_size() local
1215 key_size, max_key_size, key_sizes, key_size_count in php_mcrypt_ensure_valid_key_size()
1219 max_key_size, key_sizes, key_size_count in php_mcrypt_ensure_valid_key_size()
1227 if (key_sizes) { in php_mcrypt_ensure_valid_key_size()
1228 mcrypt_free(key_sizes); in php_mcrypt_ensure_valid_key_size()