diff --git a/.github/workflows/blake2.yml b/.github/workflows/blake2.yml new file mode 100644 index 000000000..26f0ab2c3 --- /dev/null +++ b/.github/workflows/blake2.yml @@ -0,0 +1,67 @@ +name: blake2 + +on: + pull_request: + paths: + - "blake2/**" + - "Cargo.*" + push: + branches: master + paths: + - "blake2/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - run: cargo build --no-default-features --release --target ${{ matrix.target }} + working-directory: blake2 + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - run: cargo test --no-default-features + working-directory: blake2 + - run: cargo test + working-directory: blake2 + simd: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + - run: cargo test --features simd + working-directory: blake2 + - run: cargo test --features simd_opt + working-directory: blake2 + - run: cargo test --features simd_asm + working-directory: blake2 diff --git a/.github/workflows/gost94.yml b/.github/workflows/gost94.yml new file mode 100644 index 000000000..8854be792 --- /dev/null +++ b/.github/workflows/gost94.yml @@ -0,0 +1,55 @@ +name: gost94 + +on: + pull_request: + paths: + - "gost94/**" + - "Cargo.*" + push: + branches: master + paths: + - "gost94/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: gost94 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: gost94 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/groestl.yml b/.github/workflows/groestl.yml new file mode 100644 index 000000000..165b33163 --- /dev/null +++ b/.github/workflows/groestl.yml @@ -0,0 +1,54 @@ +name: groestl + +on: + pull_request: + paths: + - "groestl/**" + - "Cargo.*" + push: + branches: master + paths: + - "groestl/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: groestl + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: groestl + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features diff --git a/.github/workflows/k12.yml b/.github/workflows/k12.yml new file mode 100644 index 000000000..83f196308 --- /dev/null +++ b/.github/workflows/k12.yml @@ -0,0 +1,55 @@ +name: k12 + +on: + pull_request: + paths: + - "k12/**" + - "Cargo.*" + push: + branches: master + paths: + - "k12/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + # - thumbv7em-none-eabi # TODO: no_std w/o liballoc + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: k12 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: k12 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/md2.yml b/.github/workflows/md2.yml new file mode 100644 index 000000000..e09b4b332 --- /dev/null +++ b/.github/workflows/md2.yml @@ -0,0 +1,55 @@ +name: md2 + +on: + pull_request: + paths: + - "md2/**" + - "Cargo.*" + push: + branches: master + paths: + - "md2/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: md2 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: md2 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/md4.yml b/.github/workflows/md4.yml new file mode 100644 index 000000000..af9a9baf5 --- /dev/null +++ b/.github/workflows/md4.yml @@ -0,0 +1,55 @@ +name: md4 + +on: + pull_request: + paths: + - "md4/**" + - "Cargo.*" + push: + branches: master + paths: + - "md4/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: md4 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: md4 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/md5.yml b/.github/workflows/md5.yml new file mode 100644 index 000000000..2529c510d --- /dev/null +++ b/.github/workflows/md5.yml @@ -0,0 +1,56 @@ +name: md5 + +on: + pull_request: + paths: + - "md5/**" + - "Cargo.*" + push: + branches: master + paths: + - "md5/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - run: cargo build --no-default-features --release --target ${{ matrix.target }} + working-directory: md5 + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - run: cargo check + working-directory: md5 + - run: cargo test --no-default-features + working-directory: md5 + - run: cargo test + working-directory: md5 + - run: cargo test --features asm + working-directory: md5 diff --git a/.github/workflows/ripemd160.yml b/.github/workflows/ripemd160.yml new file mode 100644 index 000000000..1e6cd1aca --- /dev/null +++ b/.github/workflows/ripemd160.yml @@ -0,0 +1,55 @@ +name: ripemd160 + +on: + pull_request: + paths: + - "ripemd160/**" + - "Cargo.*" + push: + branches: master + paths: + - "ripemd160/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: ripemd160 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: ripemd160 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/ripemd320.yml b/.github/workflows/ripemd320.yml new file mode 100644 index 000000000..9c0932fcd --- /dev/null +++ b/.github/workflows/ripemd320.yml @@ -0,0 +1,55 @@ +name: ripemd320 + +on: + pull_request: + paths: + - "ripemd320/**" + - "Cargo.*" + push: + branches: master + paths: + - "ripemd320/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: ripemd320 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: ripemd320 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/sha1.yml b/.github/workflows/sha1.yml new file mode 100644 index 000000000..457ddcf96 --- /dev/null +++ b/.github/workflows/sha1.yml @@ -0,0 +1,54 @@ +name: sha1 + +on: + pull_request: + paths: + - "sha1/**" + - "Cargo.*" + push: + branches: master + paths: + - "sha1/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - run: cargo build --no-default-features --release --target ${{ matrix.target }} + working-directory: sha1 + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - run: cargo test --no-default-features + working-directory: sha1 + - run: cargo test + working-directory: sha1 + - run: cargo test --features asm + working-directory: sha1 diff --git a/.github/workflows/sha2.yml b/.github/workflows/sha2.yml new file mode 100644 index 000000000..b54bc429d --- /dev/null +++ b/.github/workflows/sha2.yml @@ -0,0 +1,54 @@ +name: sha2 + +on: + pull_request: + paths: + - "sha2/**" + - "Cargo.*" + push: + branches: master + paths: + - "sha2/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - run: cargo build --no-default-features --release --target ${{ matrix.target }} + working-directory: sha2 + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - run: cargo test --no-default-features + working-directory: sha2 + - run: cargo test + working-directory: sha2 + - run: cargo test --features asm + working-directory: sha2 diff --git a/.github/workflows/sha3.yml b/.github/workflows/sha3.yml new file mode 100644 index 000000000..62688f021 --- /dev/null +++ b/.github/workflows/sha3.yml @@ -0,0 +1,54 @@ +name: sha3 + +on: + pull_request: + paths: + - "sha3/**" + - "Cargo.*" + push: + branches: master + paths: + - "sha3/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: sha3 + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: sha3 + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features diff --git a/.github/workflows/shabal.yml b/.github/workflows/shabal.yml new file mode 100644 index 000000000..f27e77b59 --- /dev/null +++ b/.github/workflows/shabal.yml @@ -0,0 +1,54 @@ +name: shabal + +on: + pull_request: + paths: + - "shabal/**" + - "Cargo.*" + push: + branches: master + paths: + - "shabal/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: shabal + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: shabal + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features diff --git a/.github/workflows/streebog.yml b/.github/workflows/streebog.yml new file mode 100644 index 000000000..7fc0803ad --- /dev/null +++ b/.github/workflows/streebog.yml @@ -0,0 +1,55 @@ +name: streebog + +on: + pull_request: + paths: + - "streebog/**" + - "Cargo.*" + push: + branches: master + paths: + - "streebog/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: streebog + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: streebog + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --all-features + diff --git a/.github/workflows/whirlpool.yml b/.github/workflows/whirlpool.yml new file mode 100644 index 000000000..ebbd65c21 --- /dev/null +++ b/.github/workflows/whirlpool.yml @@ -0,0 +1,56 @@ +name: whirlpool + +on: + pull_request: + paths: + - "whirlpool/**" + - "Cargo.*" + push: + branches: master + paths: + - "whirlpool/**" + - "Cargo.*" + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + target: + - thumbv7em-none-eabi + - wasm32-unknown-unknown + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - working-directory: whirlpool + run: cargo build --no-default-features --release --target ${{ matrix.target }} + test: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - 1.41.0 # MSRV + - stable + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - working-directory: whirlpool + run: | + cargo check --all-features + cargo test --no-default-features + cargo test + cargo test --features asm + cargo test --all-features + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6f809fe13..000000000 --- a/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -language: rust -services: docker -sudo: required - -matrix: - include: - - rust: 1.21.0 - script: cargo test --verbose --all --exclude k12 --release - - rust: stable - script: cargo test --verbose --all --release - - rust: nightly - script: cargo test --verbose --all --release - - - env: TARGET=i686-unknown-linux-gnu - rust: stable - - env: TARGET=powerpc-unknown-linux-gnu - rust: stable - - env: TARGET=powerpc64-unknown-linux-gnu - rust: stable - # tests if crates truly can be built without std - - env: TARGET=thumbv7em-none-eabi - rust: nightly - script: ./build_nostd.sh - install: - - cargo install xargo || true - - rustup target install armv7-unknown-linux-gnueabihf - - rustup component add rust-src - - env: NAME=features-test - rust: nightly - script: ./test_features.sh - - env: NAME=test-aarch64 - arch: arm64 - rust: nightly - script: - - cd sha1 - - cargo test --verbose --release --features asm-aarch64 - - cd ../sha2 - - cargo test --verbose --release --features asm-aarch64 - -install: - - cargo install cross || true - -script: - - cross test --verbose --all --release --target $TARGET - -cache: cargo diff --git a/README.md b/README.md index 72871b997..e7fdf234a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# RustCrypto: hashes [![Build Status](https://travis-ci.org/RustCrypto/hashes.svg?branch=master)](https://travis-ci.org/RustCrypto/hashes) +# RustCrypto: hashes Collection of [cryptographic hash functions][1] written in pure Rust. diff --git a/blake2/Cargo.toml b/blake2/Cargo.toml index eb1bc7309..baeb7664e 100644 --- a/blake2/Cargo.toml +++ b/blake2/Cargo.toml @@ -27,6 +27,3 @@ std = ["digest/std", "byteorder/std", "crypto-mac/std"] simd = [] simd_opt = ["simd"] simd_asm = ["simd_opt"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/build_nostd.sh b/build_nostd.sh deleted file mode 100755 index f670d3b97..000000000 --- a/build_nostd.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Due to the fact that cargo does not disable default features when we use -# cargo build --all --no-default-features we have to explicitly iterate over -# all crates (see https://github.com/rust-lang/cargo/issues/4753 ) -DIRS=`ls -d */` -cargo clean - -for DIR in $DIRS; do - if [ $DIR = "target/" ] || [ $DIR = "k12/" ] - then - continue - fi - cd $DIR - xargo build --no-default-features --verbose --target $TARGET || { - echo $DIR failed - exit 1 - } - cd .. -done diff --git a/gost94/Cargo.toml b/gost94/Cargo.toml index 5fe7efafd..c150dfa49 100644 --- a/gost94/Cargo.toml +++ b/gost94/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/groestl/Cargo.toml b/groestl/Cargo.toml index 395158b7e..325c8c2b5 100644 --- a/groestl/Cargo.toml +++ b/groestl/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/k12/Cargo.toml b/k12/Cargo.toml index 1c31aed0a..8da559c0b 100644 --- a/k12/Cargo.toml +++ b/k12/Cargo.toml @@ -3,7 +3,7 @@ name = "k12" version = "0.0.1" authors = ["Diggory Hardy "] license = "Apache-2.0 OR MIT" -description = "Pure Rust implementation of the KangarooTwelve hash function" +description = "Experimental pure Rust implementation of the KangarooTwelve hash function" documentation = "https://docs.rs/k12" repository = "https://github.com/RustCrypto/hashes" keywords = ["crypto", "hash", "digest"] @@ -19,7 +19,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -maintenance = { status = "experimental" } -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/k12/src/lib.rs b/k12/src/lib.rs index e8d5665bc..1044e6292 100644 --- a/k12/src/lib.rs +++ b/k12/src/lib.rs @@ -1,10 +1,13 @@ -//! An implementation of the KangarooTwelve cryptographic hash algorithm, -//! based on the reference implementation: +//! Experimental pure Rust implementation of the KangarooTwelve +//! cryptographic hash algorithm, based on the reference implementation: //! //! //! //! Some optimisations copied from: +// Based off this translation originally by Diggory Hardy: +// + #![no_std] extern crate alloc; diff --git a/md2/Cargo.toml b/md2/Cargo.toml index 9db8be33d..072177eeb 100644 --- a/md2/Cargo.toml +++ b/md2/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/md4/Cargo.toml b/md4/Cargo.toml index 69c4790ff..20f3ade0c 100644 --- a/md4/Cargo.toml +++ b/md4/Cargo.toml @@ -22,6 +22,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/md5/Cargo.toml b/md5/Cargo.toml index 206104eb7..992841229 100644 --- a/md5/Cargo.toml +++ b/md5/Cargo.toml @@ -26,6 +26,3 @@ hex-literal = "0.1" default = ["std"] std = ["digest/std"] asm = ["md5-asm"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/ripemd160/Cargo.toml b/ripemd160/Cargo.toml index 210cf94f1..d35003a08 100644 --- a/ripemd160/Cargo.toml +++ b/ripemd160/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/ripemd320/Cargo.toml b/ripemd320/Cargo.toml index e11a75f57..e72e5e987 100644 --- a/ripemd320/Cargo.toml +++ b/ripemd320/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/sha1/Cargo.toml b/sha1/Cargo.toml index a5f40e99c..504483ce5 100644 --- a/sha1/Cargo.toml +++ b/sha1/Cargo.toml @@ -32,6 +32,3 @@ asm = ["sha1-asm"] # TODO: Remove this feature once is_aarch64_feature_detected!() is stabilised. # Only used on AArch64 Linux systems, when built without the crypto target_feature. asm-aarch64 = ["asm", "libc"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/sha2/Cargo.toml b/sha2/Cargo.toml index e01cd0cb1..a4ebcb6dc 100644 --- a/sha2/Cargo.toml +++ b/sha2/Cargo.toml @@ -33,7 +33,3 @@ compress = [] # TODO: Remove this feature once is_aarch64_feature_detected!() is stabilised. # Only used on AArch64 Linux systems, when built without the crypto target_feature. asm-aarch64 = ["asm", "libc"] - -[badges] -maintenance = { status = "actively-developed" } -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/sha3/Cargo.toml b/sha3/Cargo.toml index cdfb74e3e..81c2b09f8 100644 --- a/sha3/Cargo.toml +++ b/sha3/Cargo.toml @@ -23,6 +23,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/shabal/Cargo.toml b/shabal/Cargo.toml index 82242a883..bc9e31c44 100644 --- a/shabal/Cargo.toml +++ b/shabal/Cargo.toml @@ -21,6 +21,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } \ No newline at end of file diff --git a/shabal/README.md b/shabal/README.md index 820e9b74a..ce9478480 100644 --- a/shabal/README.md +++ b/shabal/README.md @@ -1,5 +1,3 @@ -[![Build Status](https://travis-ci.org/spebern/shabal-rs.svg?branch=master)](https://travis-ci.org/spebern/shabal-rs) [![dependency status](https://deps.rs/repo/github/spebern/shabal-rs/status.svg)](https://deps.rs/repo/github/spebern/shabal-rs) - # shabal An implementation of the [Shabal][1] cryptographic hash algorithm. diff --git a/streebog/Cargo.toml b/streebog/Cargo.toml index cc00de0c9..969ac03cc 100644 --- a/streebog/Cargo.toml +++ b/streebog/Cargo.toml @@ -22,6 +22,3 @@ hex-literal = "0.1" [features] default = ["std"] std = ["digest/std"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" } diff --git a/test_features.sh b/test_features.sh deleted file mode 100755 index 03747f87b..000000000 --- a/test_features.sh +++ /dev/null @@ -1,6 +0,0 @@ -cd md5 && cargo test --features asm && cd .. && -cd sha1 && cargo test --features asm && cd .. && -cd whirlpool && cargo test --features asm && cd .. && -cd blake2 && cargo test --features simd && - cargo test --features simd_opt && - cargo test --features simd_asm diff --git a/whirlpool/Cargo.toml b/whirlpool/Cargo.toml index a45ef6a5b..64caa7d07 100644 --- a/whirlpool/Cargo.toml +++ b/whirlpool/Cargo.toml @@ -24,6 +24,3 @@ hex-literal = "0.1" default = ["std"] std = ["digest/std"] asm = ["whirlpool-asm"] - -[badges] -travis-ci = { repository = "RustCrypto/hashes" }