Lines Matching refs:password_len

4893 	size_t password_len;  in PHP_FUNCTION()  local
4903 &password, &password_len, in PHP_FUNCTION()
4910 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(password_len, password, 1); in PHP_FUNCTION()
4933 …if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iter… in PHP_FUNCTION()
7086 int key_len, password_len; in php_openssl_cipher_init() local
7119 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7121 if (key_len > password_len) { in php_openssl_cipher_init()
7122 …OPENSSL_DONT_ZERO_PAD_KEY & options) && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7129 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7134 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7197 const char *password, size_t password_len, in php_openssl_encrypt() argument
7211 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_encrypt()
7231 &password, &password_len, &free_password, in php_openssl_encrypt()
7290 size_t data_len, method_len, password_len, iv_len = 0, aad_len = 0; in PHP_FUNCTION() local
7295 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7299 …if ((ret = php_openssl_encrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()
7310 const char *password, size_t password_len, in php_openssl_decrypt() argument
7325 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_decrypt()
7356 &password, &password_len, &free_password, in php_openssl_decrypt()
7391 size_t data_len, method_len, password_len, iv_len = 0, tag_len = 0, aad_len = 0; in PHP_FUNCTION() local
7395 &password, &password_len, &options, &iv, &iv_len, &tag, &tag_len, &aad, &aad_len) == FAILURE) { in PHP_FUNCTION()
7404 …if ((ret = php_openssl_decrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()