Accepting pointers to non-const uint8_t buffers means const buffers have to have their constness cast away before passing to this structure. Argon2 doesn't modify any of these buffers except the output array out, so the rest should be pointers to const buffers.
Accepting pointers to non-const
uint8_t
buffers means const buffers have to have their constness cast away before passing to this structure. Argon2 doesn't modify any of these buffers except the output arrayout
, so the rest should be pointers to const buffers.