Partager via


HMAC_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure specifies the hash algorithm and the inner and outer strings that are to be used to calculate the HMAC hash.

Syntax

typedef struct _HMAC_Info {
  ALG_ID HashAlgid;
  BYTE* pbInnerString;
  DWORD cbInnerString;
  BYTE* pbOuterString;
  DWORD cbOuterString;
} HMAC_INFO, *PHMAC_INFO;

Members

  • HashAlgid
    Hash algorithm to be used.
  • pbInnerString
    Must be NULL. The default inner string is defined as the byte 0x36 repeated 64 times.
  • cbInnerString
    Must be zero. The CSP uses the default inner string.
  • pbOuterString
    Must be NULL. The default outer string is defined as the byte 0x5C repeated 64 times.
  • cbOuterString
    Must be zero. The CSP uses the default outer string.

Requirements

Header wincrypt.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CryptCreateHash
CryptSetHashParam
ALG_ID