vboot2: Implement new vb2ex_hwcrypto API

Hardware / Coreboot - Julius Werner [chromium.org] - 18 April 2015 01:56 UTC

This patch aligns our verstage code to the new API addition in vboot2. The hardware crypto functions are stubbed out by default and just pretend that all algorithms are unsupported, causing vboot to fall back to the normal software hashing code. These weak symbols can be overridden by individual platform code to provide actual hardware crypto engine support.

CQ-DEPEND=CL:236453 BRANCH=None BUG=chrome-os-partner:32987 TEST=Booted Pinky, confirmed vboot falls back to software crypto.

Original-Change-Id: Idf6a38febd163aa2bff6e9a0e207213f01ca8324

3c90365 vboot2: Implement new vb2ex_hwcrypto API
src/vendorcode/google/chromeos/vboot2/verstage.c | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)

Upstream: review.coreboot.org


  • Share