OK - so it should return STATUS_NOT_IMPLEMENTED when BCRYPT_HASH_REUSABLE_FLAG is passed and STATUS_INVALID_PARAMETER otherwise?
On 5/3/19 8:31 pm, Hans Leidekker wrote:
On Tue, 2019-03-05 at 20:24 +1100, Brendan McGrath wrote:
This patch is only changing the return value (to be consistent with Windows). It looks like BCRYPT_HASH_REUSABLE_FLAG is yet to be implemented?
Right, but returning STATUS_INVALID_PARAMETER instead of STATUS_NOT_IMPLEMENTED when BCRYPT_HASH_REUSABLE_FLAG is passed is not an improvement.