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

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c549 int max_key_size, key_size, iv_size; local
560 iv_size = mcrypt_enc_get_iv_size(pm->td);
569 iv_s = emalloc(iv_size + 1);
570 memset(iv_s, 0, iv_size + 1);
580 if (iv_len != iv_size) {
581 php_error_docref(NULL, E_WARNING, "Iv size incorrect; supplied length: %d, needed: %d", iv_len, iv_size);
582 if (iv_len > iv_size) {
583 iv_len = iv_size;
1220 static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size) /* {{{ */ argument
1232 if (iv_size !
[all...]

Completed in 5 milliseconds