Files
trussed-staging/Makefile
Robin Krahl e016b25fbc Import HkdfExtension from Nitrokey/trussed-hkdf-backend
The HkdfExtension was previously maintained in a separate repository and
together with a custom backend.  Every additional backend adds some
overhead, both in the firmware and for maintenance.  Therefore this
patch moves the trussed-hkdf crate with the HkdfExtension as an
extension into this repository and implements it for the StagingBackend,
replacing the HkdfBackend.

This patch also releases trussed-hkdf v0.2.0 and trussed-staging v0.3.0.

Fixes: https://github.com/Nitrokey/trussed-hkdf-backend/issues/6
2024-03-25 13:14:12 +01:00

26 lines
746 B
Makefile

# Copyright (C) Nitrokey GmbH
# SPDX-License-Identifier: CC0-1.0
.PHONY: check
check:
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets --workspace
RUSTLFAGS='-Dwarnings' cargo check --no-default-features
RUSTLFAGS='-Dwarnings' cargo check --features chunked
RUSTLFAGS='-Dwarnings' cargo check --features hkdf
RUSTLFAGS='-Dwarnings' cargo check --features manage
RUSTLFAGS='-Dwarnings' cargo check --features wrap-key-to-file
.PHONY: lint
lint:
cargo clippy --all-features --all-targets --workspace -- --deny warnings
cargo fmt --all -- --check
RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps --all-features --workspace
reuse lint
.PHONY: test
test:
cargo test --all-features --workspace
.PHONY: ci
ci: check lint test