BCRYPT_MULTI_OBJECT_LENGTH_STRUCT structure (bcrypt.h)

The BCRYPT_MULTI_OBJECT_LENGTH_STRUCT structure contains information to determine the size of the pbHashObject buffer for the BCryptCreateMultiHash function.

Syntax

typedef struct _BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {
  ULONG cbPerObject;
  ULONG cbPerElement;
} BCRYPT_MULTI_OBJECT_LENGTH_STRUCT;

Members

cbPerObject

The number of bytes needed for the object overhead.

cbPerElement

The number of bytes needed for each element of the object.

Remarks

The size of the pbHashObject buffer for the BCryptCreateMultiHash function is the following: cbPerObject + (number of hash states) * cbPerElement.

Requirements

   
Minimum supported client Windows 8.1 Update [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 Update [desktop apps | UWP apps]
Header bcrypt.h

See also

BCryptCreateMultiHash