-
Notifications
You must be signed in to change notification settings - Fork 273
implementation of md6 in pure rust #636
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
Open
truthixify
wants to merge
17
commits into
RustCrypto:master
Choose a base branch
from
truthixify:md6
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1d959af
implementation of md6 in pure rust
truthixify 6adbaba
no_std md6 implementation
truthixify 9b0923b
fixed cargo clippy and added README.md content
truthixify d623751
added tests and benches to md6
truthixify c88621c
cargo fmt
truthixify 42edfa8
fixed README.md and Cargo.toml
truthixify 332fb95
changes to Cargo.lock
truthixify d7939a7
fixed consts docs and moved all consts defintion into consts.rs
truthixify 5096398
cargo fmt... oh my
truthixify f6e7afb
removed minimum supported rust version and semver policy from README.md
truthixify dacb3af
Merge branch 'RustCrypto:master' into md6
truthixify e0b3c1a
Update main README, md6 README, and added md6 CI workflow
truthixify a5eb5f5
fixed workflow error for clippy, rustfmt and build
truthixify fea993e
fixed workflow build
truthixify 9051594
removed redundant constants
truthixify 444200c
added compilation target pointer width
truthixify 3115b26
made some updates for W=32
truthixify File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: md6 | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- ".github/workflows/md6.yml" | ||
- "md6/**" | ||
- "Cargo.*" | ||
push: | ||
branches: master | ||
paths: | ||
- "md6/**" | ||
- "Cargo.*" | ||
|
||
defaults: | ||
run: | ||
working-directory: md6 | ||
|
||
env: | ||
CARGO_INCREMENTAL: 0 | ||
RUSTFLAGS: "-Dwarnings" | ||
|
||
jobs: | ||
set-msrv: | ||
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master | ||
with: | ||
msrv: 1.85.0 | ||
|
||
build: | ||
needs: set-msrv | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
rust: | ||
- ${{needs.set-msrv.outputs.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 }} | ||
- uses: RustCrypto/actions/cargo-hack-install@master | ||
- run: cargo hack build --target ${{ matrix.target }} --each-feature --exclude-features default,std | ||
|
||
test: | ||
needs: set-msrv | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
rust: | ||
- ${{needs.set-msrv.outputs.msrv}} | ||
- stable | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: RustCrypto/actions/cargo-cache@master | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
- uses: RustCrypto/actions/cargo-hack-install@master | ||
- run: cargo hack test --feature-powerset | ||
|
||
minimal-versions: | ||
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master | ||
with: | ||
working-directory: ${{ github.workflow }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ members = [ | |
"md2", | ||
"md4", | ||
"md5", | ||
"md6", | ||
"ripemd", | ||
"sha1", | ||
"sha1-checked", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "md6" | ||
version = "0.11.0-pre.5" | ||
description = "MD6 hash function" | ||
authors = ["RustCrypto Developers"] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
edition = "2024" | ||
rust-version = "1.85" | ||
repository = "https://github.com/RustCrypto/hashes" | ||
keywords = ["crypto", "md6", "hash", "digest"] | ||
categories = ["cryptography", "no-std"] | ||
|
||
[dependencies] | ||
digest = "=0.11.0-pre.10" | ||
|
||
[dev-dependencies] | ||
digest = { version = "=0.11.0-pre.10", features = ["dev"] } | ||
hex-literal = "0.4" | ||
|
||
[features] | ||
default = ["oid", "std"] | ||
std = ["digest/std"] | ||
oid = ["digest/oid"] | ||
zeroize = ["digest/zeroize"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.