Hello,
I would like to develop SSPI in kernel mode.
I downloaded the CNG Development Kit and saw, that some SSL function were available for use:

These articles (SSPI model, Kernel Mode SSL) says, that SSPI/SSL is available in kernel mode.
But I don’t understand, how I can use it?
For example, the “Remarks” section of the BCryptOpenAlgorithmProvider page mentions “How to use BCrypt API in the kernel”. However, I couldn’t find similar information about the SSL API (e.g, SslOpenProvider)
If I try to include the “sslprovider.h” file (from the CNG SDK) in my driver project, I can’t build the project.
Because the header “sslprovider.h” includes "wincrypt.h ", which is only used in user-mode…
Thank you!