Merge pull request #269 from adrianlshaw/version

Add PSA API versioning
diff --git a/include/psa/crypto.h b/include/psa/crypto.h
index 1e7aaa8..68a4f65 100644
--- a/include/psa/crypto.h
+++ b/include/psa/crypto.h
@@ -57,6 +57,22 @@
  * algorithms, key types, policies, etc. */
 #include "crypto_types.h"
 
+/** \defgroup API version
+ * @{
+ */
+
+/**
+ * The major version of this implementation of the PSA Crypto API
+ */
+#define PSA_CRYPTO_API_VERSION_MAJOR 1
+
+/**
+ * The minor version of this implementation of the PSA Crypto API
+ */
+#define PSA_CRYPTO_API_VERSION_MINOR 0
+
+/**@}*/
+
 /* The file "crypto_values.h" declares macros to build and analyze values
  * of integral types defined in "crypto_types.h". */
 #include "crypto_values.h"