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

# SystemFunction012(3w)

## NAME

**SystemFunction012** (ADVAPI32.@)

## SYNOPSIS

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

## DESCRIPTION

SystemFunction016 \[**ADVAPI32**.@\] SystemFunction018 \[**ADVAPI32**.@\] SystemFunction020 \[**ADVAPI32**.@\] SystemFunction022 \[**ADVAPI32**.@\].

Encrypts two **DES** blocks with two keys.

## PARAMS

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

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

output **\[Out\]**  buffer to receive encrypted 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"**.
