16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename these
commonly used functions, for consistency. Also add function comments in
common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
27 Mar, 2017
3 commits
-
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
Reviewed-by: Simon Glass -
Commit 7690be35de ("lib: tpm: Add command to flush resources") added a command
to flush resources from a TPM.However, a previous development version was accidentially used to generate the
patch, resulting in a non-functional command.This patch fixes the flush command.
Signed-off-by: Mario Six
Reviewed-by: Simon Glass -
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
Reviewed-by: Simon Glass
01 Feb, 2017
1 commit
-
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
Reviewed-by: Stefan Roese
Reviewed-by: Simon Glass
Signed-off-by: Stefan Roese
15 Mar, 2016
1 commit
-
Use this new function in places where it simplifies the code.
Signed-off-by: Simon Glass
29 Jan, 2016
1 commit
-
In case CONFIG_DM_TPM was set without any TPM chipset configured a fault
was generated (NULL pointer access).Reviewed-by: Simon Glass
Signed-off-by: Christophe Ricard
25 Jan, 2016
1 commit
-
Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Heiko Schocher
Acked-by: Stefan Roese
Acked-by: Przemyslaw Marczak