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

Added Blake3 implementation using blake3 crate #1613

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

prakhar479
Copy link
Contributor

@prakhar479 prakhar479 commented Aug 30, 2024

Added/integrated blake3 function to crypto lib
Added tests for blake3 implementation
Added tests for blake3 in grammer tests
Addded external dependency in cargo.toml and fixed formatting

1. Does this PR affect any open issues?(Y/N) :

2. What is the scope of this PR (e.g. component or file name):

kclvm/runtime/src/crypto
kclvm/tests/
test/grammer/builtins/cypto

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

added blake3 hashing method for provided crypto module

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

Unit tests:
test/test_units/runtime/crypto/test_crypto.py
Grammer tests:
test/grammer/builtins/crypto/blake

Signed-off-by: Prakhar Singhal <[email protected]>

Added tests for blake3 implementation

Signed-off-by: Prakhar Singhal <[email protected]>

added/integrated blake3 function to crypto lib

Signed-off-by: Prakhar Singhal <[email protected]>

Added tests for blake3 in grammer tests

Signed-off-by: Prakhar Singhal <[email protected]>

Addded external dependency in cargo.toml and fixed formatting

Signed-off-by: Prakhar Singhal <[email protected]>
@prakhar479
Copy link
Contributor Author

@Peefy can you take a look thanks!

@Peefy
Copy link
Contributor

Peefy commented Aug 30, 2024

Thanks for the contribution. The CI failed, and could you please fix it.

Signed-off-by: Prakhar Singhal <[email protected]>
@Peefy
Copy link
Contributor

Peefy commented Sep 2, 2024

I'll merge this PR and could you please fix CI issues?

@Peefy Peefy merged commit bf8505d into kcl-lang:main Sep 3, 2024
8 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants