-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Do No Merge]test contrib build with fips #33786
Closed
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ed26217
cryptomb: fix the fips build
soulxu 5c67fea
force the ci compile_time_options job build with contrib extension
soulxu 6b73895
Revert "force the ci compile_time_options job build with contrib exte…
soulxu 63fb743
fix format
soulxu 8e56fde
Merge branch 'main' into test_contrib
soulxu b5322e3
test contrib build with fips
soulxu 994931b
update
soulxu 1e88dba
update env
soulxu bbc47f3
change env var
soulxu 7ddc289
update
soulxu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/sources/ippcp/crypto_mb/src/common/ifma_cvt52.c b/sources/ippcp/crypto_mb/src/common/ifma_cvt52.c | ||
index e6db178c..0a1ecc49 100644 | ||
--- a/sources/ippcp/crypto_mb/src/common/ifma_cvt52.c | ||
+++ b/sources/ippcp/crypto_mb/src/common/ifma_cvt52.c | ||
@@ -16,9 +16,14 @@ | ||
|
||
#include <internal/common/ifma_defs.h> | ||
#include <internal/common/ifma_math.h> | ||
+#include <openssl/bn.h> | ||
|
||
#include <assert.h> | ||
|
||
+static int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen) { | ||
+ return BN_bn2le_padded(to, tolen, a); | ||
+} | ||
+ | ||
#if defined(_MSC_VER) && (_MSC_VER < 1920) | ||
// Disable optimization for VS2017 due to AVX512 masking bug | ||
#define DISABLE_OPTIMIZATION __pragma(optimize( "", off )) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 kinda want the test with the 2 following conditions to compare:
//source
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.
ok, let me try to build those two in c-t-o
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.
cool - was wondering whether we would need to separate as you have done
the benefit of this is that we only need to run the ci once to get the timings, and can see exactly how long the contrib build takes
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.
I run two bazel cmds, suppose we can get the timings separately. Let me trigger the CI it seems the CI broken friday.