Lines Matching refs:key_sizes
739 int *key_sizes; in PHP_FUNCTION() local
744 key_sizes = mcrypt_enc_get_supported_key_sizes(pm->td, &count); in PHP_FUNCTION()
747 add_index_long(return_value, i, key_sizes[i]); in PHP_FUNCTION()
750 mcrypt_free(key_sizes); in PHP_FUNCTION()
964 int *key_sizes; in PHP_FUNCTION() local
969 key_sizes = mcrypt_module_get_algo_supported_key_sizes(module, dir, &count); in PHP_FUNCTION()
972 add_index_long(return_value, i, key_sizes[i]); in PHP_FUNCTION()
974 mcrypt_free(key_sizes); in PHP_FUNCTION()
1161 int max_key_size, const int *key_sizes, int key_size_count) /* {{{ */ in php_mcrypt_get_key_size_str() argument
1169 spprintf(&str, 0, "Only keys of size %d supported", key_sizes[0]); in php_mcrypt_get_key_size_str()
1183 smart_str_append_long(&str, key_sizes[i]); in php_mcrypt_get_key_size_str()
1194 int key_size, int max_key_size, int *key_sizes, int key_size_count) /* {{{ */ in php_mcrypt_is_valid_key_size() argument
1208 if (key_sizes[i] == key_size) { in php_mcrypt_is_valid_key_size()
1221 int *key_sizes = mcrypt_enc_get_supported_key_sizes(td, &key_size_count); in php_mcrypt_ensure_valid_key_size() local
1224 key_size, max_key_size, key_sizes, key_size_count in php_mcrypt_ensure_valid_key_size()
1228 max_key_size, key_sizes, key_size_count in php_mcrypt_ensure_valid_key_size()
1236 if (key_sizes) { in php_mcrypt_ensure_valid_key_size()
1237 mcrypt_free(key_sizes); in php_mcrypt_ensure_valid_key_size()