Share via


HMAC_INFO (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Cryptography Structures
CryptCreateHash
CryptSetHashParam
ALG_ID