Skip to content

Commit

Permalink
Merge pull request #8382 from aidangarske/tpm_zephyr_support
Browse files Browse the repository at this point in the history
Added neccesary macros when building wolfTPM Zephyr with wolfSSL
  • Loading branch information
dgarske authored Jan 27, 2025
2 parents e1534a3 + 146080e commit 6ed0a97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ extern void uITRON4_free(void *p) ;
#if !defined(CONFIG_NET_SOCKETS_POSIX_NAMES) && !defined(CONFIG_POSIX_API)
#define CONFIG_NET_SOCKETS_POSIX_NAMES
#endif
#endif
#endif /* WOLFSSL_ZEPHYR */

#ifdef WOLFSSL_IMX6
#ifndef SIZEOF_LONG_LONG
Expand Down
6 changes: 6 additions & 0 deletions zephyr/user_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ extern "C" {
#define WOLFSSL_SET_CIPHER_BYTES
#endif

/* wolfTPM Zephyr */
#if defined(CONFIG_WOLFTPM)
#define WOLF_CRYPTO_CB
#define WOLFSSL_AES_CFB
#endif

/* ------------------------------------------------------------------------- */
/* Algorithms */
/* ------------------------------------------------------------------------- */
Expand Down

0 comments on commit 6ed0a97

Please sign in to comment.