attestationd: expose Hmac funcs in CryptoUtility.

We need to calculate HmacSha256 for attestation-based enrollment.
I am also exporting HmacSha512 for consistency.

BUG=chromium:641153
TEST=Unit tests

Change-Id: Ia36fe764bdae0a91bc4e20da09f4a8e59c60dac4
Reviewed-on: https://chromium-review.googlesource.com/741161
Commit-Ready: Pat Erley <perley@chromium.org>
Tested-by: Marco Vanotti <mvanotti@google.com>
Reviewed-by: Yves Arrouye <drcrash@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
5 files changed