From 0fbd2663e67aae221b8558f7b47ef6b97233ae1f Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Wed, 29 May 2019 15:06:21 +0200 Subject: [PATCH] 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 --- src/pkcs11/pkcs11.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkcs11/pkcs11.h b/src/pkcs11/pkcs11.h index 61bd6dc4..a3d6d8f7 100644 --- a/src/pkcs11/pkcs11.h +++ b/src/pkcs11/pkcs11.h @@ -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;