summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt
blob: c89a44ad8abe8e0cebafcaf795048f5ed2b67c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
mcrypt_module_get_algo_block_size
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_256));
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_192));
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RC2));
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_XTEA));
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_CAST_128));
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_BLOWFISH));
--EXPECT--
int(32)
int(24)
int(8)
int(8)
int(8)
int(8)