????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.220.98.157 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/mcrypt/ |
Upload File : |
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +----------------------------------------------------------------------+ | 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. | +----------------------------------------------------------------------+ | Authors: Sascha Schumann <sascha@schumann.cx> | | Derick Rethans <derick@derickrethans.nl> | +----------------------------------------------------------------------+ */ /* $Id$ */ #ifndef PHP_MCRYPT_H #define PHP_MCRYPT_H #if HAVE_LIBMCRYPT #ifdef ZTS #include "TSRM.h" #endif extern zend_module_entry mcrypt_module_entry; #define mcrypt_module_ptr &mcrypt_module_entry /* Functions for both old and new API */ PHP_FUNCTION(mcrypt_ecb); PHP_FUNCTION(mcrypt_cbc); PHP_FUNCTION(mcrypt_cfb); PHP_FUNCTION(mcrypt_ofb); PHP_FUNCTION(mcrypt_get_cipher_name); PHP_FUNCTION(mcrypt_get_block_size); PHP_FUNCTION(mcrypt_get_key_size); PHP_FUNCTION(mcrypt_create_iv); /* Support functions for old API */ PHP_FUNCTION(mcrypt_list_algorithms); PHP_FUNCTION(mcrypt_list_modes); PHP_FUNCTION(mcrypt_get_iv_size); PHP_FUNCTION(mcrypt_encrypt); PHP_FUNCTION(mcrypt_decrypt); /* Functions for new API */ PHP_FUNCTION(mcrypt_module_open); PHP_FUNCTION(mcrypt_generic_init); PHP_FUNCTION(mcrypt_generic); PHP_FUNCTION(mdecrypt_generic); PHP_FUNCTION(mcrypt_generic_deinit); PHP_FUNCTION(mcrypt_enc_self_test); PHP_FUNCTION(mcrypt_enc_is_block_algorithm_mode); PHP_FUNCTION(mcrypt_enc_is_block_algorithm); PHP_FUNCTION(mcrypt_enc_is_block_mode); PHP_FUNCTION(mcrypt_enc_get_block_size); PHP_FUNCTION(mcrypt_enc_get_key_size); PHP_FUNCTION(mcrypt_enc_get_supported_key_sizes); PHP_FUNCTION(mcrypt_enc_get_iv_size); PHP_FUNCTION(mcrypt_enc_get_algorithms_name); PHP_FUNCTION(mcrypt_enc_get_modes_name); PHP_FUNCTION(mcrypt_module_self_test); PHP_FUNCTION(mcrypt_module_is_block_algorithm_mode); PHP_FUNCTION(mcrypt_module_is_block_algorithm); PHP_FUNCTION(mcrypt_module_is_block_mode); PHP_FUNCTION(mcrypt_module_get_algo_block_size); PHP_FUNCTION(mcrypt_module_get_algo_key_size); PHP_FUNCTION(mcrypt_module_get_supported_key_sizes); PHP_FUNCTION(mcrypt_module_close); ZEND_BEGIN_MODULE_GLOBALS(mcrypt) int le_h; char *modes_dir; char *algorithms_dir; int fd[2]; // RANDOM = 0, URANDOM = 1 ZEND_END_MODULE_GLOBALS(mcrypt) #ifdef ZTS # define MCG(v) TSRMG(mcrypt_globals_id, zend_mcrypt_globals *, v) #else # define MCG(v) (mcrypt_globals.v) #endif #else #define mcrypt_module_ptr NULL #endif #define phpext_mcrypt_ptr mcrypt_module_ptr #endif