Index: tpm_init.h |
diff --git a/tpm_init.h b/tpm_init.h |
index 0dc1086d0a9d0fb4aeb4c8b9e8402aab21f35189..e2e6bd16797cc5d1db679fefdc967a92546d222c 100644 |
--- a/tpm_init.h |
+++ b/tpm_init.h |
@@ -23,6 +23,13 @@ class TpmInit { |
virtual ~TpmInit(); |
+ // Gets random data from the TPM |
+ // |
+ // Parameters |
+ // length - The number of bytes to get |
+ // data (OUT) - Receives the random bytes |
+ virtual bool GetRandomData(int length, chromeos::Blob* data); |
+ |
// Starts asynchronous initialization of the TPM |
virtual bool StartInitializeTpm(); |