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

# SystemFunction013(3w)

## NAME

**SystemFunction013** (ADVAPI32.@)

## SYNOPSIS

NTSTATUS SystemFunction013\
  (\
   const BYTE\* *in*,\
   const BYTE\* *key*,\
   LPBYTE      *out*\
  )

## DESCRIPTION

SystemFunction017 \[**ADVAPI32**.@\] SystemFunction019 \[**ADVAPI32**.@\] SystemFunction021 \[**ADVAPI32**.@\] SystemFunction023 \[**ADVAPI32**.@\].

Decrypts two **DES** blocks with two keys.

## PARAMS

data **\[In\]**  data to decrypt (**16** bytes).

*key* **\[In\]**  *key* data (two lots of **7** bytes).

output **\[Out\]**  buffer to receive decrypted data (**16** bytes).

## RETURNS

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

**Failure:** **STATUS\_UNSUCCESSFUL** if the input or output buffer is **NULL**

## IMPLEMENTATION

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

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