DOT11_KEY_ALGO_CCMP structure (windot11.h)

Important

WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.

The DOT11_KEY_ALGO_CCMP structure defines a cipher key that is used by the AES-CCMP algorithm for data encryption and decryption.

Syntax

typedef struct DOT11_KEY_ALGO_CCMP {
  UCHAR ucIV48Counter[6];
  ULONG ulCCMPKeyLength;
  UCHAR ucCCMPKey[1];
} DOT11_KEY_ALGO_CCMP, *PDOT11_KEY_ALGO_CCMP;

Members

ucIV48Counter[6]

The initial 48-bit value of the AES-CCMP Packet Number (PN), which is used for replay protection. For more information about the PN, see AES-CCMP.

ulCCMPKeyLength

The length, in bytes, of the AES-CCMP key material in the ucCCMPKey array. If the authentication and cipher key derivation is performed by the operating system, this member will always have a value of 16.

ucCCMPKey[1]

The AES-CCMP key material.

Remarks

When the AES-CCMP key is created, the 802.11 station must maintain separate PN counters for the key for the send and receive path. The station must initialize the PN counters in the following way:

  • Initialize the PN counter used for the receive path to the value specified in the ucIV48Counter member.
  • Initialize the PN counter used for the send path to any value.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header windot11.h (include Ndis.h)

See also

OID_DOT11_CIPHER_KEY_MAPPING_KEY

AES-CCMP

DOT11_CIPHER_DEFAULT_KEY_VALUE