Skip to content

Commit

Permalink
pubkey size 128 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Dec 21, 2023
1 parent 0c9df8f commit bd1f4bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions signer/bn254/bn254.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ const (
PrivKeyName = "tendermint/PrivKeyBn254"
PubKeyName = "tendermint/PubKeyBn254"
// PubKeySize is is the size, in bytes, of public keys as used in this package.
PubKeySize = 32
PubKeySize = 128
// PrivateKeySize is the size, in bytes, of private keys as used in this package.
PrivateKeySize = 64
// Size of an Bn254 signature. Namely the size of a compressed
// Bn254 point, and a field element. Both of which are 32 bytes.
SignatureSize = 64
// SeedSize is the size, in bytes, of private key seeds. These are the
// private key representations used by RFC 8032.
SeedSize = 32

KeyType = "bn254"
)
Expand Down

0 comments on commit bd1f4bc

Please sign in to comment.