Export (0) Print
Expand All
Expand Minimize

CRYPT_AES_256_KEY_STATE structure

The CRYPT_AES_256_KEY_STATE structure specifies the 256-bit symmetric key information for an Advanced Encryption Standard (AES) cipher.

Syntax


typedef struct _CRYPT_AES_256_KEY_STATE {
  unsigned char Key[32];
  unsigned char IV[16];
  unsigned char EncryptionState[[15][16]];
  unsigned char DecryptionState[[15][16]];
  unsigned char Feedback[16];
} CRYPT_AES_256_KEY_STATE, *PCRYPT_AES_256_KEY_STATE;

Members

Key

An array of hexadecimal values that specify a 256-bit cipher key.

IV

An array of hexadecimal values that specify an initialization vector (IV) for the cipher.

EncryptionState

An array of hexadecimal values that specify a 15-round encryption key schedule.

DecryptionState

An array of hexadecimal values that specify a 15-round decryption key schedule.

Feedback

An array of hexadecimal values that specify the feedback vector for a stage in the encryption or decryption process.

Remarks

The CRYPT_AES_256_KEY_STATE structure is used by the CPImportKey and CPExportKey functions when the key BLOB was created by using the dwBlobType parameter set to the KEYSTATEBLOB value.

The Microsoft AES Cryptographic Provider only supports this structure in the context of the Secure Sockets Layer protocol (SSL), where the caller specified PROV_DH_SCHANNEL as the value for the dwProvType parameter of the CryptAcquireContext function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft