summaryrefslogtreecommitdiff
path: root/ta/pkcs11/include/pkcs11_ta.h
diff options
context:
space:
mode:
Diffstat (limited to 'ta/pkcs11/include/pkcs11_ta.h')
-rw-r--r--ta/pkcs11/include/pkcs11_ta.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ta/pkcs11/include/pkcs11_ta.h b/ta/pkcs11/include/pkcs11_ta.h
index 09b99658..7d404f8b 100644
--- a/ta/pkcs11/include/pkcs11_ta.h
+++ b/ta/pkcs11/include/pkcs11_ta.h
@@ -423,6 +423,22 @@ enum pkcs11_ta_cmd {
*/
PKCS11_CMD_VERIFY_ONESHOT = 32,
+ /*
+ * PKCS11_CMD_GENERATE_KEY - Generate a symmetric key or domain
+ * parameters
+ *
+ * [in] memref[0] = [
+ * 32bit session handle,
+ * (struct pkcs11_attribute_head)mechanism + mecha params,
+ * (struct pkcs11_object_head)attribs + attributes data
+ * ]
+ * [out] memref[0] = 32bit return code, enum pkcs11_rc
+ * [out] memref[2] = 32bit object handle
+ *
+ * This command relates to the PKCS#11 API function C_GenerateKey().
+ */
+ PKCS11_CMD_GENERATE_KEY = 33,
+
};
/*