diff --git a/include/psa/crypto_driver.h b/include/psa/crypto_driver.h index f6fe04835..b2e3a1d5f 100644 --- a/include/psa/crypto_driver.h +++ b/include/psa/crypto_driver.h @@ -31,6 +31,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** The following types are redefinitions from the psa/crypto.h file. * It is intended that these will be moved to a new common header file to * avoid duplication. They are included here for expediency in publication. @@ -1776,4 +1780,8 @@ typedef struct { /**@}*/ +#ifdef __cplusplus +} +#endif + #endif /* PSA_CRYPTO_DRIVER_H */