Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Issue 3116014: Add method to get random bytes from the TPM. (Closed)

Created:
10 years, 4 months ago by fes
Modified:
9 years, 7 months ago
Reviewers:
seano, Will Drewry
CC:
chromium-os-reviews_chromium.org
Base URL:
http://src.chromium.org/git/tpm_init.git
Visibility:
Public.

Description

Add method to get random bytes from the TPM. Change-Id: I66d8a746be5add2d277e2a0783c562206084fcb4 BUG=227 TEST=manual

Patch Set 1 #

Patch Set 2 : Make sure to free the TSS-allocated buffer. #

Total comments: 2

Patch Set 3 : Change int to size_t. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M tpm.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tpm.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M tpm_init.h View 1 chunk +7 lines, -0 lines 0 comments Download
M tpm_init.cc View 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fes
10 years, 4 months ago (2010-08-16 22:07:20 UTC) #1
seano
LGTM (This is my first review of a CL in this repo, so I may ...
10 years, 4 months ago (2010-08-23 13:46:44 UTC) #2
Will Drewry
One nit, but otherwise looks good. http://codereview.chromium.org/3116014/diff/3001/4001 File tpm.cc (right): http://codereview.chromium.org/3116014/diff/3001/4001#newcode603 tpm.cc:603: SecureBlob random(length); Doesn't ...
10 years, 4 months ago (2010-08-23 15:28:21 UTC) #3
fes
http://codereview.chromium.org/3116014/diff/3001/4001 File tpm.cc (right): http://codereview.chromium.org/3116014/diff/3001/4001#newcode603 tpm.cc:603: SecureBlob random(length); Parameter changed to size_t.
10 years, 4 months ago (2010-08-23 20:34:38 UTC) #4
Will Drewry
10 years, 4 months ago (2010-08-24 01:22:30 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698