methodiDSISNTRUP.Decaps
function Decaps(const aPrivateKey: iSNTRUPPrivateKey; const aCiphertext: tBytes; var aSharedSecret: tBytes): Boolean;
False with an empty output means a malformed public ciphertext length. A correct-length invalid ciphertext returns True and a pseudorandom implicit-rejection secret, never a ciphertext-validity indication. Keys detected as missing or invalid raise eSNTRUPError; exceptions from private-key accessors propagate unchanged. Input and output may be the same variable or share an allocation; a distinct input variable is left unchanged.