On Tue, 2019-03-05 at 19:52 +1100, Brendan McGrath wrote:
@@ -602,7 +602,7 @@ NTSTATUS WINAPI BCryptCreateHash( BCRYPT_ALG_HANDLE algorithm, BCRYPT_HASH_HANDL if (flags) { FIXME( "unimplemented flags %08x\n", flags );
return STATUS_NOT_IMPLEMENTED;
return STATUS_INVALID_PARAMETER;
Now you're rejecting all flags while native accepts at least BCRYPT_HASH_REUSABLE_FLAG, according to the documentation.