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

Zephyr port #2

Open
wants to merge 7 commits into
base: cmd_parsing
Choose a base branch
from
Open

Zephyr port #2

wants to merge 7 commits into from

Commits on Jul 20, 2022

  1. Initial ms-tpm-20-ref port to Zephyr

    Make ms-tpm-20-ref compile on Zephyr.
    arturkow2000 committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    b0774a2 View commit details
    Browse the repository at this point in the history
  2. Add -Wno-expansion-to-defined and -Wno-missing-braces flags

    Zephyr by default adds these flags to all components which causes
    unnecessary warnings in ms-tpm-20-ref.
    arturkow2000 committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    877f825 View commit details
    Browse the repository at this point in the history
  3. Refactor macros to avoid collision with Zephyr macros

    WolfSSL pulls in Zephyr headers which cause conflicts with some macros
    defined ms-tpm-ref. Eliminating Zephyr headers from WolfSSL is not
    feasible due to extensive usage of Zephyr types in public types. Neither
    this can be (easily) eliminated from ms-tpm-ref due to the same reason.
    The approach used is the least invasive method.
    arturkow2000 committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    5cde19f View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Merge pull request #4 from lpn-plant/warnings-fix

    Fix macro names conflicts and compiler warnings
    macpijan authored Jul 25, 2022
    Configuration menu
    Copy the full SHA
    a7aeaaf View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    d99434c View commit details
    Browse the repository at this point in the history
  2. Platform_fp.h: remove unused global and function declarations

    We keep only those functions that are called by ms-tpm. Previously
    Platform_fp.h had declarations for all "platform" functions but many of
    them were used only internally. Keeping stuff private gives better
    distinction between ms-tpm (universal) and platform specific
    implementation.
    arturkow2000 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    71a0444 View commit details
    Browse the repository at this point in the history
  3. Turn off simulation mode

    Simulation mode introduces additional test code and assertions, some of
    which are invalid in non-simulation.
    arturkow2000 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    afc8994 View commit details
    Browse the repository at this point in the history