Lines Matching refs:password_len

5315 	size_t password_len;  in PHP_FUNCTION()  local
5325 &password, &password_len, in PHP_FUNCTION()
5332 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(password_len, password, 1); in PHP_FUNCTION()
5355 …if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iter… in PHP_FUNCTION()
7506 int key_len, password_len; in php_openssl_cipher_init() local
7539 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7541 if (key_len > password_len) { in php_openssl_cipher_init()
7542 …OPENSSL_DONT_ZERO_PAD_KEY & options) && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7549 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7554 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7617 const char *password, size_t password_len, in php_openssl_encrypt() argument
7631 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_encrypt()
7651 &password, &password_len, &free_password, in php_openssl_encrypt()
7710 size_t data_len, method_len, password_len, iv_len = 0, aad_len = 0; in PHP_FUNCTION() local
7715 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7719 …if ((ret = php_openssl_encrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()
7730 const char *password, size_t password_len, in php_openssl_decrypt() argument
7745 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_decrypt()
7776 &password, &password_len, &free_password, in php_openssl_decrypt()
7811 size_t data_len, method_len, password_len, iv_len = 0, tag_len = 0, aad_len = 0; in PHP_FUNCTION() local
7815 &password, &password_len, &options, &iv, &iv_len, &tag, &tag_len, &aad, &aad_len) == FAILURE) { in PHP_FUNCTION()
7824 …if ((ret = php_openssl_decrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()