Searched defs:iv (Results 1 - 4 of 4) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_API.c821 int iv = 0; local
829 (*varargs)[iv++] = p++;
833 num_args = num_args + 1 - iv;
834 i += iv;
/PHP_5_4/ext/mcrypt/
H A Dmcrypt.c63 ZEND_ARG_INFO(0, iv)
191 ZEND_ARG_INFO(0, iv)
199 ZEND_ARG_INFO(0, iv)
207 ZEND_ARG_INFO(0, iv)
215 ZEND_ARG_INFO(0, iv)
223 ZEND_ARG_INFO(0, iv)
231 ZEND_ARG_INFO(0, iv)
322 zval **iv
338 convert_to_string_ex(iv); \
339 if (Z_STRLEN_PP(iv) !
585 char *key, *iv; local
1168 php_mcrypt_do_crypt(char* cipher, const char *key, int key_len, const char *data, int data_len, char *mode, const char *iv, int iv_len, int argc, int dencrypt, zval* return_value TSRMLS_DC) argument
1280 char *cipher, *key, *data, *iv = NULL; local
1296 char *cipher, *key, *data, *iv = NULL; local
1312 char *cipher, *key, *data, *iv = NULL; local
1328 char *cipher, *key, *data, *iv = NULL; local
1344 char *cipher, *key, *data, *iv = NULL; local
1360 char *cipher, *key, *data, *iv = NULL; local
1375 char *iv; local
[all...]
H A Dmcrypt_filter.c158 char *iv = NULL, *key = NULL; local
221 if (zend_hash_find(HASH_OF(filterparams), "iv", sizeof("iv"), (void**) &tmpzval) == FAILURE ||
223 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filter parameter[iv] not provided or not of type: string");
228 iv = emalloc(iv_len + 1);
230 memcpy(iv, Z_STRVAL_PP(tmpzval), iv_len);
232 memcpy(iv, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval));
233 memset(iv + Z_STRLEN_PP(tmpzval), 0, iv_len - Z_STRLEN_PP(tmpzval));
236 result = mcrypt_generic_init(mcrypt_module, key, key_len, iv);
237 efree(iv);
[all...]
/PHP_5_4/ext/openssl/
H A Dopenssl.c368 ZEND_ARG_INFO(0, iv)
376 ZEND_ARG_INFO(0, iv)
4331 iv = ivlen ? emalloc(ivlen + 1) : NULL;
4363 iv[ivlen] = '\0';
4364 ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen, 0);
4825 /* {{{ proto string openssl_encrypt(string data, string method, string password [, long options=0 [, string $iv='']])
4830 char *data, *method, *password, *iv = ""; local
4838 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ls", &data, &data_len, &method, &method_len, &password, &password_len, &options, &iv, &iv_len) == FAILURE) {
4858 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Using an empty Initialization Vector (iv) is potentially insecure and not recommended");
4860 free_iv = php_openssl_validate_iv(&iv,
4909 char *data, *method, *password, *iv = ""; local
[all...]

Completed in 18 milliseconds