psa: Add get/set domain parameters
DSA and static DH need extra domain parameters. Instead of passing these
in with the keys themselves, add get and set functions to set and
retrieve this information about keys.
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index bb53f81..9cfdcdd 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -727,7 +727,7 @@
}
/* Retrieve an empty key slot (slot with no key data, but possibly
- * with some metadata such as a policy). */
+ * with some metadata such as a policy or domain parameters). */
static psa_status_t psa_get_empty_key_slot( psa_key_handle_t handle,
psa_key_slot_t **p_slot )
{