Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
remove unused bitlen method for nist field
Browse files Browse the repository at this point in the history
Signed-off-by: bytemare <[email protected]>
  • Loading branch information
bytemare committed Oct 1, 2024
1 parent e91a91b commit c695d4a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/field/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ func (f Field) Order() *big.Int {
return f.order
}

// BitLen returns the length of the field order in bits.
func (f Field) BitLen() int {
return (f.byteLen * 8) - 7
}

// ByteLen returns the length of the field order in bytes.
func (f Field) ByteLen() int {
return f.byteLen
Expand Down

0 comments on commit c695d4a

Please sign in to comment.