aboutsummaryrefslogtreecommitdiff
path: root/CpriRNG_fp.h
AgeCommit message (Collapse)Author
2015-06-06reformat added filesVadim Bendebury
This patch is the result of running the following script inside chroot: $ for f in $(git diff bfc1e79 | grep -A1 '^\-\-\- /dev/null' | \ grep '^\+\+' awk -F/ '{print $2}'); do # for all added files rm -f /tmp/clf.h # remove the placeholder file mcomms $f > /tmp/clf.h # a hepler script putting multiline comments in one line rm -f $f clang-format --style=Google /tmp/clf.h > $f done BUG=none TEST=verified that make still succeeds and that $ objdump -d build/tpm2lib | md5sum returns the same value before and after this patch Change-Id: I7e2dca6a1fdd1d77b1c77f3b6cdd3433556d9c1d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/275681 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2015-06-03Changes to allow compilation of CryptUtil.cVadim Bendebury
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null CryptUtil.c Change-Id: Ic3597350f5ebe1871a842b7cb75653531eb99ee2 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274007 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2015-06-03Changes to allow compilation of CpriECC.cVadim Bendebury
Some openssl includes do not meet this module's expectations, a definition of ec_group_st (which is tyoedefed to EC_CURVE) was added to resolve compilation issues. This structure contents will have to be refined. CpriDataECC.c is not supposed to be a separate compilation unit, and as such it is being removed from Makefile. BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null CpriECC.c Change-Id: Ib37e34d567f95af20a064acd70c706a6359edd8c Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274099 Reviewed-by: Darren Krahn <dkrahn@chromium.org>
2015-06-03Changes to allow compilation of CpriCryptPri.cVadim Bendebury
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null CpriCryptPri.c Change-Id: Ica85c72e8472d8f6bfafdf15ae2d98e0874bd945 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274098 Reviewed-by: Darren Krahn <dkrahn@chromium.org>
2015-06-02Changes to allow compilation of ActivateCredential.cVadim Bendebury
This patch provides plumbing necessary to compile ActivateCredential.c. Most of the new files are currently empty - they are listed as includes, but no information from them is required for this particular compilation. The *_fp.h files provide necessary function prototypes, only few of these prototypes are required at this time. TPM_Types.h is a purged copy of https://github.com/tianocore/edk2.git:MdePkg/Include/IndustryStandard/Tpm20.h (at e9a1e37), which can not be copied directly due to some definition collisions with this package. Some more items will be copied later. BUG=none TEST=running make now results in the ./build directory created: $ make 2>/dev/null > /dev/null # Suppress other compile errors $ ls build ActivateCredential.o Change-Id: Ie3e52923306d33ee697e2b9e739f715cbb8913aa Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>