pkcs11 message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: C_DeriveKeys
- From: Michael StJohns <msj@nthpermutation.com>
- To: pkcs11@lists.oasis-open.org
- Date: Tue, 02 Apr 2013 13:01:15 -0400
As a more generic mechanism - would it make sense to change (or add)
C_DeriveKey to C_DeriveKeys as below? This allows the output of one or
more keys (ulKeyCount) as defined by the pTemplates. The created key
handles are placed in phKeys. This has a nice side effect in that the
various TLS KDF functions no longer require a special mechanism
structure, and works well with functions that need to define a hierarchy
of keys.
C_DeriveKeys
CK_DEFINE_FUNCTION(CK_RV, C_DeriveKeys) (
CK_SESSION_HANDLE hSession,
CK_MECHANISM_PTR pMechanism,
CK_OBJECT_HANDLE hBaseKey,
CK_ULONG ulKeyCount,
CK_ATTRIBUTE_PTR[] pTemplates,
CK_ULONG[] ulAttributeCounts,
CK_OBJECT_HANDLE_PTR[] phKeys
);
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]