---
name: "tsshmac"
section: "1"
platform: "linux"
package: "tss2"
version: "1045-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tsshmac"
---

# tsshmac(1)

Runs TPM2\_Hmac

## NAME

hmac - Runs TPM2\_Hmac

## DESCRIPTION

**--version-string**=*v1045* is not a valid option

hmac

Runs TPM2\_HMAC

**-hk** key handle

**-pwdk** password for key (default empty)

-

  \[-halg (sha1, sha256, sha384) (default sha256)\] **-if** input file to be HMACed **-ic** data string to be HMACed \[-os hmac file name (default do not save)\]

**-se\[0-2\]** session handle / attributes (default PWAP)

-

  01 continue

**--version** is not a valid option

hmac

Runs TPM2\_HMAC

**-hk** key handle

**-pwdk** password for key (default empty)

-

  \[-halg (sha1, sha256, sha384) (default sha256)\] **-if** input file to be HMACed **-ic** data string to be HMACed \[-os hmac file name (default do not save)\]

**-se\[0-2\]** session handle / attributes (default PWAP)

-

  01 continue

## SEE ALSO

The full documentation for **hmac** is maintained as a Texinfo manual.  If the **info** and **hmac** programs are properly installed at your site, the command

-

  **info hmac**

should give you access to the complete manual.
