PLShakeXOFInit

Cryptography

Description

Initializes a streaming SHAKE extendable-output context over the Keccak permutation

The context is zeroed and configured with the raw-codec padding: Shake128 selects the 168-byte rate, otherwise SHAKE256 with the 136-byte rate; both apply the $1F domain suffix

Syntax

Delphi

Procedure PLShakeXOFInit(Var Ctx: TPLShakeXOF; Shake128: Boolean);

Parameters

CtxContext record to initialize; no external allocation is needed
Shake128Selects SHAKE128 when True, SHAKE256 when False

Remarks

The streaming context underlies the Ed448 and ML-DSA primitives and the one-shot PLShakeXOF helper; reuse requires re-initializing the record

See also

PLShakeXOFAbsorb, PLShakeXOFFinalize, PLShakeXOFSqueeze, PLShakeXOF