Documentation ¶
Index ¶
- func CryptoCycle(s *State)
- func Final(s *State)
- func GetItemNo(state *State) uint64
- func Init(s *State, seed []byte, nonce uint64)
- func Smul(s *State)
- func Update(state *State, item []byte, contentBlock []byte, randHashCycles int, ...) bool
- type Context
- type State
- func (s *State) Data() []byte
- func (s *State) GetAddLen() byte
- func (s *State) GetAdditionalZeros() byte
- func (s *State) GetBitRange(offset, width byte) byte
- func (s *State) GetLength() byte
- func (s *State) GetTrailingZeros() byte
- func (s *State) GetVersion() byte
- func (s *State) IsDecrypt() bool
- func (s *State) IsFailed() bool
- func (s *State) Key() []byte
- func (s *State) MakeFuzzable()
- func (s *State) Nonce() []byte
- func (s *State) Poly() []byte
- func (s *State) SetAddLen(v byte)
- func (s *State) SetAdditionalZeros(v byte)
- func (s *State) SetBitRange(offset, width, _v byte)
- func (s *State) SetDecrypt(v bool)
- func (s *State) SetFailed(v bool)
- func (s *State) SetLength(v byte)
- func (s *State) SetTrailingZeros(v byte)
- func (s *State) SetTruncated(v bool)
- func (s *State) SetVersion(v byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CryptoCycle ¶
func CryptoCycle(s *State)
Types ¶
type State ¶
type State struct {
Bytes [2048]byte
}
func (*State) GetAdditionalZeros ¶
func (*State) GetBitRange ¶
func (*State) GetTrailingZeros ¶
func (*State) GetVersion ¶
func (*State) MakeFuzzable ¶
func (s *State) MakeFuzzable()
func (*State) SetAdditionalZeros ¶
func (*State) SetBitRange ¶
func (*State) SetDecrypt ¶
func (*State) SetTrailingZeros ¶
func (*State) SetTruncated ¶
func (*State) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.