CC3XX: Extend HMAC to support arbitrary hash alg

Initial implementation of the HMAC in the refactored driver
supported only SHA256. Extend it to support arbitrary hash
algorithms as long as they're supported by the HW.

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I452f9cf3e05b2096a34d1f07985e3638628058b6
4 files changed