Cryptographic Token Interface Standard

PKCS#11


CK_CCM_PARAMS Reference

CK_CCM _PARAMS; CK_CCM _PARAMS_PTR

CK_CCM_PARAMS is a structure that provides the parameters to the CKM_AES_CCM mechanism. More...


Data Fields

CK_ULONG ulDataLen
 length of the data where 0 <= ''ulDataLen'' < 28L. More...

CK_BYTE_PTR pNonce
 the nonce. More...

CK_ULONG ulNonceLen
 length of ''pNonce'' (<= 15-L) in bytes. More...

CK_BYTE_PTR pAAD
 Additional authentication data. More...

CK_ULONG ulAADLen
 length of ''pAuthData'' in bytes. More...

CK_ULONG ulMACLen
 length of the MAC (output following cipher text) in bytes. More...


Detailed Description

CK_CCM _PARAMS; CK_CCM _PARAMS_PTR

CK_CCM_PARAMS is a structure that provides the parameters to the CKM_AES_CCM mechanism.
ulDataLen length of the data where 0 <= ''ulDataLen'' < 28L.
pNonce the nonce.
ulNonceLen length of ''pNonce'' (<= 15-L) in bytes.
pAAD Additional authentication data. This data is authenticated but not encrypted.
ulAADLen length of ''pAuthData'' in bytes.
ulMACLen length of the MAC (output following cipher text) in bytes. Valid values are 4, 6, 8, 10, 12, 14, and 16.

CK_CCM_PARAMS_PTR is a pointer to a CK_CCM_PARAMS.


Field Documentation

CK_ULONG ulDataLen
 

length of the data where 0 <= ''ulDataLen'' < 28L.

CK_BYTE_PTR pNonce
 

the nonce.

CK_ULONG ulNonceLen
 

length of ''pNonce'' (<= 15-L) in bytes.

CK_BYTE_PTR pAAD
 

Additional authentication data. This data is authenticated but not encrypted.

CK_ULONG ulAADLen
 

length of ''pAuthData'' in bytes.

CK_ULONG ulMACLen
 

length of the MAC (output following cipher text) in bytes. Valid values are 4, 6, 8, 10, 12, 14, and 16.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v230