Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ecc/ecc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2025 Consensys Software Inc.
// Licensed under the Apache License, Version 2.0. See the LICENSE file for details.

// Package ecc provides bls12-381, bls12-377, bn254, bw6-761, bls24-315, bls24-317, bw6-633, secp256k1, secp256r1, grumpkin and stark-curve elliptic curves implementations.
// Package ecc provides bls12-381, bls12-377, bn254, bw6-761, bls24-315, bls24-317, bw6-633, secp256k1, secp256r1, grumpkin, stark-curve and kb8 elliptic curves implementations.
//
// Also
//
Expand Down Expand Up @@ -32,6 +32,7 @@ const (
SECP256K1
GRUMPKIN
SECP256R1
KB8
)

// MultiExpConfig enables to set optional configuration attribute to a call to MultiExp
Expand Down
7 changes: 7 additions & 0 deletions ecc/ecc_field.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions ecc/kb8/fp/fp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions ecc/kb8/fr/arith.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions ecc/kb8/fr/cbrt_extra_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package fr

import (
"testing"

"github.com/stretchr/testify/require"
)

func TestElementCbrtZero(t *testing.T) {
var zero, got Element
require.NotNil(t, got.Cbrt(&zero))
require.True(t, got.IsZero())
}
46 changes: 46 additions & 0 deletions ecc/kb8/fr/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading