|
|
|
@ -30,12 +30,15 @@ From Ubuntu 20.10 and later, installing `libtss2-dev` should work. |
|
|
|
|
|
|
|
For Ubuntu 20.04, this should be built from source: |
|
|
|
``` |
|
|
|
# Install further required packages for building this lib |
|
|
|
apt install autoconf autoconf-archive libcmocka0 libcmocka-dev procps iproute2 \ |
|
|
|
pkg-config libtool libssl-dev uthash-dev libjson-c-dev libini-config-dev |
|
|
|
# Build the tpm2-tss lib from source |
|
|
|
../.travis/install-tpm2-tss.sh ./tpm2-tss /usr |
|
|
|
``` |
|
|
|
|
|
|
|
### Installing xaptum/ecdaa |
|
|
|
When the TPM should be available for use on this host, set `TEST_USE_TCP_TPM` accordingly |
|
|
|
When the TPM should be available for use on this host, set `ECDAA_TPM_SUPPORT` accordingly |
|
|
|
``` |
|
|
|
# Build the project from source with TPM support |
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DECDAA_CURVES=FP256BN -DCMAKE_INSTALL_PREFIX=/usr -DECDAA_TPM_SUPPORT=ON |
|
|
|
|