tcgbios: Add test cases and test script to run them

Add test cases for sha1, sha256, sha384, and sha512 and a test script
to run the test cases.

The tests are passing on little and big endian machines (Fedora 28).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
5 files changed