Repository navigation
rimage signing support for CAVS2.5 - #33
Merged
Merged
Conversation
Member
Author
|
@lyakh @juimonen @harshapriya-n @mwasko @cujomalainey @singalsu fyi |
Member
Author
|
@juimonen btw, a quick way to visualise any delta can be done using meld after stripping ext manifest and converting to text. i.e. You will also need to force rimage signing in xtensa-build-all for tgl |
|
@lgirdwood it seems that meu is calculating crc32 checksum... |
Now aligns with actual offsets. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Header contests are the same but with bigger key. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add simple crc32 function to calculate the checksum for v2.5 headers. Implementation is very simple using shift register as we don't require speed. Calculate the v2.5 header checksum with crc-32/iso-hdlc parameters. Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
cavs2.5 has different offsets and structures. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add RSA PSS signing support for CAVS 2.5 platforms. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Used by other clients now. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
cavs2.5 has different offsets for plat auth data. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
cavs 2.5 uses a larger key and the RSA signing PSS mode. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This type was used by early versions of meu, but the hash is not used in later versions. Leave the code in in case it has to come back. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
lgirdwood
force-pushed
the
lrg/topic/cavs25
branch
from
November 12, 2020 22:20
544614e to
aceed1f
Compare
Member
Author
|
@juimonen can you check if we need any changes to SOF build scripts to use rimage for TGL. Thanks |
|
@lgirdwood yes we need this: thesofproject/sof#3604 |
Add support to verify signatures of cavs firmware binaries. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
lgirdwood
force-pushed
the
lrg/topic/cavs25
branch
from
November 16, 2020 10:35
aceed1f to
16c8661
Compare
Member
Author
|
CI showing checkpatch warnings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will add signing support for CAVS2.5 platforms. Key differences are hashes are now SHA384 and signing is now RSA PSS. This is a plan B until meu can be released.
TODO: