Cesar Eduardo Barros
9c044fb434
Release 0.2.18
7 years ago
Cesar Eduardo Barros
f514bb4a49
Fix no_std simd_opt
7 years ago
Cesar Eduardo Barros
3fa4d83865
Fix bench
7 years ago
Cesar Eduardo Barros
745d0aaa75
Attempt to fix travis environment variables
7 years ago
Cesar Eduardo Barros
fba6f4d4e7
Test all features on travis
7 years ago
Cesar Eduardo Barros
20bcb12ef4
Merge pull request #6 from oconnor663/no_std
Add no_std support, with a default 'std' feature
7 years ago
Cesar Eduardo Barros
4357d96183
Merge pull request #5 from ia0/update_data_encoding
Update data-encoding major version
7 years ago
Jack O'Connor
bffdb158ae
ignore the 4GB tests in debug mode
7 years ago
Jack O'Connor
a21325e2ba
add no_std support, with a default 'std' feature
7 years ago
Julien Cretin
b42ed32a73
Update data-encoding major version
7 years ago
Cesar Eduardo Barros
6c4279bdc6
Bump version to 0.2.17
8 years ago
Cesar Eduardo Barros
060a16a7cd
Merge branch 'master' of github.com:cesarb/blake2-rfc
8 years ago
Cesar Eduardo Barros
c075572ec5
Merge pull request #3 from jimmycuadra/remove-inline-on-const-item
Remove inline attribute on const item.
8 years ago
Jimmy Cuadra
b685058d7b
Remove inline attribute on const item.
The attribute `inline` is only intended for functions, but a bug in the
Rust compiler failed to catch that in all cases. As of
https://github.com/rust-lang/rust/issues/31769 , this usage will cause
builds to fail.
8 years ago
Cesar Eduardo Barros
42eef80988
Bump clippy
8 years ago
Cesar Eduardo Barros
558f96f1b8
Wrap long lines
9 years ago
Cesar Eduardo Barros
2e4bd13d4e
Bump version to 0.2.16
Appparently this crate was affected by
https://github.com/rust-lang/cargo/issues/2326
9 years ago
Cesar Eduardo Barros
778b985d23
Bump version to 0.2.15
9 years ago
Cesar Eduardo Barros
47dfbcc106
Mark selftest as #[cold]
9 years ago
Cesar Eduardo Barros
eb2c5c69b6
Request warning for missing docs
9 years ago
Cesar Eduardo Barros
85cf7da813
Missed a few mentions of the draft RFC
9 years ago
Cesar Eduardo Barros
0e258a9301
Bump clippy version
9 years ago
Cesar Eduardo Barros
20e4fc98a6
Bump version to 0.2.14
9 years ago
Cesar Eduardo Barros
feaddd56bb
Make AsBytes trait safe
9 years ago
Cesar Eduardo Barros
15689d0e67
Formatting tweaks
9 years ago
Cesar Eduardo Barros
c3667d331b
Be consistent with whitespace in #[cfg(...)]
9 years ago
Cesar Eduardo Barros
6b0f752031
Remove workaround for old Rust compilers
Old versions of the Rust compiler failed with a parse error when
encountering a "platform-intrinsic" extern.
9 years ago
Cesar Eduardo Barros
46d095fe0c
rustfmt src/as_bytes.rs
9 years ago
Cesar Eduardo Barros
f331cd6c35
std::slice::bytes is deprecated
9 years ago
Cesar Eduardo Barros
b48e90aa0b
Don't use allow(unknown_lints)
9 years ago
Cesar Eduardo Barros
7cc160a990
Bump version to 0.2.13
9 years ago
Cesar Eduardo Barros
572dd15b9f
Update license headers
9 years ago
Cesar Eduardo Barros
eeccc255fd
Merge pull request #2 from cmr/master
Relicense to dual MIT/Apache-2.0
9 years ago
Corey Richardson
228c839be7
Relicense to dual MIT/Apache-2.0
Closes https://github.com/cesarb/blake2-rfc/issues/1
9 years ago
Cesar Eduardo Barros
8e475c2038
Link to final RFC and bump version to 0.2.12
9 years ago
Cesar Eduardo Barros
1081c2ebfd
rust-clippy pedantic lints
9 years ago
Cesar Eduardo Barros
e25c2516ca
rust-clippy lints
9 years ago
Cesar Eduardo Barros
1d505019b9
Use data-encoding crate instead of rustc-serialize
9 years ago
Cesar Eduardo Barros
f3d56f7bc6
rust-clippy explicit_iter_loop
9 years ago
Cesar Eduardo Barros
463c675b7b
Bump version to 0.2.11
9 years ago
Cesar Eduardo Barros
464c01e282
Refactor simd_opt code
9 years ago
Cesar Eduardo Barros
6275659202
Use SSSE3's pshufb for rotates
9 years ago
Cesar Eduardo Barros
e07e847c84
Refactor SIMD code
9 years ago
Cesar Eduardo Barros
8904714192
Make AsBytes slightly safer
9 years ago
Cesar Eduardo Barros
c5f49b66ba
Missed a few shuffles
9 years ago
Cesar Eduardo Barros
eacf0460ea
Port code to latest "SIMD groundwork part 1"
Port the SIMD code to https://github.com/rust-lang/rust/pull/27169
changes.
9 years ago
Cesar Eduardo Barros
4dbacf33dd
Hide "platform-intrinsic" from stable Rust
The Rust compiler validates the extern ABI while parsing the "extern"
keyword, so normal conditional compilation (`#[cfg(...)]`) isn't enough
to hide the ABI from Rust versions which don't know it.
I tried hiding the extern ABI using a macro, but the contents of an
"extern" block aren't a valid `item`, and I couldn't find any other
working way to pass the function declarations to the macro.
The solution which worked in the end was to use `include!`. This
prevents the compiler from even trying to parse the "extern" block
unless the nightly-only cargo feature "simd" is enabled.
9 years ago
Cesar Eduardo Barros
05b5e01ba1
Finish porting code to "SIMD groundwork part 1"
Finish porting the SIMD code to https://github.com/rust-lang/rust/pull/27169
9 years ago
Cesar Eduardo Barros
9e5a416d79
Port code to "SIMD groundwork part 1"
Port the SIMD code to https://github.com/rust-lang/rust/pull/27169
9 years ago
Cesar Eduardo Barros
8d895f7986
Use #[derive] for Clone and Debug
Before the conversion to SIMD-like vectors, this was not possible
because the array had more than 32 elements, and these traits are only
implemented for arrays of up to 32 elements.
After the conversion, the array has only 2 elements, so deriving these
traits is possible and simplifies the code.
9 years ago