From 50ea9744081efcb9f741f6bd2c77a63f78eaf532 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Mon, 5 Oct 2020 23:47:22 +0530 Subject: [PATCH 2/2] headers: Add new functions in ncrypt.h.
Functions are NCryptCreateClaim and NCryptVerifyClaim for Win10. Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/ncrypt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/ncrypt.h b/mingw-w64-headers/include/ncrypt.h index 16a879d..b52a12b 100644 --- a/mingw-w64-headers/include/ncrypt.h +++ b/mingw-w64-headers/include/ncrypt.h @@ -396,6 +396,10 @@ typedef struct __NCRYPT_UI_POLICY { #if NTDDI_VERSION >= 0x06020000 SECURITY_STATUS WINAPI NCryptKeyDerivation (NCRYPT_KEY_HANDLE hKey, NCryptBufferDesc *pParameterList, PUCHAR pbDerivedKey, DWORD cbDerivedKey, DWORD *pcbResult, ULONG dwFlags); #endif +#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD +SECURITY_STATUS WINAPI NCryptCreateClaim (NCRYPT_KEY_HANDLE hSubjectKey, NCRYPT_KEY_HANDLE hAuthorityKey, DWORD dwClaimType, NCryptBufferDesc *pParameterList, PBYTE pbClaimBlob, DWORD cbClaimBlob, DWORD *pcbResult, DWORD dwFlags); +SECURITY_STATUS WINAPI NCryptVerifyClaim (NCRYPT_KEY_HANDLE hSubjectKey, NCRYPT_KEY_HANDLE hAuthorityKey, DWORD dwClaimType, NCryptBufferDesc *pParameterList, PBYTE pbClaimBlob, DWORD cbClaimBlob, NCryptBufferDesc *pOutput, DWORD dwFlags); +#endif #endif #ifdef __cplusplus -- 2.27.0
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
