Christian Walter has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34666 )
Change subject: vendorcode/eltan/security/lib: Add missing vb2ex_printf()
......................................................................
Patch Set 2: -Code-Review
Patch Set 2:
Patch Set 2: Code-Review-1
Why do you need that code? And why do you just copy it over? And why do you have to add this into all stages? I can"t see this print get used anywhere.
Function vb2_rsa_verify_digest (file 3rdparty/vboot/firmware/2lib/include/2rsa.c) calls VB2_DEBUG. This VB2_DEBUG is defined as vb2ex_printf.
Did a retry and noticed that this function is required for bootblock stage only.
Okay - then you might want to remove it form the other stages. Can't you use the function which is already in coreboot for this? I guess because you are doing your own implementation of VBOOT this might be a bit tricky.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34666
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3f649f3faf1e812d592e4981bc75698e2cad1cc8
Gerrit-Change-Number: 34666
Gerrit-PatchSet: 2
Gerrit-Owner: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Lance Zhao
lance.zhao@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Mon, 05 Aug 2019 11:00:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment