This repository was archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Enable aesni #10756
Merged
Merged
Enable aesni #10756
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
3efca47
Run cargo fix
dvdplm 431eccf
Optimize imports
dvdplm 95a958d
compiles
dvdplm 66f3659
cleanup
dvdplm be06f57
Use Secret to store mac-key
dvdplm 9634be3
cleanup
dvdplm d5d1eb0
Merge branch 'master' into dp/chore/devp2p-cosmetics
dvdplm 1e68071
Reorg imports
dvdplm 6f51390
Merge branch 'dp/chore/devp2p-cosmetics' into dp/chore/remove-rust-cr…
dvdplm b0c89b8
Merge branch 'master' into dp/chore/remove-rust-crypto-from-devp2p
dvdplm f190a63
brwchk hand waving
dvdplm 0ae675b
Review feedback
dvdplm 17c3a3b
Merge branch 'master' into dp/chore/remove-rust-crypto-from-devp2p
dvdplm e4e00c9
whitespace
dvdplm b2e51bb
error chain is dead
dvdplm 9999b71
Build parity-ethereum with SSE2, SSSE3 and AES enabled
dvdplm 56c0706
Correct rustflag setting
dvdplm b34da90
List all target triples because [target.'cfg(…)'] is broken
dvdplm 08401a1
whitespace
dvdplm 4a38f5c
Merge branch 'master' into dp/chore/turn-on-aesni
dvdplm 011688e
Enable hardware aes for CI builds
dvdplm 79453f2
Add note about synchronizing changes
dvdplm 0278e37
Remove "Linker" printout
dvdplm 30fba7f
Build artefacts to check hardware aesni
dvdplm a8ae24b
Skip signing windows binaries
dvdplm 5efefc5
Build windows like before
dvdplm 47762be
address grumble
dvdplm 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 hidden or 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 |
|---|---|---|
| @@ -1,3 +1,27 @@ | ||
| # NOTE: if you make changes here, remember to also update: | ||
| # scripts/test-linux.sh | ||
| # scripts/build-linux.sh | ||
| # scripts/build-windows.sh | ||
|
|
||
| # Using 'cfg` is broken, see https://github.com/rust-lang/cargo/issues/6858 | ||
| #[target.'cfg(target_arch = "x86_64")'] | ||
| #rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] | ||
|
|
||
| # …so instead we list all target triples (Tier 1 64-bit platforms) | ||
| [target.x86_64-unknown-linux-gnu] | ||
| # Enables the aes-ni instructions for RustCrypto dependency. | ||
| rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] | ||
|
|
||
| [target.x86_64-pc-windows-gnu] | ||
| # Enables the aes-ni instructions for RustCrypto dependency. | ||
| rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] | ||
|
|
||
| [target.x86_64-pc-windows-msvc] | ||
| # Enables the aes-ni instructions for RustCrypto dependency. | ||
| # Link the C runtime statically ; https://github.com/paritytech/parity-ethereum/issues/6643 | ||
| rustflags = ["-Ctarget-feature=+crt-static"] | ||
| rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3", "-Ctarget-feature=+crt-static"] | ||
|
|
||
| [target.x86_64-apple-darwin] | ||
| # Enables the aes-ni instructions for RustCrypto dependency. | ||
| rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.