Lines Matching refs:iv_len
302 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
538 size_t key_len, iv_len; in PHP_FUNCTION() local
545 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &mcryptind, &key, &key_len, &iv, &iv_len) == FAI… in PHP_FUNCTION()
574 if (iv_len != iv_size) { in PHP_FUNCTION()
576 …php_error_docref(NULL, E_WARNING, "Iv size incorrect; supplied length: %zd, needed: %d", iv_len, i… in PHP_FUNCTION()
578 if (iv_len > iv_size) { in PHP_FUNCTION()
579 iv_len = iv_size; in PHP_FUNCTION()
582 memcpy(iv_s, iv, iv_len); in PHP_FUNCTION()
1264 …n, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, … in php_mcrypt_do_crypt() argument
1285 if (php_mcrypt_ensure_valid_iv(td, iv, (int)iv_len) == FAILURE) { in php_mcrypt_do_crypt()
1331 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local
1334 &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION()
1338 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_ENCRYPT, return… in PHP_FUNCTION()
1347 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local
1350 &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION()
1354 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_DECRYPT, return… in PHP_FUNCTION()