Skip to content

Commit d7bb26f

Browse files
Arvoleararitkulova
andauthored
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 <aritkulova.yuliia@gmail.com>
1 parent f0443c5 commit d7bb26f

File tree

11 files changed

+1690
-9
lines changed

11 files changed

+1690
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
- name: Setup
1919
uses: ./.github/actions/setup
2020
- name: Run coverage
21+
env:
22+
NODE_OPTIONS: "--max_old_space_size=8192"
2123
run: npm run coverage
2224
- name: Upload coverage to Codecov
23-
uses: codecov/codecov-action@v3
25+
uses: codecov/codecov-action@v4
26+
with:
27+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ jobs:
1818
- name: Setup
1919
uses: ./.github/actions/setup
2020
- name: Run tests
21+
env:
22+
NODE_OPTIONS: "--max_old_space_size=8192"
2123
run: npm run test

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@
1010
Solidity modules and utilities that **go far beyond mediocre solidity**.
1111

1212
- Implementation of [**Contracts Registry**](https://eips.ethereum.org/EIPS/eip-6224) pattern
13-
- Versatile access control smart contracts (**Merkle whitelists**, **RBAC**)
14-
- Enhanced and simplified [**Diamond**](https://eips.ethereum.org/EIPS/eip-2535) pattern
13+
- State-of-the-art cryptography primitives (**ECDSA over 384 bit curves**, **RSASSA-PSS**)
1514
- Advanced data structures (**Vector**, **DynamicSet**, **PriorityQueue**, **AVLTree**)
1615
- ZK-friendly [**Sparse Merkle Tree**](https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf) and [**Incremental Merkle Tree**](https://github.com/runtimeverification/deposit-contract-verification/blob/master/deposit-contract-verification.pdf) implementations
17-
- Flexible finance primitives (**Staking**, **Vesting**)
16+
- Versatile access control smart contracts (**Merkle whitelists**, **RBAC**)
17+
- Enhanced and simplified [**Diamond**](https://eips.ethereum.org/EIPS/eip-2535) pattern
18+
- Flexible finance instruments (**Staking**, **Vesting**)
1819
- Robust UniswapV2 and UniswapV3 oracles
1920
- Lightweight SBT implementation
20-
- Utilities to ease work with memory, ERC20 decimals, arrays, sets, and ZK proofs
21+
- Utilities to ease work with memory, types, ERC20 decimals, arrays, sets, and ZK proofs
2122

22-
Built with the help of [Openzeppelin Contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) (4.9.6).
23+
Built leveraging [OpenZeppelin Contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) (4.9.6).
2324

2425
## Overview
2526

0 commit comments

Comments
 (0)