-
Notifications
You must be signed in to change notification settings - Fork 719
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
third_party/fiat: replace memcpy
with OPENSSL_memcpy
#1778
Conversation
Align with the other use of `OPENSSL_memcpy` in `curve25519_64_adx.h`. `string.h` will no longer be needed. Signed-off-by: Jiaqi Gao <[email protected]>
First, we don't currently support a sysroot-less build for any x86-64 targets. In build.rs we have:
I'm guessing that you use CFLAGS or some other customization to ring's build system that does the equivalent of this, for this target This would make all kinds of cross-compiling more practical and make it so we don't break the build for WDYT? |
Codecov Report
@@ Coverage Diff @@
## main #1778 +/- ##
=======================================
Coverage 96.01% 96.01%
=======================================
Files 138 138
Lines 20788 20788
Branches 226 226
=======================================
+ Hits 19959 19960 +1
+ Misses 792 790 -2
- Partials 37 38 +1
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
When I try to build with this change, the build fails because:
If I remove
So I don't think this change on its own is enough. |
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.
See the above comment. It seems other changes are needed to get the intended effect.
It seems like one solution is to build with
|
I went ahead and merged this as the scope of the issue isn't really "start supporting this configuration". I also verified with the original author of the code that the use of |
Thanks @briansmith. I am using customization for ring's build. On Linux I don't see any issue with both
This patch will help me to remove the modifications to the header and only keep the customization for the build system. Thanks a lot :) |
Align with the other use of
OPENSSL_memcpy
incurve25519_64_adx.h
.string.h
will no longer be needed.Closes #1777