Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation on embedded platforms #2676

Merged

Commits on Aug 8, 2023

  1. Fix FormatStrings for non-32-bit platforms

    The use of uint32_t require %PRIx32 instead of %x on
    non-32-bit-platforms.
    Changed the FormatStrings accordingly for ESYS, MU and RC.
    Missing FAPI and tests.
    
    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    8df54ab View commit details
    Browse the repository at this point in the history
  2. Test: Fix fuzz testing include

    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    e2d7386 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Util: Separate out Util-IO from Util

    In order to allow building on embedded platforms (without any
    TCTIs) the IO functions from util have been separated out into
    their own library
    
    Co-authored-by: wenxin.leong <wenxin.leong@infineon.com>
    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM and wxleong committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    dc4be31 View commit details
    Browse the repository at this point in the history
  2. tcti-spi/i2c-helper: Use builtin endianess conversion

    Instead of relying on the endian.h functions (which are not
    available on all platforms) use the tss2_engian.h file which
    includes also a customer implementation.
    
    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    26eab42 View commit details
    Browse the repository at this point in the history
  3. tctildr: Compile robustly without default tctis

    tctildr (dl and nodl) will attempt to load some tctis in a certain
    order by default. If the project is compiled without said tctis, it
    would fail so far.
    Fix this and provide a runtime error instead of compile time.
    
    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d6fb782 View commit details
    Browse the repository at this point in the history
  4. Configure: Fix enable/disable help message for libpolicy

    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    5225565 View commit details
    Browse the repository at this point in the history
  5. INSTALL.md: Add embedded build instructions

    Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>
    AndreasFuchsTPM committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8276939 View commit details
    Browse the repository at this point in the history