Searched refs:hKey (Results 1 - 18 of 18) sorted by relevance

/bind-9.11.3/bin/tests/pkcs11/benchmarks/
H A Dpubrsa.c119 CK_OBJECT_HANDLE *hKey; local
188 hKey = (CK_SESSION_HANDLE *)
190 if (hKey == NULL) {
195 hKey[i] = CK_INVALID_HANDLE;
212 free(hKey);
232 rv = pkcs_C_CreateObject(hSession, kTemplate, 8, &hKey[i]);
265 if (hKey[i] == CK_INVALID_HANDLE)
267 rv = pkcs_C_DestroyObject(hSession, hKey[i]);
276 free(hKey);
H A Dcreate.c99 CK_OBJECT_HANDLE *hKey; local
162 hKey = (CK_SESSION_HANDLE *)
164 if (hKey == NULL) {
169 hKey[i] = CK_INVALID_HANDLE;
212 rv = pkcs_C_CreateObject(hSession, kTemplate, 5, &hKey[i]);
245 if (hKey[i] == CK_INVALID_HANDLE)
247 rv = pkcs_C_DestroyObject(hSession, hKey[i]);
256 free(hKey);
H A Dverify.c122 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
217 rv = pkcs_C_CreateObject(hSession, kTemplate, 7, &hKey);
239 rv = pkcs_C_VerifyInit(hSession, &mech, hKey);
279 if (hKey != CK_INVALID_HANDLE) {
280 rv = pkcs_C_DestroyObject(hSession, hKey);
H A Dprivrsa.c192 CK_OBJECT_HANDLE *hKey; local
267 hKey = (CK_SESSION_HANDLE *)
269 if (hKey == NULL) {
274 hKey[i] = CK_INVALID_HANDLE;
291 free(hKey);
311 rv = pkcs_C_CreateObject(hSession, kTemplate, 14, &hKey[i]);
344 if (hKey[i] == CK_INVALID_HANDLE)
346 rv = pkcs_C_DestroyObject(hSession, hKey[i]);
355 free(hKey);
H A Dsign.c195 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
296 rv = pkcs_C_CreateObject(hSession, kTemplate, 13, &hKey);
317 rv = pkcs_C_SignInit(hSession, &mech, hKey);
357 if (hKey != CK_INVALID_HANDLE) {
358 rv = pkcs_C_DestroyObject(hSession, hKey);
/bind-9.11.3/lib/isc/win32/
H A Dntpaths.c48 HKEY hKey; local
52 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, BIND_SUBKEY, 0, KEY_READ, &hKey)
58 if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL,
61 RegCloseKey(hKey);
H A Dpk11_api.c358 CK_OBJECT_HANDLE hKey)
368 return (*sym)(hSession, pMechanism, hKey);
441 CK_OBJECT_HANDLE hKey)
451 return (*sym)(hSession, pMechanism, hKey);
507 CK_OBJECT_HANDLE hKey)
517 return (*sym)(hSession, pMechanism, hKey);
356 pkcs_C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
439 pkcs_C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
505 pkcs_C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
/bind-9.11.3/lib/lwres/win32/
H A Dlwconfig.c40 HKEY hKey; local
51 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, TCPIP_SUBKEY, 0, KEY_READ, &hKey)
57 if (RegQueryValueEx(hKey, "SearchList", NULL, NULL,
60 RegCloseKey(hKey);
/bind-9.11.3/bin/tests/pkcs11/
H A Dpkcs11-hmacmd5.c91 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
234 rv = pkcs_C_CreateObject(hSession, keyTemplate, (CK_ULONG) 6, &hKey);
240 if (hKey == CK_INVALID_HANDLE) {
246 rv = pkcs_C_SignInit(hSession, &mech, hKey);
314 rv = pkcs_C_DestroyObject(hSession, hKey);
/bind-9.11.3/bin/win32/BINDInstall/
H A DBINDInstallDlg.cpp322 HKEY hKey; local
327 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, BIND_SUBKEY, 0, KEY_READ, &hKey)
332 if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL, (LPBYTE)buf,
337 RegCloseKey(hKey);
599 HKEY hKey; local
604 &hKey) == ERROR_SUCCESS) {
606 RegSetValueEx(hKey, "InstallDir", 0, REG_SZ,
609 RegCloseKey(hKey);
615 &hKey) == ERROR_SUCCESS) {
618 RegSetValueEx(hKey, "DisplayNam
901 HKEY hKey; local
1161 HKEY hKey; local
1196 HKEY hKey = NULL; local
[all...]
/bind-9.11.3/lib/isc/include/pkcs11/
H A Dpkcs11f.h387 CK_OBJECT_HANDLE hKey /* handle of encryption key */
439 CK_OBJECT_HANDLE hKey /* handle of decryption key */
532 CK_OBJECT_HANDLE hKey /* secret key to digest */
563 CK_OBJECT_HANDLE hKey /* handle of signature key */
619 CK_OBJECT_HANDLE hKey /* handle of the signature key */
651 CK_OBJECT_HANDLE hKey /* verification key */
707 CK_OBJECT_HANDLE hKey /* verification key */
833 CK_OBJECT_HANDLE hKey, /* key to be wrapped */
H A Dpkcs11t.h1664 CK_OBJECT_HANDLE hKey; member in struct:CK_WTLS_KEY_MAT_OUT
1822 CK_OBJECT_HANDLE hKey; member in struct:CK_KIP_PARAMS
1991 CK_OBJECT_HANDLE hKey; member in struct:CK_GOSTR3410_KEY_WRAP_PARAMS
/bind-9.11.3/lib/isc/include/pk11/
H A Dpk11.h215 CK_OBJECT_HANDLE hKey);
235 CK_OBJECT_HANDLE hKey);
252 CK_OBJECT_HANDLE hKey);
/bind-9.11.3/lib/dns/
H A Dpkcs11eddsa_link.c126 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
213 &hKey),
220 pk11_ctx->ontoken ? pk11_ctx->object : hKey),
235 if (hKey != CK_INVALID_HANDLE)
236 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
259 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
329 &hKey),
333 (pk11_ctx->session, &mech, hKey),
346 if (hKey != CK_INVALID_HANDLE)
347 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
1013 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
[all...]
H A Dpkcs11ecdsa_link.c153 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
233 &hKey),
240 pk11_ctx->ontoken ? pk11_ctx->object : hKey),
253 if (hKey != CK_INVALID_HANDLE)
254 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
275 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
340 &hKey),
344 (pk11_ctx->session, &mech, hKey),
355 if (hKey != CK_INVALID_HANDLE)
356 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
1027 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
[all...]
H A Dpkcs11dh_link.c78 CK_OBJECT_HANDLE *hKey)
102 *hKey = priv->object;
134 (session, keyTemplate, (CK_ULONG) 9, hKey),
160 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
206 ret = pkcs11dh_loadpriv(priv, ctx.session, &hKey);
211 (ctx.session, &mech, hKey,
249 if ((hKey != CK_INVALID_HANDLE) && !priv->keydata.pkey->ontoken)
250 (void) pkcs_C_DestroyObject(ctx.session, hKey);
76 pkcs11dh_loadpriv(const dst_key_t *key, CK_SESSION_HANDLE session, CK_OBJECT_HANDLE *hKey) argument
H A Dpkcs11rsa_link.c712 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
922 &hKey),
929 pk11_ctx->ontoken ? pk11_ctx->object : hKey),
950 if (hKey != CK_INVALID_HANDLE)
951 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
972 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
1080 &hKey),
1084 (pk11_ctx->session, &mech, hKey),
1094 if (hKey != CK_INVALID_HANDLE)
1095 (void) pkcs_C_DestroyObject(pk11_ctx->session, hKey);
2054 CK_OBJECT_HANDLE hKey = CK_INVALID_HANDLE; local
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dpk11_api.c337 CK_OBJECT_HANDLE hKey)
350 return (*sym)(hSession, pMechanism, hKey);
427 CK_OBJECT_HANDLE hKey)
440 return (*sym)(hSession, pMechanism, hKey);
500 CK_OBJECT_HANDLE hKey)
513 return (*sym)(hSession, pMechanism, hKey);
336 pkcs_C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
426 pkcs_C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
499 pkcs_C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument

Completed in 104 milliseconds