RE: [pkcs11] Re: CK_GCM_PARAMS Question

From
Daniel Minder <>
Date
2019-08-15T10:05:22+00:00
ID
Thread
RE: [pkcs11] Re: CK_GCM_PARAMS Question
Bob, all,

This is actually the same issue as item 4 in the "public review comments resolution log".

Yes, it is an error and the reason is that the ulIvBits field is not needed - only ulIvLen is used. However, we cannot just remove the ulIvBits field from the struct since this would create an incompatibility.
Proposal: In the header file, we could add an âunusedâ comment to the field and in the 3.1 standard we should add a note to the mechanisms specification.

Best,
Daniel

-----Original Message-----
From:  <> On Behalf Of Robert Relyea
Sent: Mittwoch, 14. August 2019 20:08
To: Jonathan Schulze-Hewett <>; Michael Markowitz <>
Cc: ; ; 
Subject: [pkcs11] Re: CK_GCM_PARAMS Question

On 08/13/2019 12:56 PM, Jonathan Schulze-Hewett wrote:
> Bob,
> The CK_GCM_PARAMS structure defined at
> http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/pkcs11-curr-v2.40.
> html
> does not include the ulIvBits member.
>
> However, the pkcs11t.h files published at
> http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/errata01/csprd01/i
> nclude /pkcs11-v2.40/pkcs11t.h does include it.
>
> I'm assuming, since the NSS source for pkcs11t.h excludes it, that the
> posted (and widely used it seems) pkcs11t.h file is in error?

Well there is clearly an error. The spec does not define what ulIvBits means.
The same discrepancy is in the 3.0 versions as well.

(I'm putting this on the mailing list so we don't lose it as an issue).

bob
>
> Thanks,
> Jonathan
>
> Jonathan Schulze-Hewett
> Director of Development
> Information Security Corp.
> mailto:
> 708-445-1704
>
>
>


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



________________________________

Utimaco IS GmbH
Germanusstr. 4, D.52080 Aachen, Germany, Tel: +49-241-1696-0, www.utimaco.com
Seat: Aachen â Registergericht Aachen HRB 18922
VAT ID No.: DE 815 496 496
Managementboard: Stefan Auerbach (Chairman) CEO, Malte Pollmann CSO, Dr. Frank J. Nellissen CFO

This communication is confidential. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. Please inform us immediately and destroy the email.