- Oct 10, 2017
-
-
Doug Goldstein authored
Updated the build containers to simplify the build process and not require us to install things at build time.
-
- Oct 09, 2017
-
-
Doug Goldstein authored
This reverts commit ff30fa81. This was actually incorrect as it was generated against a non-1.2.0 header.
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Doug Goldstein authored
Re-implement 7b608d55 since bindgen is still broken and when I re-generated the bindings with the newer version of bindgen this fix got undone.
-
Doug Goldstein authored
-
- Sep 29, 2017
-
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Doug Goldstein authored
Merged the TPM 1.2 and TPM 2.0 containers into one so switch to that.
-
Doug Goldstein authored
bindgen -o src/bindings.rs -lsapi --rust-target "1.0" \ --blacklist-type max_align_t --with-derive-default \ wrapper.h -I ../tpm2-tss/include
-
Doug Goldstein authored
-
- Sep 12, 2017
-
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Jonathan Creekmore authored
improve errors and expose TpmErrorKind See merge request !8
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Doug Goldstein authored
-
- Sep 11, 2017
-
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Jonathan Creekmore authored
fix the building with feature flags and add a test See merge request !7
-
Doug Goldstein authored
-
Doug Goldstein authored
-
Jonathan Creekmore authored
Complete NV ops See merge request !6
-
Doug Goldstein authored
Allows the user the read lock an NvRamArea.
-
Doug Goldstein authored
When creating the NvRamArea, we can set an NvRamArea password that can be used for further authentication. This exposes the ability to set that password.
-
Doug Goldstein authored
Instead of hardcoding the auth type handle to owner instead allow the user to specify owner or platform.
-
Jonathan Creekmore authored
-
Doug Goldstein authored
Added the ability to undefine an NvRamArea, along with an example named nvrelease to match the upstream utility name.
-
Doug Goldstein authored
Implemented Read for NvRamArea so that it is possible to read from an NvRamArea
-
Doug Goldstein authored
Instead of implementing a custom write function for the NvRamArea, this implements the Write and Seek traits so that standard operations can happen on an NvRamArea.
-
- Sep 08, 2017
-
-
Doug Goldstein authored
When we create TPM2B based types from existing data we need to ensure that we will not cause a buffer overflow. To make this more ergonomic, use the try_from crate to implement this.
-
Doug Goldstein authored
-
Doug Goldstein authored
For future methods to work, we need to store the Context inside of the NvRamArea.
-
Doug Goldstein authored
create a utils module for easy creation of a context from the env See merge request !4
-
Jonathan Creekmore authored
-
Jonathan Creekmore authored
cleanups and add ability to define NVRAM regions See merge request !3
-
Doug Goldstein authored
Extend the tests to define an NVRAM region and show it.
-
- Sep 07, 2017
-
-
Doug Goldstein authored
Added a define() method on NvRamArea to allow the ability to define an NVRAM index.
-
Doug Goldstein authored
TPMA_SESSION is a C union that is the same size as an uint8_t but bindgen believes its a uint32_t which is resulting in the wrong padding behavior.
-