On Thu May 22 12:47:26 2025 +0000, Hans Leidekker wrote:
That was my first guess too :) Perhaps I'm missing something but this appears to encrypt in-place. It seems to me that you would need to pass a separate SECBUFFER_STREAM buffer that is large enough to hold data + token.
Shouldn't also work {NULL,0} as a SECBUFFER_STREAM output?