eXtendable Output Functions

Index

xof/accepts-input xof/block-size xof/clear xof/copy xof/name xof/new xof/output xof/update

Reference

(xof/accepts-input xof-obj)

Return true if the XOF is still accepting input bytes. Typically, XOFs don't accept input as soon as the first output bytes were requested.

(xof/block-size xof-obj)

Return the block size of the XOF.

xof/clearcfunction
(xof/clear xof-obj)

Clear the state of `xof-obj`. Returns `xof-obj`.

xof/copycfunction
(xof/copy xof-obj)

Return a new XOF object copied from `xof-obj`. Returns new `xof-obj`.

xof/namecfunction
(xof/name xof-obj)

Return the name of the XOF.

xof/newcfunction
(xof/new name)

Creates a XOF of the given name, e.g., "SHAKE-128", "Ascon-XOF128". Returns `xof-obj`.

xof/outputcfunction
(xof/output xof-obj out-len)

Generate `out-len` bytes of output from the XOF and return the output.

xof/updatecfunction
(xof/update xof-obj input)

Add input to the XOF computation. Returns `xof-obj`.