The BCRYPT_DSA_PARAMETER_HEADER structure is used to contain parameter header information for a Digital Signature Algorithm (DSA) key. This structure is used with the BCRYPT_DSA_PARAMETERS property in the BCryptSetProperty function.
typedef struct _BCRYPT_DSA_PARAMETER_HEADER {
ULONG cbLength;
ULONG dwMagic;
ULONG cbKeyLength;
UCHAR Count[4];
UCHAR Seed[20];
UCHAR q[20];
} BCRYPT_DSA_PARAMETER_HEADER;
cbLength
The total size, in bytes, of this structure and the buffer that immediately follows this structure in memory.
dwMagic
The magic value for the key.
cbKeyLength
The size, in bytes, of the key that this structure applies to.
Count
The number of iterations performed to generate the prime number q from the seed.
Seed
The seed value, in big-endian format, used to generate q.
q
The 160-bit prime factor, in big-endian format.
This structure is used as a header for a larger buffer.
The single memory block consists of the following items:
Header: Declared in bcrypt.h.
Library: Use bcrypt.lib.