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