-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from dgarske/fix_endorsement
Fixes for using endorsement hierarchy
- Loading branch information
Showing
14 changed files
with
357 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: WolfTPM CMake Build Tests | ||
|
||
on: | ||
push: | ||
branches: [ 'master', 'main', 'release/**' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
#pull wolfTPM | ||
- uses: actions/checkout@master | ||
|
||
# Install cmake | ||
- name: Install cmake | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cmake | ||
#pull and build wolfssl | ||
- uses: actions/checkout@master | ||
with: | ||
repository: wolfssl/wolfssl | ||
path: wolfssl | ||
- name: Build wolfssl | ||
working-directory: ./wolfssl | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DWOLFSSL_TPM=yes .. | ||
make | ||
sudo make install | ||
#build wolftpm | ||
- name: Build wolfTPM | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DWOLFTPM_INTERFACE=SWTPM .. | ||
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ set(TPM_SOURCES | |
src/tpm2_tis.c | ||
src/tpm2_winapi.c | ||
src/tpm2_wrap.c | ||
src/tpm2_cryptocb.c | ||
hal/tpm_io.c | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.