1--TEST--
2mcrypt_module_get_algo_key_size
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_256));
8var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_192));
9var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RC2));
10var_dump(mcrypt_module_get_algo_key_size(MCRYPT_XTEA));
11var_dump(mcrypt_module_get_algo_key_size(MCRYPT_CAST_128));
12var_dump(mcrypt_module_get_algo_key_size(MCRYPT_BLOWFISH));
13--EXPECT--
14int(32)
15int(32)
16int(128)
17int(16)
18int(16)
19int(56)
20