Home
last modified time | relevance | path

Searched refs:hCryptProv (Results 126 – 150 of 471) sorted by relevance

12345678910>>...19

/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCKeyPair.java42 CKeyPair(String alg, long hCryptProv, long hCryptKey, int keyLength) { in CKeyPair() argument
43 CKey.NativeHandles handles = new CKey.NativeHandles(hCryptProv, hCryptKey); in CKeyPair()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/windows/classes/sun/security/mscapi/
H A DCKeyPair.java42 CKeyPair(String alg, long hCryptProv, long hCryptKey, int keyLength) { in CKeyPair() argument
43 CKey.NativeHandles handles = new CKey.NativeHandles(hCryptProv, hCryptKey); in CKeyPair()
/dports/security/d0_blind_id/d0_blind_id-1.0/
H A Dd0_bignum-tommath.c73 HCRYPTPROV hCryptProv; variable
81 CryptGenRandom(hCryptProv, n, (PBYTE) buf); in rand_bytes()
100 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
103 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
110 hCryptProv = NULL; in d0_bignum_INITIALIZE()
139 if(hCryptProv) in d0_bignum_SHUTDOWN()
141 CryptReleaseContext(hCryptProv, 0); in d0_bignum_SHUTDOWN()
142 hCryptProv = NULL; in d0_bignum_SHUTDOWN()
H A Dd0_bignum-gmp.c104 HCRYPTPROV hCryptProv; in d0_bignum_INITIALIZE() local
105 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
107 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
112 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
114 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
116 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
121 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
H A Dd0_bignum-openssl.c130 HCRYPTPROV hCryptProv; in d0_bignum_INITIALIZE() local
131 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
133 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
138 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
140 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
142 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
147 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
/dports/games/xonotic/Xonotic/source/d0_blind_id/
H A Dd0_bignum-tommath.c73 HCRYPTPROV hCryptProv; variable
81 CryptGenRandom(hCryptProv, n, (PBYTE) buf); in rand_bytes()
100 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
103 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
110 hCryptProv = NULL; in d0_bignum_INITIALIZE()
139 if(hCryptProv) in d0_bignum_SHUTDOWN()
141 CryptReleaseContext(hCryptProv, 0); in d0_bignum_SHUTDOWN()
142 hCryptProv = NULL; in d0_bignum_SHUTDOWN()
H A Dd0_bignum-gmp.c104 HCRYPTPROV hCryptProv; in d0_bignum_INITIALIZE() local
105 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
107 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
112 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
114 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
116 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
121 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
H A Dd0_bignum-openssl.c130 HCRYPTPROV hCryptProv; in d0_bignum_INITIALIZE() local
131 if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) in d0_bignum_INITIALIZE()
133 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
138 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
140 …else if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_NE… in d0_bignum_INITIALIZE()
142 if(!CryptGenRandom(hCryptProv, sizeof(buf), (PBYTE) &buf[0])) in d0_bignum_INITIALIZE()
147 CryptReleaseContext(hCryptProv, 0); in d0_bignum_INITIALIZE()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/curl-sys-0.4.48+curl-7.79.1/curl/lib/
H A Dsha256.c172 HCRYPTPROV hCryptProv; member
183 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
185 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
207 if(ctx->hCryptProv) in SHA256_Final()
208 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dsha256.c172 HCRYPTPROV hCryptProv; member
183 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
185 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
207 if(ctx->hCryptProv) in SHA256_Final()
208 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/devel/cmake-gui/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dsha256.c172 HCRYPTPROV hCryptProv; member
183 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
185 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
207 if(ctx->hCryptProv) in SHA256_Final()
208 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/devel/cmake/cmake-3.22.1/Utilities/cmcurl/lib/
H A Dsha256.c172 HCRYPTPROV hCryptProv; member
183 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
185 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
207 if(ctx->hCryptProv) in SHA256_Final()
208 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/src/
H A Dtool_metalink.c82 HCRYPTPROV hCryptProv; member
396 if(ctx->hCryptProv) in win32_crypto_final()
397 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final()
402 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in MD5_Init()
404 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
423 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA1_Init()
425 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
444 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA256_Init()
446 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
/dports/net/proby/proby-1.0.2/cargo-crates/curl-sys-0.4.34+curl-7.71.1/curl/src/
H A Dtool_metalink.c75 HCRYPTPROV hCryptProv; member
333 if(ctx->hCryptProv) in win32_crypto_final()
334 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final()
339 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in MD5_Init()
341 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
360 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in SHA1_Init()
362 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
381 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
383 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/curl-sys-0.4.41+curl-7.75.0/curl/src/
H A Dtool_metalink.c75 HCRYPTPROV hCryptProv; member
333 if(ctx->hCryptProv) in win32_crypto_final()
334 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final()
339 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in MD5_Init()
341 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
360 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in SHA1_Init()
362 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
381 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
383 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/curl/src/
H A Dtool_metalink.c82 HCRYPTPROV hCryptProv; member
396 if(ctx->hCryptProv) in win32_crypto_final()
397 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final()
402 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in MD5_Init()
404 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
423 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA1_Init()
425 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
444 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA256_Init()
446 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/curl-sys-0.4.39+curl-7.74.0/curl/src/
H A Dtool_metalink.c75 HCRYPTPROV hCryptProv; member
333 if(ctx->hCryptProv) in win32_crypto_final()
334 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final()
339 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in MD5_Init()
341 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
360 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in SHA1_Init()
362 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
381 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
383 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/curl-sys-0.4.51+curl-7.80.0/curl/lib/
H A Dsha256.c208 HCRYPTPROV hCryptProv; member
219 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in my_sha256_init()
221 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in my_sha256_init()
243 if(ctx->hCryptProv) in my_sha256_final()
244 CryptReleaseContext(ctx->hCryptProv, 0); in my_sha256_final()
H A Dmd4.c131 HCRYPTPROV hCryptProv; member
138 ctx->hCryptProv = 0; in MD4_Init()
141 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_FULL, in MD4_Init()
143 CryptCreateHash(ctx->hCryptProv, CALG_MD4, 0, 0, &ctx->hHash); in MD4_Init()
163 if(ctx->hCryptProv) in MD4_Final()
164 CryptReleaseContext(ctx->hCryptProv, 0); in MD4_Final()
/dports/net/proby/proby-1.0.2/cargo-crates/curl-sys-0.4.34+curl-7.71.1/curl/lib/
H A Dsha256.c200 HCRYPTPROV hCryptProv; member
211 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
213 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
235 if(ctx->hCryptProv) in SHA256_Final()
236 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/curl-sys-0.4.41+curl-7.75.0/curl/lib/
H A Dsha256.c201 HCRYPTPROV hCryptProv; member
212 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
214 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
236 if(ctx->hCryptProv) in SHA256_Final()
237 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/lang/rust/rustc-1.58.1-src/vendor/curl-sys/curl/lib/
H A Dsha256.c208 HCRYPTPROV hCryptProv; member
219 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in my_sha256_init()
221 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in my_sha256_init()
243 if(ctx->hCryptProv) in my_sha256_final()
244 CryptReleaseContext(ctx->hCryptProv, 0); in my_sha256_final()
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/curl-sys-0.4.39+curl-7.74.0/curl/lib/
H A Dsha256.c200 HCRYPTPROV hCryptProv; member
211 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, PROV_RSA_AES, in SHA256_Init()
213 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
235 if(ctx->hCryptProv) in SHA256_Final()
236 CryptReleaseContext(ctx->hCryptProv, 0); in SHA256_Final()
/dports/security/gnutls/gnutls-3.6.16/lib/system/
H A Dkeys-win.c113 HCRYPTPROV hCryptProv; /* CAPI keystore */ member
323 if (!CryptCreateHash(priv->hCryptProv, Algid, 0, 0, &hHash)) { in capi_sign()
425 CryptReleaseContext(priv->hCryptProv, 0); in capi_deinit()
444 HCRYPTPROV hCryptProv = NULL; in privkey_import_capi() local
448 if (CryptAcquireContextW(&hCryptProv, in privkey_import_capi()
453 if (!CryptSetProvParam(hCryptProv, in privkey_import_capi()
483 (hCryptProv, PP_ENUMALGS_EX, buf, &len, in privkey_import_capi()
511 (hCryptProv, PP_ENUMALGS_EX, buf, &len, in privkey_import_capi()
524 priv->hCryptProv = hCryptProv; in privkey_import_capi()
533 if (hCryptProv != 0) in privkey_import_capi()
[all …]
/dports/math/py-numpy/numpy-1.20.3/numpy/random/src/mt19937/
H A Drandomkit.c527 HCRYPTPROV hCryptProv; in rk_devfill()
530 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, in rk_devfill()
532 !hCryptProv) { in rk_devfill()
535 done = CryptGenRandom(hCryptProv, size, (unsigned char *)buffer); in rk_devfill()
536 CryptReleaseContext(hCryptProv, 0); in rk_devfill()

12345678910>>...19