Declare key id 0 as invalid
In keeping with other integral types, declare 0 to be an invalid key
identifier.
Documented, implemented and tested.
diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h
index 40172b3..2ee8839 100644
--- a/include/psa/crypto_values.h
+++ b/include/psa/crypto_values.h
@@ -1442,7 +1442,7 @@
/** The minimum value for a key identifier chosen by the application.
*/
-#define PSA_KEY_ID_USER_MIN ((psa_key_id_t)0x00000000)
+#define PSA_KEY_ID_USER_MIN ((psa_key_id_t)0x00000001)
/** The minimum value for a key identifier chosen by the application.
*/
#define PSA_KEY_ID_USER_MAX ((psa_key_id_t)0x3fffffff)