\chapter[Appendix]{Sealing LUKS encryption key with PCRs in a TPM} \label{adx:luks} \lstinputlisting[language=bash, caption={\texttt{create-luks-tpm.sh}: Script to create a new LUKS key}, label={code:tbcreatelukssh}]{../../trustedboot/create-luks-tpm.sh} \lstinputlisting[caption={\texttt{kernel-command-line.txt}: Command line for the Kernel}, label={code:tbcommandlinetxt}]{../../trustedboot/kernel-command-line.txt} \lstinputlisting[language=bash, caption={\texttt{passphrase-from-tpm.sh}: Initramfs-script to ask the TPM for the LUKS key}, label={code:tbpassphrasesh}]{../../trustedboot/passphrase-from-tpm.sh} \lstinputlisting[language=bash, caption={\texttt{update-luks-tpm.sh}: Script for updating the Sealing of the TPM Object with new PCR values}, label={code:tbupdatetpmsh}]{../../trustedboot/update-luks-tpm.sh} \lstinputlisting[language=bash, caption={\texttt{update-kernel.sh}: Script for updating the unified Kernel}, label={code:tbupdatekernelsh}]{../../trustedboot/update-kernel.sh} \lstinputlisting[language=bash, caption={\texttt{install.sh}: Script to install Trusted Boot on Ubuntu}, label={code:tbinstallsh}]{../../trustedboot/install.sh} \chapter{TCP/IP Wrapper for the Xaptum ECDAA Protocol} \section{Common source files for all DAA parties} \lstinputlisting[caption={\texttt{common.h}}, label={code:daacommonh}]{../../ecdaa-network-wrapper/common.h} \lstinputlisting[caption={\texttt{common.c}}, label={code:daacommonc}]{../../ecdaa-network-wrapper/common.c} \lstinputlisting[caption={\texttt{client.h}}, label={code:daaclienth}]{../../ecdaa-network-wrapper/client.h} \lstinputlisting[caption={\texttt{client.c}}, label={code:daaclientc}]{../../ecdaa-network-wrapper/client.c} \lstinputlisting[caption={\texttt{server.h}}, label={code:daaserverh}]{../../ecdaa-network-wrapper/server.h} \lstinputlisting[caption={\texttt{server.c}}, label={code:daaserverc}]{../../ecdaa-network-wrapper/server.c} \section{Source files for the DAA Issuer} \lstinputlisting[caption={\texttt{issuer.h}}, label={code:daaissuerh}]{../../ecdaa-network-wrapper/issuer.h} \lstinputlisting[caption={\texttt{issuer.c}}, label={code:daaissuerc}]{../../ecdaa-network-wrapper/issuer.c} \section{Source files for the DAA Member} \lstinputlisting[caption={\texttt{member.h}}, label={code:daamemberh}]{../../ecdaa-network-wrapper/member.h} \lstinputlisting[caption={\texttt{member.c}}, label={code:daamemberc}]{../../ecdaa-network-wrapper/member.c} \section{Source files for the DAA Member with TPM support} \lstinputlisting[caption={\texttt{member-tpm.h}}, label={code:daamembertpmh}]{../../ecdaa-network-wrapper/member-tpm.h} \lstinputlisting[caption={\texttt{member-tpm.c}}, label={code:daamembertpmc}]{../../ecdaa-network-wrapper/member-tpm.c} \lstinputlisting[caption={\texttt{daa-test-tpm.}}, label={code:daakeyutilh}]{../../ecdaa-network-wrapper/daa-test-tpm.h} \lstinputlisting[caption={\texttt{create\_tpm\_key-util.c}}, label={code:daakeyutilc}]{../../ecdaa-network-wrapper/create_tpm_key-util.c} \section{Source files for the DAA Verifier} \lstinputlisting[caption={\texttt{verifier.h}}, label={code:daaverifierh}]{../../ecdaa-network-wrapper/verifier.h} \lstinputlisting[caption={\texttt{verifier.c}}, label={code:daaverifierc}]{../../ecdaa-network-wrapper/verifier.c}