Files
OpenCellular/board
Vadim Bendebury ea36e7d59b cr50: fix hash test code memory management
The hash test code memory management is somewhat loose: it does not
clean up allocated buffer, but then uses it to check for presence of
the previously created handles, which can result in false positives.

Let's zero the buffer each time it is allocated and let's use
hash_test_db.contexts as the indicator if the buffer is allocated or
not.

BRANCH=cr50
BUG=none
TEST=ran ./test/tpm_test/tpmtest.py, observed rsa tests pass.

Change-Id: Iad4b4e2662fc7266ee6f556f6ddfd0051e7172d7
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/665321
Reviewed-by: Shawn N <shawnn@chromium.org>
2017-09-26 16:14:05 -07:00
..
2017-09-14 11:36:35 -07:00
2017-09-25 18:35:26 -07:00
2017-03-16 11:25:50 -07:00
2017-08-23 17:01:21 -07:00
2017-09-07 15:01:05 -07:00
2017-09-19 17:30:54 -07:00
2017-05-18 06:03:52 -07:00
2017-09-25 11:32:18 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00