Searched refs:iv_len (Results 1 – 3 of 3) sorted by relevance
/PHP-5.6/ext/mcrypt/ |
H A D | mcrypt.c | 566 int key_len, iv_len; in PHP_FUNCTION() local 600 if (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() 1338 int cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local 1354 int cipher_len, key_len, data_len, mode_len, iv_len = 0; in PHP_FUNCTION() local 1371 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local 1387 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local 1403 int cipher_len, key_len, data_len, iv_len = 0; in PHP_FUNCTION() local [all …]
|
H A D | mcrypt_filter.c | 154 int encrypt = 1, iv_len, key_len, keyl, result; in php_mcrypt_filter_create() local 215 iv_len = mcrypt_enc_get_iv_size(mcrypt_module); in php_mcrypt_filter_create() 228 iv = emalloc(iv_len + 1); in php_mcrypt_filter_create() 229 if (iv_len <= Z_STRLEN_PP(tmpzval)) { in php_mcrypt_filter_create() 230 memcpy(iv, Z_STRVAL_PP(tmpzval), iv_len); in php_mcrypt_filter_create() 233 memset(iv + Z_STRLEN_PP(tmpzval), 0, iv_len - Z_STRLEN_PP(tmpzval)); in php_mcrypt_filter_create()
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.c | 5231 int data_len, method_len, password_len, iv_len = 0, max_iv_len; in PHP_FUNCTION() local 5238 …a, &data_len, &method, &method_len, &password, &password_len, &options, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION() 5257 if (iv_len <= 0 && max_iv_len > 0) { in PHP_FUNCTION() 5260 free_iv = php_openssl_validate_iv(&iv, &iv_len, max_iv_len TSRMLS_CC); in PHP_FUNCTION() 5314 int data_len, method_len, password_len, iv_len = 0; in PHP_FUNCTION() local 5323 …a, &data_len, &method, &method_len, &password, &password_len, &options, &iv, &iv_len) == FAILURE) { in PHP_FUNCTION() 5357 free_iv = php_openssl_validate_iv(&iv, &iv_len, EVP_CIPHER_iv_length(cipher_type) TSRMLS_CC); in PHP_FUNCTION()
|
Completed in 39 milliseconds