-
Notifications
You must be signed in to change notification settings - Fork 864
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
[ubsan][wallet] Spanifying wallet key signing #25837
Conversation
[puLL-Merge] - brave/brave-core@25837 DescriptionThis PR makes several changes to the Brave Wallet codebase, primarily focusing on improving the handling of byte arrays and enhancing the security of cryptographic operations. The main changes involve replacing ChangesChanges
Possible IssuesNo major issues are apparent in this change. The modifications seem to be focused on improving the API and making it more efficient and safer to use. Security HotspotsThere are no obvious security vulnerabilities introduced by this change. In fact, the use of |
This is a general rework away from `const std::vector<uint8_t>&` when passing bytes around to using `span` instances, which are more generic. It is also much preferred that with `span` we can pass the data around by value, rather than by reference.
3621fb6
to
43eb3da
Compare
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.
wallet core lgtm
Released in v1.72.66 |
This is a general rework away from
const std::vector<uint8_t>&
when passing bytes around to usingspan
instances, which are more generic. It is also much preferred that withspan
we can pass the data around by value, rather than by reference.Resolves brave/brave-browser#41433
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: