OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

pkcs11 message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [pkcs11] Groups - PKCS #11 Cryptographic Token Interface Current Mechanisms Specification Version 2.40 Committee Specification Draft 06 / Public Review Draft 06 (MS Word) uploaded


Hi Oscar

Both are corrected, thanks!

--Chris

-----Original Message-----
From: pkcs11@lists.oasis-open.org [mailto:pkcs11@lists.oasis-open.org] On Behalf Of Oscar So
Sent: Monday, July 07, 2014 8:42 PM
To: pkcs11@lists.oasis-open.org
Subject: Re: [pkcs11] Groups - PKCS #11 Cryptographic Token Interface Current Mechanisms Specification Version 2.40 Committee Specification Draft 06 / Public Review Draft 06 (MS Word) uploaded

Chris,

We are still missing the newly defined structure for CK_PKCS5_PBKD2_PARAMS:

CK_PKCS5_PBKD2_PARAMS is a structure that provides the parameters to the
CKM_PKCS5_PBKD2 mechanism.
The structure is defined as follows:

typedef struct CK_PKCS5_PBKD2_PARAMS {
	CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE saltSource;
	CK_VOID_PTR pSaltSourceData;
	CK_ULONG ulSaltSourceDataLen;
	CK_ULONG iterations;
	CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE prf;
	CK_VOID_PTR pPrfData;
	CK_ULONG ulPrfDataLen;
	CK_UTF8CHAR_PTR pPassword;
	CK_ULONG_PTR ulPasswordLen;
} CK_PKCS5_PBKD2_PARAMS;

The whole issue was with CK_ULONG_PTR ulPasswordLen.


Can we just call the new structure "CK_PKCS5_PBKD2_PARAMS2" ?
What should be the naming convention here ?

typedef struct CK_PKCS5_PBKD2_PARAMS2 {
	CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE saltSource;
	CK_VOID_PTR pSaltSourceData;
	CK_ULONG ulSaltSourceDataLen;
	CK_ULONG iterations;
	CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE prf;
	CK_VOID_PTR pPrfData;
	CK_ULONG ulPrfDataLen;
	CK_UTF8CHAR_PTR pPassword;
	CK_ULONG ulPasswordLen; /* CHANGE */
} CK_PKCS5_PBKD2_PARAMS2;

ALSO, there is a little type on the same page with misspelled "CK_PKCS5_PBKD2_PARAM" name:

Current:
"The following salt value sources are defined in PKCS #5 v2.1. The following table lists the defined sources along with the corresponding data type for the pSaltSourceData field in the CK_PKCS5_PBKD2_PARAM structure defined below."

Should be:
"The following salt value sources are defined in PKCS #5 v2.1. The following table lists the defined sources along with the corresponding data type for the pSaltSourceData field in the CK_PKCS5_PBKD2_PARAMS structure defined below."


Thanks,
Oscar






On 07/ 2/14 10:07 AM, Chris Zimman wrote:
> /Submitter's message/
> This is CDS 06 which incorporates the corrections from Stef, Dina, and 
> others.
> -- Mr. Chris Zimman
> *Document Name*: PKCS #11 Cryptographic Token Interface Current 
> Mechanisms Specification Version 2.40 Committee Specification Draft 06 
> / Public Review Draft 06 (MS Word) 
> <https://www.oasis-open.org/apps/org/workgroup/pkcs11/document.php?doc
> ument_id=53492>
> ----------------------------------------------------------------------
> --
> *Description*
> PKCS #11 Cryptographic Token Interface Current Mechanisms 
> Specification Version 2.40 Committee Specification Draft 06 / Public 
> Review Draft 06 (MS
> Word)
> Download Latest Revision
> <https://www.oasis-open.org/apps/org/workgroup/pkcs11/download.php/534
> 92/latest/pkcs11-curr-v2.40-csprd06.doc>
> Public Download Link
> <https://www.oasis-open.org/committees/document.php?document_id=53492&;
> wg_abbrev=pkcs11>
> ----------------------------------------------------------------------
> --
> *Submitter*: Mr. Chris Zimman
> *Group*: OASIS PKCS 11 TC
> *Folder*: Working Drafts
> *Date submitted*: 2014-07-02 10:07:13
>


---------------------------------------------------------------------
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 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]