mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
cr50 has CONFIG_UPTO_SHA512 defined, so the SHA digest size might be larger than one might think ;-) Set the right size for the operations using SHA-256 in the u2f code. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=cr50 BUG=b:35545754 TEST=pass U2FTest. Change-Id: Ica71da5b9b61f324ce3af3652e9ff7a17fac3432 Reviewed-on: https://chromium-review.googlesource.com/558087 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>