Home
last modified time | relevance | path

Searched refs:hCryptProv (Results 76 – 100 of 471) sorted by relevance

12345678910>>...19

/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Dbootstrap_hash.c35 static HCRYPTPROV hCryptProv = 0; variable
41 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
59 if (hCryptProv == 0) in win32_urandom()
69 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
594 if (hCryptProv) { in _Py_HashRandomization_Fini()
595 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
596 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Dbootstrap_hash.c35 static HCRYPTPROV hCryptProv = 0; variable
41 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
59 if (hCryptProv == 0) in win32_urandom()
69 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
594 if (hCryptProv) { in _Py_HashRandomization_Fini()
595 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
596 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/lang/python-tools/Python-3.8.12/Python/
H A Dbootstrap_hash.c35 static HCRYPTPROV hCryptProv = 0; variable
41 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
59 if (hCryptProv == 0) in win32_urandom()
69 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
594 if (hCryptProv) { in _Py_HashRandomization_Fini()
595 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
596 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Drandom.c27 static HCRYPTPROV hCryptProv = 0; variable
53 if (! pCryptAcquireContext(&hCryptProv, NULL, NULL, in win32_urandom_init()
74 if (hCryptProv == 0) in win32_urandom()
83 if (!pCryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
425 if (hCryptProv) { in _PyRandom_Fini()
426 CryptReleaseContext(hCryptProv, 0); in _PyRandom_Fini()
427 hCryptProv = 0; in _PyRandom_Fini()
/dports/lang/python27/Python-2.7.18/Python/
H A Drandom.c27 static HCRYPTPROV hCryptProv = 0; variable
53 if (! pCryptAcquireContext(&hCryptProv, NULL, NULL, in win32_urandom_init()
74 if (hCryptProv == 0) in win32_urandom()
83 if (!pCryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
425 if (hCryptProv) { in _PyRandom_Fini()
426 CryptReleaseContext(hCryptProv, 0); in _PyRandom_Fini()
427 hCryptProv = 0; in _PyRandom_Fini()
/dports/lang/python38/Python-3.8.12/Python/
H A Dbootstrap_hash.c35 static HCRYPTPROV hCryptProv = 0; variable
41 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
59 if (hCryptProv == 0) in win32_urandom()
69 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
594 if (hCryptProv) { in _Py_HashRandomization_Fini()
595 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
596 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Dbootstrap_hash.c35 static HCRYPTPROV hCryptProv = 0; variable
41 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
59 if (hCryptProv == 0) in win32_urandom()
69 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
594 if (hCryptProv) { in _Py_HashRandomization_Fini()
595 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
596 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/security/py-cryptography/cryptography-3.3.2/src/_cffi_src/openssl/src/
H A Dosrandom_engine.c30 static HCRYPTPROV hCryptProv = 0; variable
33 if (hCryptProv != 0) { in osrandom_init()
36 if (CryptAcquireContext(&hCryptProv, NULL, NULL, in osrandom_init()
50 if (hCryptProv == 0) { in osrandom_rand_bytes()
54 if (!CryptGenRandom(hCryptProv, (DWORD)size, buffer)) { in osrandom_rand_bytes()
66 if (CryptReleaseContext(hCryptProv, 0)) { in osrandom_finish()
67 hCryptProv = 0; in osrandom_finish()
80 return hCryptProv != 0; in osrandom_rand_status()
/dports/lang/python37/Python-3.7.12/Python/
H A Dbootstrap_hash.c34 static HCRYPTPROV hCryptProv = 0; variable
40 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
60 if (hCryptProv == 0) in win32_urandom()
70 if (!CryptGenRandom(hCryptProv, (DWORD)chunk, buffer)) in win32_urandom()
624 if (hCryptProv) { in _Py_HashRandomization_Fini()
625 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
626 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/lang/python310/Python-3.10.1/Python/
H A Dbootstrap_hash.c45 static HCRYPTPROV hCryptProv = 0; variable
51 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
69 if (hCryptProv == 0) in win32_urandom()
79 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
616 if (hCryptProv) { in _Py_HashRandomization_Fini()
617 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
618 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/lang/python39/Python-3.9.9/Python/
H A Dbootstrap_hash.c45 static HCRYPTPROV hCryptProv = 0; variable
51 if (!CryptAcquireContextW(&hCryptProv, NULL, NULL, in win32_urandom_init()
69 if (hCryptProv == 0) in win32_urandom()
79 if (!CryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
616 if (hCryptProv) { in _Py_HashRandomization_Fini()
617 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini()
618 hCryptProv = 0; in _Py_HashRandomization_Fini()
/dports/security/liboqs/liboqs-0.7.0/src/common/rand/
H A Drand.c99 HCRYPTPROV hCryptProv;
100 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT) ||
101 !CryptGenRandom(hCryptProv, (DWORD) bytes_to_read, random_array)) {
104 CryptReleaseContext(hCryptProv, 0);
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/crypto/
H A Drandom-platform.c28 static HCRYPTPROV hCryptProv; variable
48 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, in qcrypto_random_init()
86 if (!CryptGenRandom(hCryptProv, buflen, buf)) { in qcrypto_random_bytes()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
67 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/benchmarks/fio/fio-3.29/os/
H A Dos-windows.h172 HCRYPTPROV hCryptProv;
174 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT))
181 if (!CryptGenRandom(hCryptProv, size, (BYTE*)rand_seeds)) {
184 CryptReleaseContext(hCryptProv, 0);
188 CryptReleaseContext(hCryptProv, 0);
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/windows/classes/sun/security/mscapi/
H A DCPrivateKey.java46 String alg, long hCryptProv, long hCryptKey, int keyLength) { in of() argument
47 return of(alg, new NativeHandles(hCryptProv, hCryptKey), keyLength); in of()
68 getContainerName(handles.hCryptProv) + "]"; in toString()
/dports/emulators/qemu/qemu-6.2.0/crypto/
H A Drandom-platform.c28 static HCRYPTPROV hCryptProv;
40 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL,
72 if (!CryptGenRandom(hCryptProv, buflen, buf)) {

12345678910>>...19