-
Notifications
You must be signed in to change notification settings - Fork 1.2k
core: kernel: use XOR for transfer list checksum #7531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: kernel: use XOR for transfer list checksum #7531
Conversation
|
Please fix the style issue reported by checkpatch. Tip: you can check locally using: ./scripts/checkpatch.sh github/master..Depending on your base branch, and that you have |
72fbdd1 to
01787a2
Compare
|
Thanks @jenswi-linaro, one thing I'm a bit unsure of is this line: My editor indicates the line is 76 chars, does the script convert tabs to spaces? |
I guess it counts a tab as 8 spaces. |
01787a2 to
1f0c077
Compare
etienne-lms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Would you mind updating the commit message header line?
-core: kernel: use XOR for checksum
+core: kernel: use XOR for transfer list checksumReviewed-by: Etienne Carriere <[email protected]> once addressed.
1f0c077 to
3139ba3
Compare
|
@etienne-lms did you want me to apply the reviewed line once I'd addressed your comment? |
|
|
Change checksum logic from sum to XOR in C implementation, matching the specification. Update transfer_list_update_checksum and verification functions accordingly. Signed-off-by: Harrison Mutai <[email protected]> Reviewed-by: Etienne Carriere <[email protected]> Acked-by: Jens Wiklander <[email protected]>
3139ba3 to
f65cab1
Compare
|
LGTM. Could you rebase your P-R? |
|
@etienne-lms, @jenswi-linaro I think we need to hold this off, there's a bit of an integration problem as U-Boot and TF-A still use the old scheme. Updating here will almost certainly break any configurations with those projects. Will get back to you once I have some clarification from this discussion [1]. |
|
This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Change checksum logic from sum to XOR in C implementation, matching the specification. Update transfer_list_update_checksum and verification functions accordingly.