Lines Matching refs:iv_s
599 unsigned char *key_s, *iv_s; in PHP_FUNCTION() local
620 iv_s = emalloc(iv_size + 1); in PHP_FUNCTION()
621 memset(iv_s, 0, iv_size + 1); in PHP_FUNCTION()
637 memcpy(iv_s, iv, iv_len); in PHP_FUNCTION()
640 result = mcrypt_generic_init(pm->td, key_s, key_size, iv_s); in PHP_FUNCTION()
663 efree(iv_s); in PHP_FUNCTION()
1198 char *key_s = NULL, *iv_s; in php_mcrypt_do_crypt() local
1241 iv_s = NULL; in php_mcrypt_do_crypt()
1250 iv_s = emalloc(iv_size + 1); in php_mcrypt_do_crypt()
1251 memcpy(iv_s, iv, iv_size); in php_mcrypt_do_crypt()
1255 iv_s = emalloc(iv_size + 1); in php_mcrypt_do_crypt()
1256 memset(iv_s, 0, iv_size + 1); in php_mcrypt_do_crypt()
1274 if (mcrypt_generic_init(td, key_s, use_key_length, iv_s) < 0) { in php_mcrypt_do_crypt()
1291 if (iv_s != NULL) { in php_mcrypt_do_crypt()
1292 efree (iv_s); in php_mcrypt_do_crypt()