363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
72 linhas
2.8 KiB
C++
72 linhas
2.8 KiB
C++
/*
|
|
+----------------------------------------------------------------------+
|
|
| 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__
|