Lines Matching refs:iv_len
336 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
566 int key_len, iv_len; in PHP_FUNCTION() local
573 …arameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &mcryptind, &key, &key_len, &iv, &iv_len) == FAILURE) { 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()
606 memcpy(iv_s, iv, iv_len); in PHP_FUNCTION()
1273 …key_len, const char *data, int data_len, char *mode, const char *iv, int iv_len, int dencrypt, zva… in php_mcrypt_do_crypt() argument
1294 if (php_mcrypt_ensure_valid_iv(td, iv, iv_len TSRMLS_CC) == FAILURE) { in php_mcrypt_do_crypt()
1338 int cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local
1341 &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION()
1345 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_ENCRYPT, return… in PHP_FUNCTION()
1354 int cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local
1357 &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION()
1361 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, mode, iv, iv_len, MCRYPT_DECRYPT, return… in PHP_FUNCTION()
1371 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local
1377 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "ecb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1387 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local
1393 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "cbc", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1403 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local
1409 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "cfb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()
1419 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local
1425 …php_mcrypt_do_crypt(cipher, key, key_len, data, data_len, "ofb", iv, iv_len, Z_LVAL_PP(mode), retu… in PHP_FUNCTION()