tcgbios: Add support for SHA3 type of algorithms

Add support for SHA3 type of algorithms that the vTPM may support
some time in the future.

The algorithms are assigned in "TCG Algorithm Registry"
https://trustedcomputinggroup.org/resource/tcg-algorithm-registry/

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