Document:
Updated Chacha20/Salsa20 draft according to D Johnsons comments

Draft (A preliminary unapproved sketch, outline, or version.)

Details

Submitted By Stefan Marsiske on 2018-02-21 11:25 pm UTC

Publication Type

None at this time.

Group / Folder

OASIS PKCS 11 TC / Working Drafts

Modified by

Not modified.

Copy

This document is not a copy.

Technical Contact

None at this time.

Download Count

100

Download Agreement

None at this time.

Description

these were Darrens comments in a nutshell addressed in this update:

- "The mechanism generates Salsa20 keys with a particular length, as
specified in the CKA_VALUE_LEN attribute of the template for the
key" - in fact this lenght is fixed 256 bits.
- ulNonceBits or ulNonceLenInBits to be consistent with other places we use bits instead of bytes.
- "Key types that do not natively support an CKM_ECB mechanism typically define how their CKA_CHECK_VALUE is derived. See CKK_GENERIC_SECRET."