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

Updated crypto libs for v3.0.0 #118

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Updated crypto libs for v3.0.0 #118

merged 5 commits into from
Nov 20, 2024

Conversation

aritkulova
Copy link
Contributor

@aritkulova aritkulova commented Nov 20, 2024

  • 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.

Arvolear and others added 3 commits November 19, 2024 14:38
* 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]>
- pragma solidity;
- solhint;
- custom errors
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

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

Please upload report for BASE (dev@e2f8a46). Learn more about missing BASE report.

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           @@
##             dev     #118   +/-   ##
======================================
  Coverage       ?   99.79%           
======================================
  Files          ?       55           
  Lines          ?     2973           
  Branches       ?      433           
======================================
  Hits           ?     2967           
  Misses         ?        6           
  Partials       ?        0           

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


🚨 Try these New Features:

README.md Outdated Show resolved Hide resolved
Copy link
Member

@Arvolear Arvolear left a comment

Choose a reason for hiding this comment

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

LGTM!

@Arvolear Arvolear merged commit d614b0a into dev Nov 20, 2024
2 checks passed
@Arvolear Arvolear deleted the feat/update-crypto-libs branch November 20, 2024 12:08
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.

2 participants