<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/tpm/Kconfig, branch v2017.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/tpm/Kconfig?h=v2017.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/tpm/Kconfig?h=v2017.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-03-26T19:22:58Z</updated>
<entry>
<title>lib: tpm: Add command to list resources</title>
<updated>2017-03-26T19:22:58Z</updated>
<author>
<name>mario.six@gdsys.cc</name>
<email>mario.six@gdsys.cc</email>
</author>
<published>2017-03-20T09:28:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d1df0e363ff13b7aed17f9bb576d045f26c3f74'/>
<id>urn:sha1:3d1df0e363ff13b7aed17f9bb576d045f26c3f74</id>
<content type='text'>
It is sometimes convenient to know how many and/or which resources are
currently loaded into a TPG, e.g. to test is a flush operation succeeded.

Hence, we add a command that lists the resources of a given type currently
loaded into the TPM.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tpm: Add function to load keys via their parent's SHA1 hash</title>
<updated>2017-03-26T19:22:58Z</updated>
<author>
<name>mario.six@gdsys.cc</name>
<email>mario.six@gdsys.cc</email>
</author>
<published>2017-03-20T09:28:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0f4b2ba1762d74c0b5520d99a58796d6ca78abf0'/>
<id>urn:sha1:0f4b2ba1762d74c0b5520d99a58796d6ca78abf0</id>
<content type='text'>
If we want to load a key into a TPM, we need to know the designated parent
key's handle, so that the TPM is able to insert the key at the correct place in
the key hierarchy.

However, if we want to load a key whose designated parent key we also
previously loaded ourselves, we first need to memorize this parent key's handle
(since the handles for the key are chosen at random when they are inserted into
the TPM). If we are, however, unable to do so, for example if the parent key is
loaded into the TPM during production, and its child key during the actual
boot, we must find a different mechanism to identify the parent key.

To solve this problem, we add a function that allows U-Boot to load a key into
the TPM using their designated parent key's SHA1 hash, and the corresponding
auth data.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>lib: tpm: Add command to flush resources</title>
<updated>2017-02-01T08:02:57Z</updated>
<author>
<name>Mario Six</name>
<email>mario.six@gdsys.cc</email>
</author>
<published>2017-01-11T15:00:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7690be35deaeac1cb51a5f7896c2a46afabdfad3'/>
<id>urn:sha1:7690be35deaeac1cb51a5f7896c2a46afabdfad3</id>
<content type='text'>
This patch adds a function to the TPM library, which allows U-Boot to
flush resources, e.g. keys, from the TPM.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>tpm: atmel_twi: Make compatible with DM I2C busses</title>
<updated>2016-08-15T20:12:00Z</updated>
<author>
<name>mario.six@gdsys.cc</name>
<email>mario.six@gdsys.cc</email>
</author>
<published>2016-07-18T11:47:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=03dcd410d70b7251ac82f78088123e23170591d4'/>
<id>urn:sha1:03dcd410d70b7251ac82f78088123e23170591d4</id>
<content type='text'>
Commit 302c5db ("dm: tpm: Add Driver Model support for tpm_atmel_twi
driver") converted the Atmel TWI TPM driver itself to driver model, but
kept the legacy-style i2c_write/i2c_read calls.

Commit 3e7d940 ("dm: tpm: Every TPM drivers should depends on DM_TPM")
then made DM_I2C a dependency of the driver, effectively forcing users
to turn on CONFIG_DM_I2C_COMPAT to get it to work.

This patch adds the necessary dm_i2c_write/dm_i2c_read calls to make the
driver compatible with DM, but also keeps the legacy calls in ifdefs, so
that the driver is now compatible with both DM and non-DM setups.

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Andreas Bießmann &lt;andreas@biessmann.org&gt;
</content>
</entry>
<entry>
<title>tpm: st33zp24: Add tpm st33zp24 spi support</title>
<updated>2016-01-29T04:01:22Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-01-21T22:27:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b75fdc11ebcd3607f840a00363679a3a5cbc8da4'/>
<id>urn:sha1:b75fdc11ebcd3607f840a00363679a3a5cbc8da4</id>
<content type='text'>
Add support for TPM ST33ZP24 spi.

The ST33ZP24 does have a spi interface.
The transport protocol is proprietary.

For spi we are relying only on DM_SPI.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
</content>
</entry>
<entry>
<title>tpm: st33zp24: Add tpm st33zp24 support with i2c</title>
<updated>2016-01-29T04:01:22Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-01-21T22:27:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3aa74088d4d3cedcfed403fea8eb75831021959a'/>
<id>urn:sha1:3aa74088d4d3cedcfed403fea8eb75831021959a</id>
<content type='text'>
Add support for TPM ST33ZP24 family with i2c.

For i2c we are relying only on DM_I2C.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
</content>
</entry>
<entry>
<title>tpm: tpm_tis_lpc: fix typo</title>
<updated>2016-01-29T04:01:22Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2016-01-21T22:19:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ca5bc1bc107c0413f96a6d79b4e95278a37c0cce'/>
<id>urn:sha1:ca5bc1bc107c0413f96a6d79b4e95278a37c0cce</id>
<content type='text'>
TPM_TIS_LPC is connected to the LPC bus, not I2C.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
</content>
</entry>
<entry>
<title>dm: tpm: Drop CONFIG_DM_TPM</title>
<updated>2015-10-23T15:42:28Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-10-03T12:39:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2419cd16a1357a6d0f394b4631ea07b4f9e85ac7'/>
<id>urn:sha1:2419cd16a1357a6d0f394b4631ea07b4f9e85ac7</id>
<content type='text'>
Now that all TPM drivers use driver model, we can drop the special driver
model CONFIG option.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Christophe Ricard&lt;christophe-h.ricard@st.com&gt;
</content>
</entry>
<entry>
<title>dm: tpm: Every TPM drivers should depends on DM_TPM</title>
<updated>2015-10-23T15:42:28Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-10-06T20:54:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3e7d940bb695fd8ba450dde7742a58a224efaee4'/>
<id>urn:sha1:3e7d940bb695fd8ba450dde7742a58a224efaee4</id>
<content type='text'>
Every TPM drivers should now depends on DM_TPM and not only TPM.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: tpm: Add Driver Model support for tpm_atmel_twi driver</title>
<updated>2015-10-23T15:42:28Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-10-06T20:54:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=302c5dba0a6eeb5846b628d3d59978dc0751def9'/>
<id>urn:sha1:302c5dba0a6eeb5846b628d3d59978dc0751def9</id>
<content type='text'>
tpm_atmel_twi can fit perfectly to the new UCLASS_TPM class.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
