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

hkdf: migrate to hmac v0.12 and digest v0.10 #52

Merged
merged 1 commit into from
Dec 7, 2021
Merged
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
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

74 changes: 27 additions & 47 deletions .github/workflows/hkdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,61 +17,41 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
test:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- target: i686-unknown-linux-gnu
toolchain: 1.41.0 # MSRV
use_cross: false
deps: sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
toolchain: stable
use_cross: false
deps: sudo apt install gcc-multilib
- target: x86_64-unknown-linux-gnu
toolchain: 1.41.0 # MSRV
use_cross: false
deps: true
- target: x86_64-unknown-linux-gnu
toolchain: stable
use_cross: false
deps: true
- target: powerpc-unknown-linux-gnu
toolchain: 1.41.0 # MSRV
use_cross: true
deps: true
- target: powerpc-unknown-linux-gnu
toolchain: stable
use_cross: true
deps: true
## TODO: debug PPC64 linking errors. Example failure:
## <https://github.com/RustCrypto/KDFs/runs/1276943457?check_suite_focus=true>
#- target: powerpc64-unknown-linux-gnu
# toolchain: 1.41.0 # MSRV
# use_cross: true
# deps: true
#- target: powerpc64-unknown-linux-gnu
# toolchain: stable
# use_cross: true
# deps: true
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- run: ${{ matrix.deps }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
use-cross: ${{ matrix.use_cross }}
args: --target ${{ matrix.target }} --release
- uses: actions-rs/cargo@v1
- run: cargo build --no-default-features --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:
command: test
use-cross: ${{ matrix.use_cross }}
args: --target ${{ matrix.target }} --release --all-features
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
172 changes: 61 additions & 111 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading