iv                 64 ext/mcrypt/mcrypt.c 	ZEND_ARG_INFO(0, iv)
iv                192 ext/mcrypt/mcrypt.c 	ZEND_ARG_INFO(0, iv)
iv                200 ext/mcrypt/mcrypt.c 	ZEND_ARG_INFO(0, iv)
iv                302 ext/mcrypt/mcrypt.c 		&cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) {	\
iv                537 ext/mcrypt/mcrypt.c 	char *key, *iv;
iv                545 ext/mcrypt/mcrypt.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &mcryptind, &key, &key_len, &iv, &iv_len) == FAILURE) {
iv                580 ext/mcrypt/mcrypt.c 	memcpy(iv_s, iv, iv_len);
iv               1217 ext/mcrypt/mcrypt.c static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size) /* {{{ */
iv               1226 ext/mcrypt/mcrypt.c 		if (!iv) {
iv               1246 ext/mcrypt/mcrypt.c static void php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) /* {{{ */
iv               1267 ext/mcrypt/mcrypt.c 	if (php_mcrypt_ensure_valid_iv(td, iv, (int)iv_len) == FAILURE) {
iv               1285 ext/mcrypt/mcrypt.c 	if (mcrypt_generic_init(td, (void *) key, (int)key_len, (void *) iv) < 0) {
iv               1311 ext/mcrypt/mcrypt.c 	char *cipher, *key, *data, *mode, *iv = NULL;
iv               1315 ext/mcrypt/mcrypt.c 		&key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) {
iv               1319 ext/mcrypt/mcrypt.c 	php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_ENCRYPT, return_value);
iv               1327 ext/mcrypt/mcrypt.c 	char *cipher, *key, *data, *mode, *iv = NULL;
iv               1331 ext/mcrypt/mcrypt.c 		&key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) {
iv               1335 ext/mcrypt/mcrypt.c 	php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_DECRYPT, return_value);
iv               1343 ext/mcrypt/mcrypt.c 	char *iv;
iv               1357 ext/mcrypt/mcrypt.c 	iv = ecalloc(size + 1, 1);
iv               1362 ext/mcrypt/mcrypt.c 		BYTE *iv_b = (BYTE *) iv;
iv               1364 ext/mcrypt/mcrypt.c 			efree(iv);
iv               1376 ext/mcrypt/mcrypt.c 				efree(iv);
iv               1383 ext/mcrypt/mcrypt.c 			n = read(*fd, iv + read_bytes, size - read_bytes);
iv               1392 ext/mcrypt/mcrypt.c 			efree(iv);
iv               1400 ext/mcrypt/mcrypt.c 			iv[--size] = (char) (255.0 * php_rand() / RAND_MAX);
iv               1403 ext/mcrypt/mcrypt.c 	RETVAL_STRINGL(iv, n);
iv               1404 ext/mcrypt/mcrypt.c 	efree(iv);
iv                158 ext/mcrypt/mcrypt_filter.c 	char *iv = NULL, *key = NULL;
iv                228 ext/mcrypt/mcrypt_filter.c 	iv = emalloc(iv_len + 1);
iv                230 ext/mcrypt/mcrypt_filter.c 		memcpy(iv, Z_STRVAL_P(tmpzval), iv_len);
iv                232 ext/mcrypt/mcrypt_filter.c 		memcpy(iv, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval));
iv                233 ext/mcrypt/mcrypt_filter.c 		memset(iv + Z_STRLEN_P(tmpzval), 0, iv_len - Z_STRLEN_P(tmpzval));
iv                236 ext/mcrypt/mcrypt_filter.c 	result = mcrypt_generic_init(mcrypt_module, key, key_len, iv);
iv                237 ext/mcrypt/mcrypt_filter.c 	efree(iv);
iv                361 ext/openssl/openssl.c 	ZEND_ARG_INFO(1, iv)
iv                369 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, iv)
iv                391 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, iv)
iv                399 ext/openssl/openssl.c 	ZEND_ARG_INFO(0, iv)
iv               4896 ext/openssl/openssl.c 	zval *pubkeys, *pubkey, *sealdata, *ekeys, *iv = NULL;
iv               4910 ext/openssl/openssl.c 				&sealdata, &ekeys, &pubkeys, &method, &method_len, &iv) == FAILURE) {
iv               4933 ext/openssl/openssl.c 	if (!iv && iv_len > 0) {
iv               4994 ext/openssl/openssl.c 		if (iv) {
iv               4995 ext/openssl/openssl.c 			zval_dtor(iv);
iv               4997 ext/openssl/openssl.c 			ZVAL_NEW_STR(iv, zend_string_init((char*)iv_buf, iv_len, 0));
iv               5035 ext/openssl/openssl.c 	char *method = NULL, *iv = NULL;
iv               5040 ext/openssl/openssl.c 				&ekey, &ekey_len, &privkey, &method, &method_len, &iv, &iv_len) == FAILURE) {
iv               5065 ext/openssl/openssl.c 		if (!iv) {
iv               5074 ext/openssl/openssl.c 		iv_buf = (unsigned char *)iv;
iv               5236 ext/openssl/openssl.c 	char *data, *method, *password, *iv = "";
iv               5245 ext/openssl/openssl.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|ls", &data, &data_len, &method, &method_len, &password, &password_len, &options, &iv, &iv_len) == FAILURE) {
iv               5269 ext/openssl/openssl.c 	free_iv = php_openssl_validate_iv(&iv, &iv_len, max_iv_len);
iv               5279 ext/openssl/openssl.c 	EVP_EncryptInit_ex(&cipher_ctx, NULL, NULL, key, (unsigned char *)iv);
iv               5308 ext/openssl/openssl.c 		efree(iv);
iv               5319 ext/openssl/openssl.c 	char *data, *method, *password, *iv = "";
iv               5329 ext/openssl/openssl.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|ls", &data, &data_len, &method, &method_len, &password, &password_len, &options, &iv, &iv_len) == FAILURE) {
iv               5365 ext/openssl/openssl.c 	free_iv = php_openssl_validate_iv(&iv, &iv_len, EVP_CIPHER_iv_length(cipher_type));
iv               5375 ext/openssl/openssl.c 	EVP_DecryptInit_ex(&cipher_ctx, NULL, NULL, key, (unsigned char *)iv);
iv               5394 ext/openssl/openssl.c 		efree(iv);