Searched refs:iv_size (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c525 int max_key_size, key_size, iv_size; local
538 iv_size = mcrypt_enc_get_iv_size(pm->td);
547 iv_s = emalloc(iv_size + 1);
548 memset(iv_s, 0, iv_size + 1);
558 if (iv_len != iv_size) {
559 php_error_docref(NULL, E_WARNING, "Iv size incorrect; supplied length: %d, needed: %d", iv_len, iv_size);
560 if (iv_len > iv_size) {
561 iv_len = iv_size;
1201 static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size) /* {{{ */ argument
1213 if (iv_size !
[all...]

Completed in 4 milliseconds