Lines Matching refs:iv_size
569 int max_key_size, key_size, iv_size; in PHP_FUNCTION() local
580 iv_size = mcrypt_enc_get_iv_size(pm->td); in PHP_FUNCTION()
589 iv_s = emalloc(iv_size + 1); in PHP_FUNCTION()
590 memset(iv_s, 0, iv_size + 1); in PHP_FUNCTION()
600 if (iv_len != iv_size) { in PHP_FUNCTION()
601 …(NULL TSRMLS_CC, E_WARNING, "Iv size incorrect; supplied length: %d, needed: %d", iv_len, iv_size); in PHP_FUNCTION()
602 if (iv_len > iv_size) { in PHP_FUNCTION()
603 iv_len = iv_size; in PHP_FUNCTION()
1244 static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size TSRMLS_DC) /* {{{ */ in php_mcrypt_ensure_valid_iv()
1260 if (iv_size != expected_iv_size) { in php_mcrypt_ensure_valid_iv()
1263 "for this encryption mode", iv_size, expected_iv_size in php_mcrypt_ensure_valid_iv()