You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your chacha implementation for a project and thought I'd report a very small issue.
Because the constants are too big for and, gcc is nice enough to assemble and sp, sp, #0xffffffe0 into the equivalent bic sp, sp, #31 and and sp, sp, #0xffffff80 into the equivalent bic sp, sp, #127. Clang however doesn't. Changing the source to use bic would make the code work on both compilers.
Thanks for the nice implementations!
Ted Krovetz
The text was updated successfully, but these errors were encountered:
Hello Andrew,
I'm using your chacha implementation for a project and thought I'd report a very small issue.
Because the constants are too big for
and
, gcc is nice enough to assembleand sp, sp, #0xffffffe0
into the equivalentbic sp, sp, #31
andand sp, sp, #0xffffff80
into the equivalentbic sp, sp, #127
. Clang however doesn't. Changing the source to usebic
would make the code work on both compilers.Thanks for the nice implementations!
Ted Krovetz
The text was updated successfully, but these errors were encountered: