diff options
author | Kangheui Won <khwon@chromium.org> | 2020-10-02 16:12:02 +1000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-10-19 06:53:51 +0000 |
commit | 362ec8dee21950b1f5e7f209c22311d7bebfb435 (patch) | |
tree | be4bc4aad99940c03410ea10dcab57169dd46973 /src/soc/intel/cannonlake/cpu.c | |
parent | 5b6ec3e4dcd63baea3355dd1af075ae44b4cd091 (diff) |
amd/picasso/verstage: replace rsa accel with modexp
Replace vb2ex_hwcrypto_rsa_verify_digest with vb2ex_hwcrypto_modexp.
Instead of using hardware acceleration for whole RSA process,
acclerating only calculation part(modexp) increases transparency
without affecting boot time.
BUG=b:169157796
BRANCH=zork
TEST=build and flash, check time spent on RSA is not changed
Change-Id: I085f043bf2014615d2c9db6df0b7947ee84b9546
Signed-off-by: Kangheui Won <khwon@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45987
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/cpu.c')
0 files changed, 0 insertions, 0 deletions