Add initial pass on a multi-part test driver
Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h
index 67c53db..0ea8073 100644
--- a/include/psa/crypto_struct.h
+++ b/include/psa/crypto_struct.h
@@ -164,6 +164,12 @@
{
unsigned dummy; /* Enable easier initializing of the union. */
mbedtls_cipher_context_t cipher;
+#if defined(MBEDTLS_PSA_CRYPTO_DRIVERS)
+ struct {
+ unsigned int id;
+ void* ctx;
+ } driver;
+#endif
} ctx;
};