-
Notifications
You must be signed in to change notification settings - Fork 41
Namespace STACK_SIZE #1396
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
base: main
Are you sure you want to change the base?
Namespace STACK_SIZE #1396
Conversation
|
|
||
| #define STACK_SIZE (16*6 + 8*8 + 6*8 + (STACK_LOCS) * 8) | ||
| #define MLK_STACK_SIZE (16*6 + 8*8 + 6*8 + (STACK_LOCS) * 8) | ||
| #define STACK_BASE_GPRS (6*8) |
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.
We shouldn't namespace STACK_SIZE, but not the other macros; either all of them, or none.
hanno-becker
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.
If we do this we should namespace all macros in the assembly files.
Note that the lack of namespacing here is of little effect since all affected files are in dev/ and not in the main source tree.
a7001df to
59a18fd
Compare
e96e223 to
0878495
Compare
f855045 to
b6a4787
Compare
b6a4787 to
4db09cb
Compare
- The STACK_SIZE should namespace as MLK_STACK_SIZE to avoid clashing with symbols in consuming libraries. - Also, found a missing namespace macro called KECCAK_F1600_ROUNDS, also namespace it. - This commit also namespace rej_uniform_asm Signed-off-by: willieyz <[email protected]>
4db09cb to
5f64f67
Compare
Signed-off-by: willieyz <[email protected]>
Resolves: Namespace
STACK_SIZEin various assembly files #1395The STACK_SIZE should namespace as MLK_STACK_SIZE to avoid clashing with symbols in consuming libraries.