[PATCH 2/6] ncrypt: Make use of bcrypt for low level cryptography.
Hans Leidekker
hans at codeweavers.com
Thu Mar 3 12:24:23 CST 2022
On Thu, 2022-03-03 at 13:54 -0300, Santino Mazza wrote:
> Hello Hans, thanks for your review. About returning the errors of bcrypt
> from a ncrypt function (Like the calls to BCryptOpenAlgorithmProvider()
> from NCryptImportKey), I try to prevent doing that because both
> functions return two different types of errors, ncrypt returns
> SECURITY_STATUS and bcrypt returns NTSTATUS.
The errors may need translation of course. I don't think we can avoid this
if we're going to use bcrypt.
More information about the wine-devel
mailing list