Added a check for non-zero dictionary attack counters.

On every boot we attempt to measure the TPM dictionary attack counter.
We send a metric and log if the counter was successfully measured and if
it is non-zero.

BUG=chromium:341358
TEST=manual

Change-Id: I27bc21a9a581f9062e3b253b666da63ca7a7f948
Reviewed-on: https://chromium-review.googlesource.com/185494
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
1 file changed