Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for additional functions in Bcrypt #1305

Closed
Amit-L opened this issue Nov 6, 2024 · 1 comment
Closed

Support for additional functions in Bcrypt #1305

Amit-L opened this issue Nov 6, 2024 · 1 comment

Comments

@Amit-L
Copy link

Amit-L commented Nov 6, 2024

Hello!

Are below functions from bcrypt library getting support from cswin32?

  1. BCryptRegisterProvider
  2. BCryptUnregisterProvider
  3. BCryptAddContextFunctionProvider
  4. BCryptRemoveContextFunctionProvider

Currently getting below error

e.g. for function BCryptRemoveContextFunctionProvider
warning PInvoke001: Method, type or constant "BCryptRemoveContextFunctionProvider" not found

@AArnott
Copy link
Member

AArnott commented Jan 22, 2025

CsWin32 will produce any API published in winmd metadata. It comes with win32metadata and wdk32metadata, which should include all the documented APIs for Windows. I took a quick look and couldn't find any documentation for BCryptRemoveContextFunctionProvider, nor could I find it in the metadata. My guess then is that it isn't supposed to be included due to being a private API.

If you disagree, please file an issue over at https://github.com/microsoft/win32metadata for consideration.

@AArnott AArnott closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants