Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ Decode
Method
Decode
crypto/ed25519/ecmath/point.go:92–95 ·
view source on GitHub ↗
(e [32]byte)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
(z *Point) Decode(e [32]byte) (*Point, bool) {
93
ok := (*edwards25519.ExtendedGroupElement)(z).FromBytes(&e)
94
return
z, ok
95
}
96
97
func
(z *Point) ConstTimeEqual(x *Point) bool {
98
xe := x.Encode()
Callers
9
UnmarshalText
Method · 0.80
UnmarshalText
Method · 0.80
UnmarshalText
Method · 0.80
UnmarshalText
Method · 0.80
TestKeccakKats
Function · 0.80
UnmarshalText
Method · 0.80
UnmarshalText
Method · 0.80
mustDecodeHex
Function · 0.80
Read
Method · 0.80
Calls
1
FromBytes
Method · 0.45
Tested by
2
TestKeccakKats
Function · 0.64
mustDecodeHex
Function · 0.64