Chromium Code Reviews| Index: tpm.h |
| diff --git a/tpm.h b/tpm.h |
| index 559c053d879551bfab1996ce11271d26fb4b0d78..97c4d7dee4483a72184ad440579152e0431b941f 100644 |
| --- a/tpm.h |
| +++ b/tpm.h |
| @@ -68,6 +68,13 @@ class Tpm { |
| // call to Tspi_TPM_TakeOwnership. |
| bool InitializeTpm(); |
| + // Gets random bytes from the TPM |
| + // |
| + // Parameters |
| + // length - The number of bytes to get |
| + // data (OUT) - The random data from the TPM |
| + bool GetRandomData(size_t length, chromeos::Blob* data); |
| + |
| private: |
| // Attempts to connect to tcsd |
| // |