Lines Matching refs:password_len

5352 	size_t password_len;  in PHP_FUNCTION()  local
5362 &password, &password_len, in PHP_FUNCTION()
5369 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(password_len, password, 1); in PHP_FUNCTION()
5392 …if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iter… in PHP_FUNCTION()
7543 int key_len, password_len; in php_openssl_cipher_init() local
7576 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7578 if (key_len > password_len) { in php_openssl_cipher_init()
7579 …OPENSSL_DONT_ZERO_PAD_KEY & options) && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7586 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7591 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7654 const char *password, size_t password_len, in php_openssl_encrypt() argument
7668 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_encrypt()
7688 &password, &password_len, &free_password, in php_openssl_encrypt()
7747 size_t data_len, method_len, password_len, iv_len = 0, aad_len = 0; in PHP_FUNCTION() local
7752 &password, &password_len, &options, &iv, &iv_len, &tag, &aad, &aad_len, &tag_len) == FAILURE) { in PHP_FUNCTION()
7756 …if ((ret = php_openssl_encrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()
7767 const char *password, size_t password_len, in php_openssl_decrypt() argument
7782 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NULL_RETURN(password_len, password); in php_openssl_decrypt()
7813 &password, &password_len, &free_password, in php_openssl_decrypt()
7848 size_t data_len, method_len, password_len, iv_len = 0, tag_len = 0, aad_len = 0; in PHP_FUNCTION() local
7852 &password, &password_len, &options, &iv, &iv_len, &tag, &tag_len, &aad, &aad_len) == FAILURE) { in PHP_FUNCTION()
7861 …if ((ret = php_openssl_decrypt(data, data_len, method, method_len, password, password_len, options… in PHP_FUNCTION()