package guts

Import Path
	lukechampine.com/blake3/guts (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 2 packages

Involved Source Files compress_amd64.go compress_generic.go cpu.go Package guts provides a low-level interface to the BLAKE3 cryptographic hash function. compress_amd64.s
Package-Level Type Names (only one)
/* sort by: | */
A Node represents a chunk or parent in the BLAKE3 Merkle tree. Block [16]uint32 BlockLen uint32 // chaining value from previous node Counter uint64 Flags uint32 func CompressBuffer(buf *[16384]byte, buflen int, key *[8]uint32, counter uint64, flags uint32) Node func CompressChunk(chunk []byte, key *[8]uint32, counter uint64, flags uint32) Node func CompressEigentree(buf []byte, key *[8]uint32, counter uint64, flags uint32) Node func ParentNode(left, right [8]uint32, key *[8]uint32, flags uint32) Node func ChainingValue(n Node) (cv [8]uint32) func CompressBlocks(out *[1024]byte, n Node) func CompressNode(n Node) (out [16]uint32)
Package-Level Functions (total 10)
BytesToWords converts an array of 64 bytes to an array of 16 bytes.
ChainingValue compresses n and returns the first 8 output words.
CompressBlocks compresses MaxSIMD copies of n with successive counter values, storing the results in out.
CompressBuffer compresses up to MaxSIMD chunks in parallel and returns their root node.
CompressChunk compresses a single chunk, returning its final (uncompressed) node.
CompressEigentree compresses a buffer of 2^n chunks in parallel, returning their root node.
CompressNode compresses a node into a 16-word output.
Eigentrees returns the sequence of eigentree heights that increment counter to counter+chunks.
ParentNode returns a Node that incorporates the chaining values of two child nodes.
WordsToBytes converts an array of 16 words to an array of 64 bytes.
Package-Level Variables (only one)
IV is the BLAKE3 initialization vector.
Package-Level Constants (total 10)
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.
Various constants.