Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DOSNetwork/core
/ load4
Function
load4
group/edwards25519/fe.go:71–77 ·
view source on GitHub ↗
(in []byte)
Source
from the content-addressed store, hash-verified
69
}
70
71
func
load4(in []byte) int64 {
72
r := int64(in[0])
73
r |= int64(in[1]) << 8
74
r |= int64(in[2]) << 16
75
r |= int64(in[3]) << 24
76
return
r
77
}
78
79
func
feFromBytes(dst *fieldElement, src []byte) {
80
h0 := load4(src[:])
Callers
9
scAddFact
Function · 0.85
scMulFact
Function · 0.85
scSubFact
Function · 0.85
scMulAdd
Function · 0.85
scAdd
Function · 0.85
scSub
Function · 0.85
scMul
Function · 0.85
scReduce
Function · 0.85
feFromBytes
Function · 0.85
Calls
no outgoing calls
Tested by
3
scAddFact
Function · 0.68
scMulFact
Function · 0.68
scSubFact
Function · 0.68