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

blake2: x86 coresimd #72

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion blake2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blake2"
version = "0.8.0"
version = "0.8.2"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "BLAKE2 hash functions"
Expand All @@ -26,6 +26,7 @@ std = ["digest/std", "crypto-mac/std"]
simd = []
simd_opt = ["simd"]
simd_asm = ["simd_opt"]
coresimd = []

[badges]
travis-ci = { repository = "RustCrypto/hashes" }
7 changes: 7 additions & 0 deletions blake2/benches/blake2bp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#![no_std]
#![feature(test)]
#[macro_use]
extern crate digest;
extern crate blake2;

bench!(blake2::Blake2bp);
7 changes: 7 additions & 0 deletions blake2/benches/blake2sp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#![no_std]
#![feature(test)]
#[macro_use]
extern crate digest;
extern crate blake2;

bench!(blake2::Blake2sp);
2 changes: 2 additions & 0 deletions blake2/src/as_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ unsafe impl Safe for i8 {}
unsafe impl Safe for i16 {}
unsafe impl Safe for i32 {}
unsafe impl Safe for i64 {}
unsafe impl<T: Safe> Safe for [T; 8] {}
unsafe impl<T: Safe> Safe for [T; 16] {}
Loading