Kangheui Won has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
amd/picasso/psp_verstage: Add modexp svc wrapper
The PSP bootloader version 0.08.0B.7B added support for the Mod Exp svc call.
BUG=b:169157796 BRANCH=zork TEST=build verstage for zork
Signed-off-by: Kangheui Won khwon@chromium.org Change-Id: Ifdbf20544b21b7fa90a49c5497ff4a5da61bebb1 --- M src/soc/amd/picasso/psp_verstage/svc.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/45985/1
diff --git a/src/soc/amd/picasso/psp_verstage/svc.c b/src/soc/amd/picasso/psp_verstage/svc.c index eff0261..b847276 100644 --- a/src/soc/amd/picasso/psp_verstage/svc.c +++ b/src/soc/amd/picasso/psp_verstage/svc.c @@ -157,3 +157,10 @@ SVC_CALL1(SVC_RSAPKCS_VERIFY, rsa_params, retval); return retval; } + +uint32_t svc_modexp(MOD_EXP_PARAMS *mod_exp_param) +{ + uint32_t retval = 0; + SVC_CALL1(SVC_MODEXP, mod_exp_param, retval); + return retval; +}
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
Patch Set 1: Code-Review+2
Eric Peers has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
Patch Set 1: Code-Review+1
Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
Patch Set 1: Code-Review+1
Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
Patch Set 1: Code-Review+2
Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/45985 )
Change subject: amd/picasso/psp_verstage: Add modexp svc wrapper ......................................................................
amd/picasso/psp_verstage: Add modexp svc wrapper
The PSP bootloader version 0.08.0B.7B added support for the Mod Exp svc call.
BUG=b:169157796 BRANCH=zork TEST=build verstage for zork
Signed-off-by: Kangheui Won khwon@chromium.org Change-Id: Ifdbf20544b21b7fa90a49c5497ff4a5da61bebb1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45985 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin Roth martinroth@google.com Reviewed-by: Eric Peers epeers@google.com Reviewed-by: Marshall Dawson marshalldawson3rd@gmail.com Reviewed-by: Edward O'Callaghan quasisec@chromium.org --- M src/soc/amd/picasso/psp_verstage/svc.c 1 file changed, 7 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Marshall Dawson: Looks good to me, but someone else must approve Edward O'Callaghan: Looks good to me, approved Eric Peers: Looks good to me, but someone else must approve
diff --git a/src/soc/amd/picasso/psp_verstage/svc.c b/src/soc/amd/picasso/psp_verstage/svc.c index eff0261..b847276 100644 --- a/src/soc/amd/picasso/psp_verstage/svc.c +++ b/src/soc/amd/picasso/psp_verstage/svc.c @@ -157,3 +157,10 @@ SVC_CALL1(SVC_RSAPKCS_VERIFY, rsa_params, retval); return retval; } + +uint32_t svc_modexp(MOD_EXP_PARAMS *mod_exp_param) +{ + uint32_t retval = 0; + SVC_CALL1(SVC_MODEXP, mod_exp_param, retval); + return retval; +}