Skip to content

Commit

Permalink
crypto: fix typos in comments (ethereum#29186)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Dec 2, 2024
1 parent 2dce521 commit 684ee21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crypto/kzg4844/kzg4844.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Claim [32]byte
var useCKZG atomic.Bool

// UseCKZG can be called to switch the default Go implementation of KZG to the C
// library if fo some reason the user wishes to do so (e.g. consensus bug in one
// library if for some reason the user wishes to do so (e.g. consensus bug in one
// or the other).
func UseCKZG(use bool) error {
if use && !ckzgAvailable {
Expand Down
2 changes: 1 addition & 1 deletion crypto/secp256k1/libsecp256k1/include/secp256k1.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ SECP256K1_API int secp256k1_ecdsa_signature_serialize_compact(
/** Verify an ECDSA signature.
*
* Returns: 1: correct signature
* 0: incorrect or unparseable signature
* 0: incorrect or unparsable signature
* Args: ctx: a secp256k1 context object, initialized for verification.
* In: sig: the signature being verified (cannot be NULL)
* msg32: the 32-byte message hash being verified (cannot be NULL)
Expand Down
2 changes: 1 addition & 1 deletion crypto/secp256k1/libsecp256k1/sage/group_prover.sage
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# - A constraint describing the requirements of the law, called "require"
# * Implementations are transliterated into functions that operate as well on
# algebraic input points, and are called once per combination of branches
# exectured. Each execution returns:
# executed. Each execution returns:
# - A constraint describing the assumptions this implementation requires
# (such as Z1=1), called "assumeFormula"
# - A constraint describing the assumptions this specific branch requires,
Expand Down

0 comments on commit 684ee21

Please sign in to comment.