• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

blake3パッケージ


RSS
Rev. Time Author
afdaf30 2020-02-13 04:57:57 Jack O'Connor

version 0.2.0

Changes since 0.1.5:
- The `c_avx512` feature has been replaced by the `c` feature. In
addition to providing AVX-512 support, `c` also provides optimized
assembly implementations. These assembly implementations perform
better, perform more consistently across compilers, and compile more
quickly. As before, `c` is off by default, but the `b3sum` binary
crate activates it by default.
- The `rayon` feature no longer affects the entire API. Instead, it
provides the `join::RayonJoin` type for use with
`Hasher::update_with_join`, so that the caller can control when
multi-threading happens. Standalone API functions like `hash` are
always single-threaded now.

724e784 2020-02-13 04:57:00 Jack O'Connor

merge the version 0.1.5 branch

Version 0.1.5 was a backport release to mitigate
https://github.com/BLAKE3-team/BLAKE3/issues/57. This is a no-op merge
to make sure that the 0.1.5 branch shows up in `git log master`.

5dea889 2020-02-13 04:38:35 Jack O'Connor

add a performance note and a usage example for Hasher

38a46ba 2020-02-13 04:20:11 Jack O'Connor

document optional Cargo features on docs.rs

1c4d7fd 2020-02-13 03:12:05 Jack O'Connor

add test_asm to the C Makefile

7ee05ba 2020-02-13 03:04:03 Jack O'Connor

document how to build the C code with assembly implementations

b8a1d2d 2020-02-13 00:23:17 Jack O'Connor

integrate assembly implementations into blake3_c_rust_bindings

efbfa04 2020-02-13 00:23:17 Jack O'Connor

integrate assembly implementations into the blake3 crate

b6b3c27 2020-02-13 00:23:17 Samuel Neves

assembly implementations

1c5d4ee 2020-02-13 00:22:54 Jack O'Connor

test a couple more reset() cases

e0dc4d9 2020-02-12 13:45:41 Jack O'Connor

use a non-zero value for counter when testing hash_many with parents

We use a counter value that's very close to wrapping the lower word,
when we're testing the hash_many chunks case. It turns out that this is
a useful thing to do with parents too, even though parents 1) are
teeechnically supposed to always use a counter of 0, and 2) aren't going
to increment the counter at all. We caught a bug in the assembly
implementations this way (where we accidentally did increment the
counter, but only the higher word), because the equivalent test in
rust_c_bindings uses this eccentric parents counter value.

ec34043 2020-02-12 03:58:26 Jack O'Connor

add cross testing on i686 to CI

30671b1 2020-02-11 06:00:37 Jack O'Connor

version 0.1.5

Changes since 0.1.4:
- Remove all AVX-512 code from builds with the default feature set. This
works around https://github.com/rust-lang/rust/issues/68905 and fixes
the nightly build as long as the "c_avx512" feature is not activated.

This release is a backport of a single commit, e43a7d6. The master
branch contains backwards-incompatible changes (fc219f4), and the next
release of master will be version 0.2.0.

Note that the `b3sum` crate activates the "c_avx512" feature by default,
and it will continue to fail to build on nightly until the upstream bug
is fixed.

e43a7d6 2020-02-11 05:54:52 Jack O'Connor

avoid compiling avx512_detected() when the "c_avx512" feature is disabled

https://github.com/rust-lang/rust/issues/68905 is currently causing
nightly builds to fail, unless `--no-default-features` is used. This
change means that the default build will succeed, and the failure will
only happen when the "c_avx512" is enabled. The `b3sum` crate will still
fail to build on nightly, because it enables that feature, but most
callers should start succeeding on nightly.

af2e791 2020-02-11 05:25:23 Jack O'Connor

avoid compiling avx512_detected() when the "c_avx512" feature is disabled

https://github.com/rust-lang/rust/issues/68905 is currently causing
nightly builds to fail, unless `--no-default-features` is used. This
change means that the default build will succeed, and the failure will
only happen when the "c_avx512" is enabled. The `b3sum` crate will still
fail to build on nightly, because it enables that feature, but most
callers should start succeeding on nightly.

c0a43e5 2020-02-08 03:46:42 Jack O'Connor

add the Windows GNU toolchain to CI

ca62c47 2020-02-07 08:43:50 Jack O'Connor

stop skipping all other builds when one CI build fails

fc219f4 2020-02-07 05:07:15 Jack O'Connor

Hasher::update_with_join

This is a new interface that allows the caller to provide a
multi-threading implementation. It's defined in terms of a new `Join`
trait, for which we provide two implementations, `SerialJoin` and
`RayonJoin`. This lets the caller control when multi-threading is used,
rather than the previous all-or-nothing design of the "rayon" feature.

Although existing callers should keep working, this is a compatibility
break, because callers who were relying on automatic multi-threading
before will now be single-threaded. Thus the next release of this crate
will need to be version 0.2.

See https://github.com/BLAKE3-team/BLAKE3/issues/25 and
https://github.com/BLAKE3-team/BLAKE3/issues/54.

24071db 2020-02-05 00:02:46 Jack O'Connor

re-export digest and crypto_mac

0c663aa 2020-02-04 23:40:10 Jack O'Connor

add a link in the README to bar_chart.py

Closes https://github.com/BLAKE3-team/BLAKE3/issues/53.

a3d42f7 2020-02-04 07:29:25 Cesar Eduardo Barros

Inline wrapper methods

0de4412 2020-02-04 02:05:26 Jack O'Connor

version 0.1.4

Changes since 0.1.3:
- Hasher supports the reset() method.
- Hasher implements several traits from the `digest` and `crypto_mac`
crates.
- Bug fixes in the C implementation for MSVC and for 32-bit x86.

0651736 2020-02-04 00:21:27 Jack O'Connor

make the inherent reset() method return &mut self

9ffe377 2020-02-04 00:18:02 Jack O'Connor

implement crypto_mac::Mac

bcd424c 2020-02-03 07:40:30 Jack O'Connor

mention the digest traits in the docs

9bab77d 2020-02-03 07:28:22 Jack O'Connor

implement traits from the digest crate

e603983 2020-02-03 06:38:29 Jack O'Connor

add Hasher::reset

Closes https://github.com/BLAKE3-team/BLAKE3/issues/41.

a1c4c4e 2020-02-03 03:47:38 Samuel Neves

Fix #51.

Thanks to bit4 for spotting this bug.

5892604 2020-01-31 06:17:46 TheVice

[MSVC] added possible to compile at Microsoft Visual C compiler.

[main.c] removed including of unistd.h from c/main.c file.
[blake3_avx2.c|blake3_avx512.c|blake3_sse41.c] resolved compile error:
'C4146' - applying of unary minus operator to the unsigned value.

3c098ee 2020-01-30 03:05:44 Jack O'Connor

formating in c/README.md