Skip to content

Commit

Permalink
fix typo [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jan 5, 2025
1 parent dcc5a07 commit bebc3d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/bls/bls.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ BLS_DLL_API void blsDHKeyExchange(blsPublicKey *out, const blsSecretKey *sec, co
https://crypto.stanford.edu/~dabo/pubs/papers/BLSmultisig.html
H(pubVec)_i := SHA-256(pubVec[0], ..., pubVec[n-1], 4-byte little endian(i))
@note
1. this hash function will be modifed in the future
1. this hash function will be modified in the future
2. sigVec and pubVec are not const because they may be normalized (the value are not changed)
*/
// aggSig = sum sigVec[i] t_i where (t_1, ..., t_n) = H({pubVec})
Expand Down
2 changes: 1 addition & 1 deletion include/bls/bls.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Id {
local::convertArray(x, p, n);
setLittleEndian(x, n * sizeof(uint64_t));
}
// bufSize is truncted/zero extended to keySize
// bufSize is truncated/zero extended to keySize
void setLittleEndian(const uint8_t *buf, size_t bufSize)
{
mclBnFr_setLittleEndian(&self_.v, buf, bufSize);
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ which supports the new BLS Signatures specified at [Ethereum 2.0 Phase 0](https:
- 2021/Sep/16 update mcl and improve performance of isValidOrder, which is called from setStr/deserialize.
- 2021/Apr/28 add blsSetGeneratorOfPublicKey to change the generator.
- 2021/Jan/28 check zero public key on BLS_ETH mode
- 2020/Oct/07 add `blsMultiVerify` to process many verification all togather with multi thread.
- 2020/Oct/07 add `blsMultiVerify` to process many verification all together with multi thread.

## Support architectures

Expand Down

0 comments on commit bebc3d6

Please sign in to comment.