/
test_ext_mcrypt.h
71 lines (63 loc) · 2.78 KB
/
test_ext_mcrypt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef __TEST_EXT_MCRYPT_H__
#define __TEST_EXT_MCRYPT_H__
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include <test/test_cpp_ext.h>
///////////////////////////////////////////////////////////////////////////////
class TestExtMcrypt : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_mcrypt_module_open();
bool test_mcrypt_module_close();
bool test_mcrypt_list_algorithms();
bool test_mcrypt_list_modes();
bool test_mcrypt_module_get_algo_block_size();
bool test_mcrypt_module_get_algo_key_size();
bool test_mcrypt_module_get_supported_key_sizes();
bool test_mcrypt_module_is_block_algorithm_mode();
bool test_mcrypt_module_is_block_algorithm();
bool test_mcrypt_module_is_block_mode();
bool test_mcrypt_module_self_test();
bool test_mcrypt_create_iv();
bool test_mcrypt_encrypt();
bool test_mcrypt_decrypt();
bool test_mcrypt_cbc();
bool test_mcrypt_cfb();
bool test_mcrypt_ecb();
bool test_mcrypt_ofb();
bool test_mcrypt_get_block_size();
bool test_mcrypt_get_cipher_name();
bool test_mcrypt_get_iv_size();
bool test_mcrypt_get_key_size();
bool test_mcrypt_enc_get_algorithms_name();
bool test_mcrypt_enc_get_block_size();
bool test_mcrypt_enc_get_iv_size();
bool test_mcrypt_enc_get_key_size();
bool test_mcrypt_enc_get_modes_name();
bool test_mcrypt_enc_get_supported_key_sizes();
bool test_mcrypt_enc_is_block_algorithm_mode();
bool test_mcrypt_enc_is_block_algorithm();
bool test_mcrypt_enc_is_block_mode();
bool test_mcrypt_enc_self_test();
bool test_mcrypt_generic();
bool test_mcrypt_generic_init();
bool test_mdecrypt_generic();
bool test_mcrypt_generic_deinit();
bool test_mcrypt_generic_end();
};
///////////////////////////////////////////////////////////////////////////////
#endif // __TEST_EXT_MCRYPT_H__