Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

implementation of md6 in pure rust#636

Open
truthixify wants to merge 17 commits into
RustCrypto:master from
truthixify:md6
Open

implementation of md6 in pure rust #636
truthixify wants to merge 17 commits into
RustCrypto:master from
truthixify:md6

Conversation

@truthixify

@truthixify truthixify commented Dec 25, 2024

Copy link
Copy Markdown

implementation of md6 in pure rust.

@newpavlov newpavlov left a comment
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can not merge this implementation in such state.

Please, do not disable the Clippy lints, follow the trait API defined in the digest crate, keep the crate no_std-capable (i.e. your code should not have any Vecs), add a CI workflow config for this crate (you can use the md5 file for reference), add the crate to the workspace by modifying the root Cargo.toml file, and remove the md6/.gitignore file.

Our trait APIs are a bit complex (and not documented that well), so I recommend taking a look at other crates in this repository first.

Copy link
Copy Markdown
Author

@newpavlov
I don't know why this is failing: sha2 / riscv64-zknh (pull_request)

Copy link
Copy Markdown
Member

The CI failure is fixed in #637, so you need to rebase to master.

@newpavlov newpavlov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I have some surface-level comments for now. I will take a closer look at the algorithm implementation later.

Comment thread md6/Cargo.toml Outdated
Comment thread md6/Cargo.toml Outdated
Comment thread md6/src/compress.rs Outdated
Comment thread md6/src/compress.rs Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/tests/mod.rs Outdated
Comment thread md6/src/md6.rs Outdated
Comment thread md6/Cargo.toml
Comment thread md6/src/consts.rs Outdated
Comment thread md6/Cargo.toml Outdated
Comment thread md6/README.md Outdated

Copy link
Copy Markdown
Member

Could you also add this crate to the algorithms table in the root README?

Copy link
Copy Markdown
Member

Also please add a CI job for this crate. You can use the md5 config for reference.

Comment thread md6/Cargo.toml Outdated
Comment thread .github/workflows/md6.yml Outdated
Comment thread md6/Cargo.toml Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/tests/mod.rs Outdated
Comment thread md6/src/lib.rs Outdated
Comment thread md6/README.md Outdated
Comment thread md6/Cargo.toml Outdated
Comment thread md6/src/md6.rs Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/src/consts.rs Outdated
Comment thread md6/src/compress.rs
Comment thread md6/src/consts.rs Outdated

Copy link
Copy Markdown
Author

Hello sir @newpavlov.

I've added all the changes sir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@newpavlov newpavlov Awaiting requested review from newpavlov

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /