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

Crypto libs #115

Merged
merged 14 commits into from
Nov 19, 2024
Merged

Crypto libs #115

merged 14 commits into from
Nov 19, 2024

Conversation

Arvolear
Copy link
Member

  • Since this PR suggests a bug fix, the tests have been added and the coverage is 100%.
  • Since this PR introduces a new feature, the update has been discussed in an Issue or with the team.
  • This PR is just a minor change, like a typo fix.

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 98.26590% with 6 lines in your changes missing coverage. Please review.

Project coverage is 99.79%. Comparing base (e554591) to head (50b02fb).
Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
contracts/libs/crypto/ECDSA384.sol 98.56% 4 Missing ⚠️
contracts/libs/crypto/RSASSAPSS.sol 97.01% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##            master     #115      +/-   ##
===========================================
- Coverage   100.00%   99.79%   -0.21%     
===========================================
  Files           50       54       +4     
  Lines         2295     2969     +674     
  Branches       365      440      +75     
===========================================
+ Hits          2295     2963     +668     
- Misses           0        6       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Member

@Hrom131 Hrom131 left a comment

Choose a reason for hiding this comment

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

Let's go!

@Arvolear Arvolear merged commit d7bb26f into master Nov 19, 2024
3 of 4 checks passed
@Arvolear Arvolear deleted the feat/crypto branch November 19, 2024 12:38
Arvolear added a commit that referenced this pull request Nov 20, 2024
* Crypto libs (#115)

* added ecdsa384 lib

* added rsassapss

* try fix ci

* fix callvalue

* Added tests covering the `verify` and `_isOnCurve` functions

* fix coverage

* split getModifiedSigOrPubKey into modifyLeft and modifyRight

* Added tests covering the RSASSAPSS lib

* switched to assert two unreachable conditions

* fixed typos in test

* removed unused functions in U384 lib

* added test for a U384.cmp function

* trying to fix test for cmp

* add brainpoolP384r1 test

---------

Co-authored-by: aritkulova <[email protected]>

* updated crypto lib contracts:
- pragma solidity;
- solhint;
- custom errors

* updated missed pragma solidity

* fixed typo in README

---------

Co-authored-by: Artem Chystiakov <[email protected]>
Arvolear added a commit that referenced this pull request Dec 3, 2024
* Crypto libs (#115)

* added ecdsa384 lib

* added rsassapss

* try fix ci

* fix callvalue

* Added tests covering the `verify` and `_isOnCurve` functions

* fix coverage

* split getModifiedSigOrPubKey into modifyLeft and modifyRight

* Added tests covering the RSASSAPSS lib

* switched to assert two unreachable conditions

* fixed typos in test

* removed unused functions in U384 lib

* added test for a U384.cmp function

* trying to fix test for cmp

* add brainpoolP384r1 test

---------

Co-authored-by: aritkulova <[email protected]>

* updated crypto lib contracts:
- pragma solidity;
- solhint;
- custom errors

* updated missed pragma solidity

* fixed typo in README

---------

Co-authored-by: Artem Chystiakov <[email protected]>
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.

3 participants