Unregister drivers on library deinitialization
diff --git a/library/psa_crypto_se.h b/library/psa_crypto_se.h
index 1085f48..e99bd25 100644
--- a/library/psa_crypto_se.h
+++ b/library/psa_crypto_se.h
@@ -34,4 +34,12 @@
/** The maximum number of registered secure element driver lifetimes. */
#define PSA_MAX_SE_DRIVERS 4
+/** Unregister all secure element drivers.
+ *
+ * \warning Do not call this function while the library is in the initialized
+ * state. This function is only intended to be called at the end
+ * of mbedtls_psa_crypto_free().
+ */
+void psa_unregister_all_se_drivers( void );
+
#endif /* PSA_CRYPTO_SE_H */