summaryrefslogtreecommitdiff
path: root/board/nucleo-f411re/board.c
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2019-08-21 15:47:03 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-07 05:58:16 +0000
commitfb1d26a58e5511d70f747e8b943096c22dead07c (patch)
treeb94e1627f751050b06858978daab60c95c295192 /board/nucleo-f411re/board.c
parent53f59f6b361e8cf0a8d1af70306146db90ffae23 (diff)
downloadchrome-ec-fb1d26a58e5511d70f747e8b943096c22dead07c.tar.gz
tpmtest: added more corner case, make it work again with OpenSSL 1.1
The TPM test directory has bitrotted and does not compile any more, leave alone pass tests. This patch updates the tests to match changed EC codebase: test/tpm_test/Makefile - look for include files in more directories test/tpm_test/bn_test.c - 1. add support for OpenSSL 1.1 where BIGNUM structure became opaque and require special functions to access it. 2. added backward compatibility layer for OpenSSL 1.0.2 3. fixed issues with OpenSSL memory allocations 4. added support to print details of failure 5. added more cases for modulo inverse testing 6. added testing for bn_div to increase branch coverage BRANCH=cr50 BUG=none TEST=./test/tpm_test (../../build/tpm_test/bn_test) now passes Change-Id: Ida5fb07277909977f78ad1199e7a0f3677aabdc3 Signed-off-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1764711 Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'board/nucleo-f411re/board.c')
0 files changed, 0 insertions, 0 deletions