HMAC_INFO (Compact 2013)

3/28/2014

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

See Also

Reference

Cryptography Structures
CryptCreateHash
CryptSetHashParam
ALG_ID