-
Notifications
You must be signed in to change notification settings - Fork 23
fix (wh_message): Standardize Message Translation and Enhance Safety #236
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
fix (wh_message): Standardize Message Translation and Enhance Safety #236
Conversation
|
Can one of the admins verify this patch? |
bigbrett
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.
@kaabia please remove the changes I flagged as unnecessary
3bcb435 to
3e1df6e
Compare
|
@kaabia looks like CI is failing. Could you please rebase this ontop of the latest? I believe that will fix the CI falure. |
- Replace wh_Translate32/64 usages with WH_T32/WH_T64/WH_T64 macros in message translation files. - Use WH_NVM_LABEL_LEN for label memcpy to avoid sizeof mismatch. - Make internal DMA translation helpers static and add NULL checks. - Change hashType from int to uint32_t in wh_message_crypto.h for consistent (de)serialization. Signed-off-by: Badr Bacem KAABIA <badrbacemkaabia@gmail.com>
3e1df6e to
4828814
Compare
Sorry for the late respond. |
This Pull Request standardizes message field translation using internal macros and implements several fixes to enhance message handling safety and consistency across communication and crypto message files;
Key changes: