[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [pkcs11] Re: CK_GCM_PARAMS Question
NSS and Java (OpenJDK) both use a pkcs11t.h file that is missing the ulIvBits field. So there is already a incompatibility in the wild.
Information Security Corp.
> On Aug 15, 2019, at 5:05 AM, Daniel Minder <Daniel.Minder@utimaco.com> wrote:
> 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.
> -----Original Message-----
> From: firstname.lastname@example.org <email@example.com> On Behalf Of Robert Relyea
> Sent: Mittwoch, 14. August 2019 20:08
> To: Jonathan Schulze-Hewett <firstname.lastname@example.org>; Michael Markowitz <email@example.com>
> Cc: firstname.lastname@example.org; email@example.com; firstname.lastname@example.org
> Subject: [pkcs11] Re: CK_GCM_PARAMS Question
>> On 08/13/2019 12:56 PM, Jonathan Schulze-Hewett wrote:
>> The CK_GCM_PARAMS structure defined at
>> does not include the ulIvBits member.
>> However, the pkcs11t.h files published at
>> 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).
>> Jonathan Schulze-Hewett
>> Director of Development
>> Information Security Corp.
> 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:
> 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.