Home
last modified time | relevance | path

Searched refs:piv_len (Results 1 – 1 of 1) sorted by relevance

/PHP-7.0/ext/openssl/
H A Dopenssl.c5648 static zend_bool php_openssl_validate_iv(char **piv, size_t *piv_len, size_t iv_required_len) in php_openssl_validate_iv() argument
5653 if (*piv_len == iv_required_len) { in php_openssl_validate_iv()
5659 if (*piv_len == 0) { in php_openssl_validate_iv()
5661 *piv_len = iv_required_len; in php_openssl_validate_iv()
5666 if (*piv_len < iv_required_len) { in php_openssl_validate_iv()
5667 …s long, cipher expects an IV of precisely %zd bytes, padding with \\0", *piv_len, iv_required_len); in php_openssl_validate_iv()
5668 memcpy(iv_new, *piv, *piv_len); in php_openssl_validate_iv()
5669 *piv_len = iv_required_len; in php_openssl_validate_iv()
5674 … which is longer than the %zd expected by selected cipher, truncating", *piv_len, iv_required_len); in php_openssl_validate_iv()
5676 *piv_len = iv_required_len; in php_openssl_validate_iv()

Completed in 18 milliseconds