All BCrypt functions return NT Status values instead of Win32 error codes. Our autogenerated bindings tread them as Win32 error codes, so they are not correctly translated into its human readable form when the error is displayed, e.g. in a panic trace.
We should teach mksyscall to treat the errors as NT Status values.
All BCrypt functions return NT Status values instead of Win32 error codes. Our autogenerated bindings tread them as Win32 error codes, so they are not correctly translated into its human readable form when the error is displayed, e.g. in a panic trace.
We should teach mksyscall to treat the errors as NT Status values.