-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aes: Avoid unwanted overflow check when using u32::MAX as the counter.
The problem occurs: * release mode with `RUSTFLAGS="-C overflow-checks"` * release mode with `overflow-checks = true` in the Cargo.toml profile. * debug mode. Thanks to Mike (GitHub user MikeRomaniuk).
- Loading branch information
1 parent
a40c3a9
commit ec2d3cf
Showing
3 changed files
with
17 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
KEY = e8904ecc2e37a6e4cc02271e319c804b | ||
SAMPLE = 13484ec85dc4d36349697c7d4ea1a159 | ||
MASK = 67387ebf3a | ||
|
||
KEY = e8904ecc2e37a6e4cc02271e319c804b | ||
SAMPLE = 00000000000000000000000fffffffff | ||
MASK = feb191f8af | ||
|
||
KEY = e8904ecc2e37a6e4cc02271e319c804b | ||
SAMPLE = 000000000000000fffffffffffffffff | ||
MASK = 6f23441ee8 |
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
KEY = 85af7213814aec7b92ace6284a906643912ec8853d00d158a927b8697c7ff585 | ||
SAMPLE = 82a0db90f4cee12fa4afeddb74396cf6 | ||
MASK = 670897adf5 | ||
|
||
KEY = 85af7213814aec7b92ace6284a906643912ec8853d00d158a927b8697c7ff585 | ||
SAMPLE = 000000000000000000000000ffffffff | ||
MASK = b77a18bb3f | ||
|
||
KEY = 85af7213814aec7b92ace6284a906643912ec8853d00d158a927b8697c7ff585 | ||
SAMPLE = 000000000000000fffffffffffffffff | ||
MASK = 4aadd3cbef |