Files
OpenCellular/chip/g
Vadim Bendebury 3e73320f4d cr50: fix cryptography problems
A couple of issues were uncovered when testing hash implementation
more extensively (with multiple overlapping streams of data). This
patch fixes the problems.

BRANCH=none
BUG=chrome-os-partner:43025
TEST=the previously failing hash tests got not fail any more:
  $ ./test/tpm_test/tpmtest.py
  Starting MPSSE at 800 kHz
  Connected to device vid:did:rid of 1ae0:0028:00
  [...]
  SUCCESS: sha1:single 0
  SUCCESS: sha256:single 0
  SUCCESS: sha256:finish 1
  SUCCESS: sha1:finish 3
  SUCCESS: sha256:finish 2

Change-Id: I7ee857eec2dac2d9312df7db3b27e5a69ac55ad9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/314694
Reviewed-by: Nagendra Modadugu <ngm@google.com>
2015-12-03 02:21:20 -08:00
..
2015-12-03 02:21:20 -08:00
2015-07-30 19:58:09 +00:00
2014-12-06 01:11:22 +00:00
2014-10-31 22:32:50 +00:00
2015-06-18 19:07:00 +00:00
2015-08-15 01:32:39 +00:00
2015-08-14 21:04:38 +00:00
2015-04-02 20:27:46 +00:00
2015-12-01 22:36:57 -08:00