File tree Expand file tree Collapse file tree
wolfcrypt/src/port/autosar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828#endif
2929
3030#include <wolfssl/wolfcrypt/settings.h>
31+
32+ #ifdef WOLFSSL_AUTOSAR
33+ #ifndef NO_WOLFSSL_AUTOSAR_CRYIF
34+
3135#include <wolfssl/version.h>
3236#include <wolfssl/wolfcrypt/port/autosar/Csm.h>
3337#include <wolfssl/wolfcrypt/port/autosar/CryIf.h>
3438#include <wolfssl/wolfcrypt/port/autosar/Crypto.h>
3539
36- #ifdef WOLFSSL_AUTOSAR
37- #ifndef NO_WOLFSSL_AUTOSAR_CRYIF
3840
3941#include <wolfssl/wolfcrypt/logging.h>
4042
Original file line number Diff line number Diff line change 2525#endif
2626
2727#include <wolfssl/wolfcrypt/settings.h>
28- #include <wolfssl/wolfcrypt/port/autosar/Csm.h>
29- #include <wolfssl/wolfcrypt/port/autosar/Crypto.h>
3028
3129#ifdef WOLFSSL_AUTOSAR
3230#ifndef NO_WOLFSSL_AUTOSAR_CRYPTO
3331
32+ #include <wolfssl/wolfcrypt/port/autosar/Csm.h>
33+ #include <wolfssl/wolfcrypt/port/autosar/Crypto.h>
3434#include <wolfssl/wolfcrypt/logging.h>
3535#include <wolfssl/wolfcrypt/aes.h>
3636#include <wolfssl/wolfcrypt/random.h>
Original file line number Diff line number Diff line change 2525#endif
2626
2727#include <wolfssl/wolfcrypt/settings.h>
28+
29+ #ifdef WOLFSSL_AUTOSAR
30+ #ifndef NO_WOLFSSL_AUTOSAR_CSM
31+
2832#include <wolfssl/wolfcrypt/logging.h>
2933#include <wolfssl/version.h>
3034#include <wolfssl/wolfcrypt/port/autosar/Csm.h>
3135#include <wolfssl/wolfcrypt/port/autosar/CryIf.h>
3236
33- #ifdef WOLFSSL_AUTOSAR
34- #ifndef NO_WOLFSSL_AUTOSAR_CSM
35-
3637
3738/* AutoSAR 4.4 */
3839/* basic shim layer to plug in wolfSSL crypto */
Original file line number Diff line number Diff line change 2424#endif
2525
2626#include <wolfssl/wolfcrypt/settings.h>
27+
28+ #ifdef WOLFSSL_AUTOSAR
29+
2730#include <wolfssl/wolfcrypt/logging.h>
2831#include <wolfssl/wolfcrypt/port/autosar/Csm.h>
2932#define BLOCK_SIZE 16
@@ -428,3 +431,5 @@ int main(int argc, char* argv[])
428431#endif /* REDIRECTION_CONFIG */
429432 return ret ;
430433}
434+
435+ #endif /* WOLFSSL_AUTOSAR */
You can’t perform that action at this time.
0 commit comments