---
name: "SystemFunction008"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SystemFunction008"
---

# SystemFunction008(3w)

## NAME

**SystemFunction008** (ADVAPI32.@)

## SYNOPSIS

NTSTATUS SystemFunction008\
  (\
   const BYTE\* *challenge*,\
   const BYTE\* *hash*,\
   LPBYTE      *response*\
  )

## DESCRIPTION

Creates a **LM** *response* from a *challenge* and a password *hash*.

## PARAMS

*challenge* **\[In\]**  Challenge from authentication server.

*hash* **\[In\]**  **NTLM** *hash* (from SystemFunction006).

*response* **\[Out\]**  *response* to send back to the server.

## RETURNS

**Success:** **STATUS\_SUCCESS**

**Failure:** **STATUS\_UNSUCCESSFUL**.

## NOTES

see http://davenport.sourceforge.net/ntlm.html#theLmResponse

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/advapi32/crypt\_lmhash.c"**.
