lzss

package
v0.0.0-...-70ee9f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchCompressionE2ECompilation

func BenchCompressionE2ECompilation(dict []byte, name string) (constraint.ConstraintSystem, error)

func Decompress

func Decompress(api frontend.API, c []frontend.Variable, cLength frontend.Variable, d []frontend.Variable, dict []byte, level lzss.Level) (dLength frontend.Variable, err error)

Decompress decompresses c into d using dict as the dictionary It returns the length of d as a frontend.Variable

Types

type DecompressionTestCircuit

type DecompressionTestCircuit struct {
	C                []frontend.Variable
	D                []byte
	Dict             []byte
	CLength          frontend.Variable
	CheckCorrectness bool
	Level            lzss.Level
}

func (*DecompressionTestCircuit) Define

func (c *DecompressionTestCircuit) Define(api frontend.API) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL