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

Initial KBKDF implementation #108

Merged
merged 29 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5357d80
Initial commit for KBKDF
baloo Oct 28, 2023
7617a2f
cleanup
baloo Oct 29, 2023
2018242
add CI
baloo Oct 29, 2023
42af5fc
cleanup
baloo Oct 29, 2023
342e132
double-pipeline support
baloo Oct 30, 2023
3c1e97e
fixup cargo.toml
baloo Oct 30, 2023
d7664e9
feat(kbkdf): add counter mode tests;
TheBestTvarynka Jan 24, 2025
a050281
feat(kbkdf): add counter mode tests: cmacaes;
TheBestTvarynka Jan 24, 2025
7aeede2
feat(kbkdf): format tests;
TheBestTvarynka Jan 24, 2025
0cb72fe
feat(kbkdf): add feedback mode with iv tests;
TheBestTvarynka Jan 24, 2025
7f211fa
fix(kbkdf): double pipeline implementation: do not hash separator;
TheBestTvarynka Jan 27, 2025
af72de5
feat(kbkdf): tests: implement simple test vactors parser and implemen…
TheBestTvarynka Jan 29, 2025
2bf73b5
feat(kbkdf): tests: refactor tests and implement feedback mode with i…
TheBestTvarynka Jan 29, 2025
6f05fd4
feat(kbkdf): tests: implement double pipeline without counter tests;
TheBestTvarynka Jan 29, 2025
b9517fc
feat(kbkdf): implement `use_counter` flag;
TheBestTvarynka Jan 29, 2025
77059cb
feat(kbkdf): tests: implement double pipeline with counter tests;
TheBestTvarynka Jan 29, 2025
560d134
feat(kbkdf): tests: implement feedback mode with zero iv and feedback…
TheBestTvarynka Jan 29, 2025
8bb2873
feat(kbkdf): fix broken sealing;
TheBestTvarynka Jan 29, 2025
bb86eab
feat(kbkdf): use pre-releases
baloo Jan 29, 2025
b56a967
chore: update MSRV for kbkdf;
TheBestTvarynka Jan 29, 2025
4886b3b
chore: kbkdf: remove devrem and update hex-literal and rust versions;
TheBestTvarynka Jan 29, 2025
289c98e
chore: kbkdf: exclude NIST test vectors from publishing. add simple
TheBestTvarynka Jan 29, 2025
737aaa0
kbkdf: std is no longer required as core::error::Error stabilized (#2)
baloo Jan 29, 2025
fa2c25e
kbkdf: provide a README (#3)
baloo Jan 29, 2025
ad79ff9
kbkdf: cleanup tests (#4)
baloo Jan 31, 2025
2c59f3a
kbkdf: fixup readme (#5)
baloo Jan 31, 2025
a5c1b21
kbkdf: split off unit tests (#6)
baloo Jan 31, 2025
0715721
kbkdf: integration tests are not functional without data (#7)
baloo Jan 31, 2025
b9e3645
kbkdf: provide a param builder (#8)
baloo Jan 31, 2025
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
60 changes: 60 additions & 0 deletions .github/workflows/kbkdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: kbkdf

on:
pull_request:
paths:
- "kbkdf/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: kbkdf

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
Loading