Add missing ulIvBits to CK_GCM_PARAMS

The PKCS#11 specification text does not document the ulIvBits field.
But the header file defining CK_GCM_PARAMS uses it.
Since the header file is the normative version we need to add it.

See also https://github.com/Pkcs11Interop/Pkcs11Interop/issues/126o
and https://lists.oasis-open.org/archives/pkcs11-comment/201602/msg00001.html
and https://www.oasis-open.org/committees/document.php?document_id=58032&wg_abbrev=pkcs11
This commit is contained in:
Ludovic Rousseau 2019-05-29 15:06:21 +02:00
parent 65a86b8331
commit 0fbd2663e6
1 changed files with 1 additions and 0 deletions

View File

@ -818,6 +818,7 @@ typedef struct CK_RSA_PKCS_PSS_PARAMS {
typedef struct CK_GCM_PARAMS {
void * pIv;
unsigned long ulIvLen;
unsigned long ulIvBits;
void * pAAD;
unsigned long ulAADLen;
unsigned long ulTagBits;