Skip to content
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

[pull] master from RustCrypto:master #3

Open
wants to merge 302 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
54a9b85
salsa20 v0.4.1
tarcieri Feb 25, 2020
3ab8ecb
Merge pull request #104 from RustCrypto/salsa20/v0.4.1
tarcieri Feb 25, 2020
5fe6202
Cargo.toml: avoid accidental `alloc` and `std` linking
tarcieri Mar 3, 2020
45dc57b
Merge pull request #105 from RustCrypto/chacha20/fix-no-alloc-linking
tarcieri Mar 3, 2020
8d773d0
chacha20 v0.3.4
tarcieri Mar 3, 2020
ad3797d
Merge pull request #106 from RustCrypto/chacha20/v0.3.4
tarcieri Mar 3, 2020
112aba5
fix rustfmt
tarcieri Mar 3, 2020
1862702
Switch to GitHub Actions; MSRV 1.41+
tarcieri May 28, 2020
07c5793
Merge pull request #109 from RustCrypto/github-actions
tarcieri May 28, 2020
41fc0a3
.github: fix aes-ctr action
tarcieri May 28, 2020
dabde05
Merge pull request #110 from RustCrypto/aes-ctr/fix-gh-actions
tarcieri May 28, 2020
710d177
.github: cache ChaCha20 test artifacts
tarcieri May 28, 2020
647926f
Merge pull request #107 from RustCrypto/fix-rustfmt
tarcieri May 28, 2020
f8f8c94
Merge pull request #111 from RustCrypto/aes-ctr/fix-gh-actions
tarcieri May 28, 2020
7554714
README.md: add GitHub Actions build status badges
tarcieri May 28, 2020
ba044dd
Merge pull request #112 from RustCrypto/readme/build-status-badges
tarcieri May 28, 2020
eb330f5
.github: add "workspace" config w\ clippy and rustfmt
tarcieri May 28, 2020
84fe760
Merge pull request #114 from RustCrypto/github-actions/clippy-and-rus…
tarcieri May 28, 2020
0d65096
Add README.mds to all crates
tarcieri May 28, 2020
35db034
Merge pull request #115 from RustCrypto/readmes
tarcieri May 28, 2020
2c48b8f
ctr: 2018 edition and `stream-cipher` crate upgrade
tarcieri May 28, 2020
319f8fe
Merge pull request #116 from RustCrypto/ctr/2018-edition-and-stream-c…
tarcieri May 28, 2020
78f06b6
salsa20: update diagram in README.md
tarcieri May 28, 2020
abd7f7e
Merge pull request #117 from RustCrypto/salsa20/diagram
tarcieri May 29, 2020
7f0002c
aes-ctr: 2018 edition and `digest` crate upgrade
tarcieri May 28, 2020
a45b2fe
Merge pull request #118 from RustCrypto/aes-ctr/2018-edition-and-stre…
tarcieri May 29, 2020
1363d53
cfb-mode: 2018 edition and `stream-cipher` crate upgrade
tarcieri May 29, 2020
ce63006
Merge pull request #119 from RustCrypto/cfb-mode/2018-edition-and-str…
tarcieri May 29, 2020
077450f
cfb8: 2018 edition and `stream-cipher` crate upgrade
tarcieri May 29, 2020
8a6b907
Merge pull request #120 from RustCrypto/cfb8/2018-edition-and-stream-…
tarcieri May 29, 2020
68e3467
chacha20: `stream-cipher` crate upgrade
tarcieri May 29, 2020
d069b50
Merge pull request #121 from RustCrypto/chacha20/stream-cipher-upgrade
tarcieri May 29, 2020
e05cb96
hc-256: 2018 edition and `stream-cipher` crate upgrade
tarcieri May 29, 2020
8f27825
Merge pull request #122 from RustCrypto/hc-256/2018-edition-and-strea…
tarcieri May 29, 2020
20ae90e
ofb: 2018 edition and `stream-cipher` crate upgrade
tarcieri May 29, 2020
7b2a560
Merge pull request #123 from RustCrypto/ofb/2018-edition-and-stream-c…
tarcieri May 29, 2020
136b98d
chacha20: add diagram to README.md
tarcieri May 29, 2020
f0683ba
Merge pull request #124 from RustCrypto/chacha20/readme-diagram
tarcieri May 29, 2020
1953a53
cfb/ctr/ofb: cap README.md diagrams at 500px
tarcieri May 29, 2020
68af7b8
salsa20: 2018 edition idioms and `stream-cipher` crate upgrade
tarcieri May 29, 2020
e6dc3e5
Merge pull request #125 from RustCrypto/salsa20/2018-edition-and-stre…
tarcieri May 29, 2020
24521ba
Add standard set of attributes to all crates
tarcieri May 29, 2020
2d1cb4b
Merge pull request #126 from RustCrypto/2018-idiom-unsafe-and-other-c…
tarcieri May 29, 2020
fef9d64
Eliminate unnecessary usages of `extern crate`
tarcieri May 29, 2020
49df56b
Merge pull request #127 from RustCrypto/eliminate-unnecessary-extern-…
tarcieri May 29, 2020
4743706
Bump `hex-literal` crate to v0.2
tarcieri May 29, 2020
5f7e889
Merge pull request #128 from RustCrypto/hex-literal/v0.2
tarcieri May 29, 2020
20bfd81
Simplify benchmarks with 2018 macro syntax
tarcieri May 30, 2020
59bf8e8
Merge pull request #129 from RustCrypto/simplify-benchmarks-with-2018…
tarcieri May 30, 2020
61d5603
Cargo.toml(s): remove [badges]
tarcieri May 30, 2020
5d0fa15
Merge pull request #130 from RustCrypto/remove-badges
tarcieri May 30, 2020
377b8cd
Bump all versions to `*-pre`
tarcieri May 30, 2020
83e9251
Merge pull request #131 from RustCrypto/bump-versions-to-pre
tarcieri May 30, 2020
fd879a7
.github: use workspace global env vars and working dir
tarcieri May 30, 2020
7d0455d
Merge pull request #132 from RustCrypto/github-actions/global-env-var…
tarcieri May 30, 2020
c78342e
salsa20: add Salsa8 and Salsa12
tarcieri May 31, 2020
898461f
Merge pull request #133 from RustCrypto/salsa20/add-salsa8-and-salsa12
tarcieri May 31, 2020
4e697ac
Cargo.lock: bump `stream-cipher` crate
tarcieri Jun 2, 2020
9ddc1c0
Merge pull request #134 from RustCrypto/fix-benchmarks
tarcieri Jun 2, 2020
76547e5
chacha20: add notes about NCC audit
tarcieri Jun 3, 2020
381f6ee
Merge pull request #135 from RustCrypto/chacha20/ncc-audit-notes
tarcieri Jun 3, 2020
9a37adb
README.md(s): fix typo
tarcieri Jun 3, 2020
1e50e14
Merge pull request #136 from RustCrypto/readmes/fix-typo
tarcieri Jun 3, 2020
d3f34c6
ctr: impl FromBlockCipher
tarcieri Jun 3, 2020
caccc8e
Merge pull request #137 from RustCrypto/ctr/impl-from-block-cipher
tarcieri Jun 3, 2020
c4caacb
Use release versions of crate dependencies
tarcieri Jun 6, 2020
c9aaf6e
Merge pull request #138 from RustCrypto/use-release-versions-of-crates
tarcieri Jun 6, 2020
d688444
chacha20 v0.4.0 (#139)
tarcieri Jun 6, 2020
0ad33a9
ctr v0.4.0 (#140)
tarcieri Jun 6, 2020
bb953e2
.github: label chacha20 test steps (#141)
tarcieri Jun 6, 2020
aa2fa8c
README.md: fix links in documentation (#142)
tarcieri Jun 6, 2020
382c82c
chacha20 v0.4.1 (#143)
tarcieri Jun 6, 2020
593df89
salsa20 v0.5.0 (#144)
tarcieri Jun 6, 2020
5ad03e3
Release new crates after 2018 edition / stream-cipher v0.4 upgrade (#…
tarcieri Jun 8, 2020
fe16099
salsa20: use stream_cipher::{Key, Nonce} (#146)
tarcieri Jun 10, 2020
35794aa
chacha20: use stream_cipher::{Key, Nonce} type aliases (#147)
tarcieri Jun 10, 2020
24630df
Use `stream-cipher` v0.4.1 crate release (#148)
tarcieri Jun 11, 2020
f4f15d3
chacha20/salsa20: documentation improvements (#149)
tarcieri Jun 11, 2020
e54dda6
chacha20 v0.4.2 (#150)
tarcieri Jun 11, 2020
a1679e8
salsa20 v0.5.1 (#151)
tarcieri Jun 11, 2020
7fb0970
salsa20: fix `stream-cipher` version requirement (#152)
tarcieri Jun 11, 2020
cf758eb
chacha20: fix documentation typo (#153)
tarcieri Jun 11, 2020
6dcdab1
chacha20: document key and nonce lengths (#154)
tarcieri Jun 11, 2020
32406c3
chacha20/salsa20: use `Key` and `Nonce` in usage docs (#155)
tarcieri Jun 11, 2020
40bcdb0
chacha20 v0.4.3 (#156)
tarcieri Jun 11, 2020
cd88e6c
salsa20 v0.5.2 (#157)
tarcieri Jun 11, 2020
36fb425
chacha20/salsa20: note types that are GenericArray aliases (#158)
tarcieri Jun 11, 2020
1f542cf
Use SVG logo and update lock file (#159)
newpavlov Aug 13, 2020
236d1c7
Move Criterion benchmarks into benches crate (#160)
newpavlov Aug 13, 2020
3d962af
Update stream-cipher to v0.6 (#161)
newpavlov Aug 13, 2020
4d9a1ad
Add Dependabot
newpavlov Aug 18, 2020
dec7d26
Upgrade to stream-cipher v0.7 (#164)
newpavlov Aug 25, 2020
7e924b3
build(deps): bump stream-cipher from 0.7.0 to 0.7.1 (#166)
dependabot[bot] Aug 26, 2020
0618311
ctr: update release date
newpavlov Aug 26, 2020
177d870
README.md(s): update "hazmat" badges (#167)
tarcieri Aug 26, 2020
c7a7af8
build(deps): bump zeroize from 1.1.0 to 1.1.1 (#169)
dependabot[bot] Sep 16, 2020
0b3a4ec
ctr: vendor Ctr32BE and Ctr32LE types (#170)
tarcieri Oct 14, 2020
57ae157
README.md(s): add Zulip badges (#173)
tarcieri Oct 14, 2020
804ddaa
README.md: linkify crate names (#174)
tarcieri Oct 14, 2020
e6f4818
ctr: refactor tests (#175)
tarcieri Oct 14, 2020
7a44a86
ctr v0.6.0-pre (#176)
tarcieri Oct 14, 2020
5abb632
Replace `block-cipher`/`stream-cipher` with `cipher` crate (#177)
tarcieri Oct 16, 2020
a4aa500
salsa20: internal refactoring (#178)
tarcieri Oct 16, 2020
f93807c
Release new versions (#179)
tarcieri Oct 16, 2020
9c69c54
salsa20: add `expose-core` feature (#180)
tarcieri Oct 18, 2020
abefae9
salsa20 v0.7.1 (#181)
tarcieri Oct 18, 2020
ad1da30
Rabbit Stream Cipher (#182)
blackbeam Oct 23, 2020
0d041d8
README.md: add `rabbit` to table (#183)
tarcieri Oct 25, 2020
b01655f
chacha20/Cargo.toml: update description (#184)
tarcieri Oct 25, 2020
f403f63
build(deps): bump aes-soft from 0.6.0 to 0.6.1 (#185)
dependabot[bot] Oct 27, 2020
e39ae48
build(deps): bump aes-soft from 0.6.1 to 0.6.2 (#186)
dependabot[bot] Oct 29, 2020
c136ff0
Bump `cipher` crate to v0.2.5 (#187)
tarcieri Nov 1, 2020
34291fd
build(deps): bump aes-soft from 0.6.2 to 0.6.3 (#188)
dependabot[bot] Nov 2, 2020
a38cd0e
salsa20: do not use zeroize default features to prevent alloc inclusi…
Wassasin Nov 12, 2020
1ee46ab
hc-256/rabbit: avoid pulling in `alloc` feature of `zeroize` (#190)
tarcieri Nov 12, 2020
0f72fc9
salsa20 v0.7.2 (#191)
tarcieri Nov 12, 2020
c229225
build(deps): bump aes-soft from 0.6.3 to 0.6.4 (#192)
dependabot[bot] Nov 17, 2020
8bf8627
Bump `cipher` crate to v0.3.0-pre (#193)
tarcieri Nov 25, 2020
c481367
ctr v0.7.0-pre (#194)
tarcieri Nov 26, 2020
aa547a7
fix: u64 -> u128 counter change (#75)
koivunej Dec 2, 2020
c01f466
ctr: add newline (#196)
tarcieri Dec 2, 2020
26e1787
ctr: remove Ctr32LE mask bit (#197)
tarcieri Dec 3, 2020
7ddcab1
Generic CTR (#195)
newpavlov Dec 4, 2020
ce5aedc
build(deps): bump zeroize from 1.1.1 to 1.2.0 (#198)
dependabot[bot] Dec 10, 2020
8dcd064
chacha20: rename `backend` module and types (#199)
tarcieri Dec 10, 2020
3ce69d1
chacha20: AVX2 detection (#200)
tarcieri Dec 10, 2020
2c7620a
chacha20: CI improvements (#201)
tarcieri Dec 10, 2020
52edf36
chacha20: fix `rng` feature on big endian platforms (#202)
tarcieri Dec 10, 2020
527303e
chacha20+salsa20: `Core` types (#204)
tarcieri Dec 19, 2020
63ee3a2
Bump `cipher` crate to v0.3.0-pre.3 (#205)
tarcieri Dec 30, 2020
8891899
ctr v0.7.0-pre.2 (#206)
tarcieri Dec 30, 2020
c40cf4c
Enable `aes` dev-dependencies (#207)
tarcieri Dec 30, 2020
d0657f7
Bump `cipher` crate to v0.3.0-pre.4 (#208)
tarcieri Dec 30, 2020
b744e3d
ctr v0.7.0-pre.3 (#209)
tarcieri Dec 30, 2020
e6b08f9
Re-enable `aes` dev-dependencies (again) (#210)
tarcieri Dec 30, 2020
03ecd49
Bump `aes` crate (#211)
tarcieri Dec 31, 2020
d583925
chacha20: make autodetect unions non-Copy; MSRV 1.49+ (#212)
tarcieri Jan 1, 2021
b014bfa
chacha20: add XChaCha8 and XChaCha12 (#215)
PaulGrandperrin Jan 5, 2021
131cd4b
ChaCha20: Fix stream-length overflow check (#216)
jpdoyle Jan 6, 2021
de539e2
build(deps): bump rand_core from 0.5.1 to 0.6.1 (#214)
dependabot[bot] Jan 7, 2021
119c9f4
ChaCha20 (legacy, xchacha): full 64bit counters (#217)
jpdoyle Jan 11, 2021
cc207da
Add deps.rs badge
newpavlov Jan 13, 2021
0329bea
Rename deps to deps-link
newpavlov Feb 12, 2021
2376701
build(deps): bump rand_core from 0.6.1 to 0.6.2 (#218)
dependabot[bot] Feb 15, 2021
ba7d695
chacha20: remove `Clone` impls on RNGs (#220)
tarcieri Mar 16, 2021
2de3c47
rustfmt (#223)
tarcieri Apr 20, 2021
f10f8c0
build(deps): bump zeroize from 1.2.0 to 1.3.0 (#222)
dependabot[bot] Apr 20, 2021
7786dc4
cipher v0.3.0-pre.5 (#224)
tarcieri Apr 28, 2021
9fafcd6
Revert "cipher v0.3.0-pre.5 (#224)" (#225)
tarcieri Apr 28, 2021
6a09740
Bump `cipher` crate dependency to v0.3 release (#226)
tarcieri Apr 28, 2021
24a0f0f
ctr v0.7.0-pre.4 (#227)
tarcieri Apr 28, 2021
6a2d54a
Cargo.lock: bump dependencies (#228)
tarcieri Apr 28, 2021
2c2e951
ctr v0.7.0 (#229)
tarcieri Apr 29, 2021
53d0c27
chacha20: use `cpufeatures` v0.1 crate release (#230)
tarcieri Apr 29, 2021
df85ce0
chacha20 v0.7.0 (#231)
tarcieri Apr 29, 2021
c211b13
Bump `aes` dev dependency to v0.7 release (#232)
tarcieri Apr 29, 2021
99af327
Release `cipher` v0.3-based versions (#233)
tarcieri Apr 29, 2021
86b3a9f
chacha20: add `hchacha` feature (#234)
tarcieri Apr 30, 2021
6798673
chacha20 v0.7.1 (#235)
tarcieri Apr 30, 2021
d91ef43
Remove unnecessary NewBlockCipher bounds (#236)
newpavlov Apr 30, 2021
2117854
build(deps): bump aes from 0.7.0 to 0.7.1 (#239)
dependabot[bot] May 10, 2021
196a3cb
build(deps): bump cpufeatures from 0.1.0 to 0.1.3 (#241)
dependabot[bot] May 14, 2021
36f2638
build(deps): bump cpufeatures from 0.1.3 to 0.1.4 (#242)
dependabot[bot] May 17, 2021
4d6e364
build(deps): bump aes from 0.7.1 to 0.7.2 (#243)
dependabot[bot] May 18, 2021
926bd31
Add RFC 8439 ChaCha20 test vectors test (#245)
philipr-za May 25, 2021
2f932aa
build(deps): bump aes from 0.7.2 to 0.7.3 (#246)
dependabot[bot] May 27, 2021
08ed470
build(deps): bump aes from 0.7.3 to 0.7.4 (#247)
dependabot[bot] Jun 2, 2021
ed56c85
export `XChaCha` (#249)
soerenmeier Jun 21, 2021
1c0e062
build(deps): bump cpufeatures from 0.1.4 to 0.1.5 (#250)
dependabot[bot] Jun 22, 2021
8f9f8b5
ctr: make implementation generic over block size (#252)
newpavlov Jul 8, 2021
1abe682
ctr: release v0.8.0 (#253)
newpavlov Jul 8, 2021
2ed7b75
build(deps): bump rand_core from 0.6.2 to 0.6.3 (#248)
dependabot[bot] Jul 8, 2021
688875c
pin zeroize to v1.3 (#256)
newpavlov Jul 20, 2021
bb3151c
Update README (#257)
newpavlov Jul 20, 2021
d614a3b
use consistent doc attribute across crates (#258)
newpavlov Jul 20, 2021
99577d6
`chacha20`: Improve AVX2 performance (#261)
str4d Aug 9, 2021
7a56cd6
build(deps): bump aes from 0.7.4 to 0.7.5 (#263)
dependabot[bot] Aug 27, 2021
e3dae12
build(deps): bump kuznyechik from 0.7.1 to 0.7.2 (#264)
dependabot[bot] Aug 27, 2021
a28c53c
build(deps): bump cpufeatures from 0.1.5 to 0.2.1 (#265)
dependabot[bot] Aug 27, 2021
8cfea58
chacha20 v0.7.3 (#266)
tarcieri Aug 27, 2021
818c4ac
chacha20: Process 4 blocks at a time in AVX2 backend (#267)
str4d Aug 29, 2021
7c86911
chacha20: Remove mutable borrows from AVX2 backend (#268)
str4d Aug 29, 2021
335f0d9
chacha20: lock to `zeroize` <1.5 (#269)
tarcieri Aug 29, 2021
2e64ad5
chacha20: SSE2 autodetection support (#270)
tarcieri Aug 29, 2021
9e9ee30
chacha20+salsa20: remove extended-nonce feature gating (#271)
tarcieri Aug 29, 2021
2dc6746
chacha20 v0.8.0 (#272)
tarcieri Aug 29, 2021
f67debd
salsa20 v0.9.0 (#273)
tarcieri Aug 29, 2021
0d9eb9d
chacha20: Add NEON implementation for aarch64 (#274)
str4d Aug 30, 2021
338c078
chacha20 v0.8.1 (#275)
tarcieri Aug 30, 2021
97c046f
ctr: Add SAFETY comment (#278)
str4d Oct 19, 2021
610e768
Update crates to cipher v0.4 (#276)
newpavlov Feb 10, 2022
114d2e5
Fix and test min versions build (#290)
newpavlov Feb 17, 2022
d5a03c0
salsa20: add from_raw_state method (#291)
newpavlov Feb 17, 2022
5682525
Use reusable workflow for minimal-versions (#292)
newpavlov Feb 18, 2022
400a398
chacha20: port x86 SIMD backends (#293)
newpavlov Feb 21, 2022
1f696b3
Cache cargo index (#294)
newpavlov Feb 21, 2022
a0b0a93
Update Cargo.lock (#295)
newpavlov Feb 22, 2022
15fdfe1
build(deps): bump cpufeatures from 0.2.1 to 0.2.2 (#298)
dependabot[bot] Mar 21, 2022
532872b
rc4: initial implementation (#285)
magic-akari Mar 27, 2022
7747e58
rc4: various fixups (#299)
tarcieri Mar 27, 2022
2fa8aaa
README.md: add RC4 + "Security" column to crates table
tarcieri Mar 27, 2022
faa64ed
rc4/README.md: fix build status badge
tarcieri Mar 27, 2022
afae7da
README.md: add citations for security ratings
tarcieri Mar 27, 2022
15c36cf
rc4/README.md: punctuation
tarcieri Mar 27, 2022
5396b38
rc4/Cargo.toml: add `arc4` and `arcfour` to keywords
tarcieri Mar 27, 2022
ea62b4c
rc4 v0.1.0 (#300)
tarcieri Mar 29, 2022
7a09659
rc4: fix links in README.md
tarcieri Apr 11, 2022
fc4a13d
rc4: add stronger security warning to README.md
tarcieri Apr 11, 2022
38b8925
chacha20: add v0.8.2 release notes (#301)
tarcieri Jul 7, 2022
8a9b95d
Update Cargo.lock
newpavlov Aug 19, 2022
6b8b109
Update cpufeatures to v0.2.5 (#305)
newpavlov Sep 4, 2022
5715617
Fix some typos (#307)
striezel Oct 6, 2022
6f0e301
Extend Dependabot configuration to keep GitHub Actions up to date (#308)
striezel Oct 6, 2022
efa393e
Update actions/checkout in GitHub Actions to v3 (#306)
striezel Oct 6, 2022
6217574
chacha20: Add full NEON backend. (#310)
codahale Dec 1, 2022
cb84fb5
Replace unmaintained actions-rs/* actions in CI workflows (#314)
striezel Mar 21, 2023
1067cc0
build(deps): bump cpufeatures from 0.2.5 to 0.2.6 (#315)
dependabot[bot] Mar 28, 2023
0b24338
build(deps): bump cipher from 0.4.3 to 0.4.4 (#313)
dependabot[bot] Apr 1, 2023
3ff33ae
chacha20: add `chacha20_force_neon` cfg attribute (#317)
tarcieri Apr 1, 2023
9c40806
chacha20 v0.9.1 (#318)
tarcieri Apr 1, 2023
29cbb12
build(deps): bump cpufeatures from 0.2.6 to 0.2.7 (#322)
dependabot[bot] Apr 21, 2023
909b166
Add SECURITY.md
tarcieri Apr 24, 2023
4cb053f
Update Cargo.lock
newpavlov Jun 16, 2023
61e39e6
Fix Hc256Core h2 function (#324)
cdong1012 Jun 23, 2023
c0e9af7
Update Cargo.lock
newpavlov Jul 5, 2023
4946c2b
Update Clippy and fix lints (#326)
newpavlov Aug 7, 2023
06aa0e9
build(deps): bump actions/checkout from 3 to 4 (#329)
dependabot[bot] Sep 11, 2023
2439a15
Update Cargo.lock
newpavlov Oct 23, 2023
3a53d41
Update Cargo.lock
newpavlov Oct 27, 2023
47813ce
build(deps): bump cpufeatures from 0.2.11 to 0.2.12 (#337)
dependabot[bot] Jan 5, 2024
a8463f2
salsa20: SSE2 backend (#328)
oxarbitrage Jan 7, 2024
4b63ec3
Bump `cipher` to v0.5.0-pre.1; MSRV 1.65 (#338)
tarcieri Jan 7, 2024
521d874
Bump `cipher` to v0.5.0-pre.2 (#339)
tarcieri Jan 10, 2024
9438633
Bump cipher to v0.5.0-pre.3 (#343)
tarcieri Feb 5, 2024
5b0a98b
build(deps): bump cipher from 0.5.0-pre.3 to 0.5.0-pre.4 (#345)
dependabot[bot] Mar 4, 2024
fea3dd0
salsa20: revert sse2 (#346)
baloo Mar 5, 2024
adfead3
chacha20: bring back `rand_core` support (#333)
nstilt1 Apr 29, 2024
e1269b1
salsa20: re-add SSE2 support with reduced round soft fallback (#348)
oxarbitrage Apr 29, 2024
6a51902
chacha20: unify `quarter_round` in soft backend and xchacha (#349)
oxarbitrage May 7, 2024
f42737a
chacha20: fix warnings (#353)
newpavlov May 9, 2024
830ab2d
build(deps): bump zeroize from 1.7.0 to 1.8.1 (#354)
dependabot[bot] May 27, 2024
5e19de3
Remove `rust-toolchain.toml.save` (#355)
tarcieri May 31, 2024
78ea0b2
chacha20: fix IETF URLs (#358)
mgeisler Jun 17, 2024
299b27d
chacha20: remove `chacha20_force_neon` cfg attribute (#361)
tarcieri Jun 17, 2024
3f83d76
Bump `cipher` to v0.5.0-pre.6 (#362)
tarcieri Jul 26, 2024
b3eb4e8
chacha20+salsa20: cut pre.1 prereleases (#363)
tarcieri Jul 27, 2024
823836f
build(deps): bump cpufeatures from 0.2.12 to 0.2.14 (#367)
dependabot[bot] Sep 9, 2024
15c3c21
build(deps): bump cipher from 0.5.0-pre.6 to 0.5.0-pre.7 (#368)
baloo Sep 27, 2024
9fcbf80
build(deps): bump rand_core from 0.9.0-alpha.1 to 0.9.0-alpha.2 (#369)
baloo Sep 27, 2024
87b79aa
chacha20+salsa20: cut pre.2 prereleases (#371)
baloo Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
27 changes: 27 additions & 0 deletions .github/workflows/benches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: benches

on:
pull_request:
paths:
- "benches/**"
push:
branches: master

defaults:
run:
working-directory: benches

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: cargo bench --no-run
209 changes: 209 additions & 0 deletions .github/workflows/chacha20.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
name: chacha20

on:
pull_request:
paths:
- "chacha20/**"
- "Cargo.*"
push:
branches: master
paths:
- "chacha20/**"
- "Cargo.*"

defaults:
run:
working-directory: chacha20

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --features zeroize

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

# Tests for runtime AVX2 detection
autodetect:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.65.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: ${{ matrix.deps }}
- run: cargo check --target ${{ matrix.target }} --all-features
- run: cargo test --target ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --features std,zeroize

# Tests for the AVX2 backend
avx2:
runs-on: ubuntu-latest
env:
RUSTFLAGS: --cfg chacha20_force_avx2 -Ctarget-feature=+avx2 -Dwarnings
strategy:
matrix:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.65.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: ${{ matrix.deps }}
- run: cargo check --target ${{ matrix.target }} --all-features
- run: cargo test --target ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --features std,zeroize

# Tests for the SSE2 backend
sse2:
runs-on: ubuntu-latest
env:
RUSTFLAGS: --cfg chacha20_force_sse2 -Dwarnings
strategy:
matrix:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.65.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: ${{ matrix.deps }}
- run: cargo check --target ${{ matrix.target }} --all-features
- run: cargo test --target ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --features std,zeroize

# Tests for the portable software backend
soft:
runs-on: ubuntu-latest
env:
RUSTFLAGS: --cfg chacha20_force_soft -Dwarnings
strategy:
matrix:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.65.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: ${{ matrix.deps }}
- run: cargo check --target ${{ matrix.target }} --all-features
- run: cargo test --target ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --features std,zeroize

# Cross-compiled tests
cross:
strategy:
matrix:
include:
# ARM64
- target: aarch64-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: aarch64-unknown-linux-gnu
rust: stable

# PPC32
- target: powerpc-unknown-linux-gnu
rust: 1.65.0 # MSRV
- target: powerpc-unknown-linux-gnu
rust: stable

runs-on: ubuntu-latest
defaults:
run:
# Cross mounts only current package, i.e. by default it ignores workspace's Cargo.toml
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- run: ${{ matrix.deps }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- uses: RustCrypto/actions/cross-install@master
- run: RUSTFLAGS="${{ matrix.rustflags }}" cross test --package chacha20 --target ${{ matrix.target }}
60 changes: 60 additions & 0 deletions .github/workflows/hc-256.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: hc-256

on:
pull_request:
paths:
- "hc-256/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: hc-256

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --features zeroize

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
- run: cargo test --all-features
59 changes: 59 additions & 0 deletions .github/workflows/rabbit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: rabbit

on:
pull_request:
paths:
- "rabbit/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: rabbit

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --features zeroize

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test
- run: cargo test --all-features
Loading