Home
last modified time | relevance | path

Searched refs:NULL_PTR (Results 1 – 25 of 26) sorted by relevance

12

/titanic_44/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c102 CK_SLOT_ID_PTR tmp_list = NULL_PTR, tmp2_list = NULL_PTR; in kmf_get_token_slots()
104 ck_rv = C_GetSlotList(1, NULL_PTR, &tmp_count); in kmf_get_token_slots()
113 ck_rv = C_GetSlotList(1, NULL_PTR, &tmp_count); in kmf_get_token_slots()
124 *slot_list = NULL_PTR; in kmf_get_token_slots()
H A Dpk11keys.c613 ckMechanism.pParameter = NULL_PTR; in PKCS_EncryptData()
/titanic_44/usr/src/lib/pkcs11/include/
H A Dcryptoki.h55 #ifndef NULL_PTR
57 #define NULL_PTR NULL macro
/titanic_44/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c455 rv = C_GetSlotList(0, NULL_PTR, &slotcount); in execute_cmd()
467 if (pSlotList == NULL_PTR) { in execute_cmd()
593 NULL_PTR, NULL, &hSession); in execute_cmd()
715 mech.pParameter = NULL_PTR; in execute_cmd()
815 (void) C_Finalize(NULL_PTR); in execute_cmd()
863 if (*pdigest == NULL_PTR) { in do_digest()
930 if (*psignature == NULL_PTR) { in do_mac()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSession.c251 if (pulOperationStateLen == NULL_PTR) { in C_GetOperationState()
286 if ((pOperationState == NULL_PTR) || in C_SetOperationState()
336 if (pPin == NULL_PTR) { in C_Login()
H A DsoftMAC.c236 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
302 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
342 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
383 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
424 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
H A DsoftSSL.c467 if (pVersion == NULL_PTR) in soft_ssl_master_key_derive()
477 if (pVersion != NULL_PTR) in soft_ssl_master_key_derive()
492 if (random_data->pClientRandom == NULL_PTR || ClientRandomLen == 0 || in soft_ssl_master_key_derive()
493 random_data->pServerRandom == NULL_PTR || ServerRandomLen == 0) { in soft_ssl_master_key_derive()
666 if (random_data->pClientRandom == NULL_PTR || ClientRandomLen == 0 || in soft_ssl_key_and_mac_derive()
667 random_data->pServerRandom == NULL_PTR || ServerRandomLen == 0) { in soft_ssl_key_and_mac_derive()
H A DsoftSlotToken.c513 if ((pOldPin == NULL_PTR) || (pNewPin == NULL_PTR)) { in C_SetPIN()
H A DsoftGeneral.c427 (void) finalize_common(B_TRUE, NULL_PTR); in softtoken_fini()
H A DsoftSessionUtil.c505 if (pOperationState == NULL_PTR) { in soft_get_operationstate()
H A DsoftKeystore.c2225 token_session.pApplication = NULL_PTR; in soft_init_token_session()
2380 mech.pParameter = NULL_PTR; in soft_keystore_hmac()
H A DsoftKeysUtil.c1049 if (phKey == NULL_PTR) in soft_derivekey()
/titanic_44/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c157 rv = funcs->C_Initialize(NULL_PTR); in list_metaslot_info()
241 rv = funcs->C_GetMechanismList(METASLOT_ID, NULL_PTR, in list_metaslot_info()
316 (void) funcs->C_Finalize(NULL_PTR); in list_metaslot_info()
H A Dadm_uef.c271 rv = prov_funcs->C_Initialize(NULL_PTR); in list_mechlist_for_lib()
285 rv = prov_funcs->C_GetSlotList(FALSE, NULL_PTR, &slot_count); in list_mechlist_for_lib()
404 NULL_PTR, &mech_count); in list_mechlist_for_lib()
501 (void) prov_funcs->C_Finalize(NULL_PTR); in list_mechlist_for_lib()
1626 NULL_PTR, NULL, &hSession); in check_random()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_md5.c49 mechanism.pParameter = NULL_PTR; in k5_md5_hash()
H A Dhash_sha1.c45 mechanism.pParameter = NULL_PTR; in k5_sha1_hash()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c142 CK_SLOT_ID_PTR slotlist = NULL_PTR; in krb5_open_pkcs11_session()
147 rv = C_GetSlotList(FALSE, NULL_PTR, &slotcount); in krb5_open_pkcs11_session()
183 rv = C_OpenSession(slotlist[i], CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, in krb5_open_pkcs11_session()
287 CK_RV rv = C_Initialize(NULL_PTR); in krb5_init_ef_handle()
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.c274 if (pOperationState == NULL_PTR) { in kernel_get_operationstate()
317 if (pulOperationStateLen == NULL_PTR) in C_GetOperationState()
418 if ((pOperationState == NULL_PTR) || in C_SetOperationState()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c100 mechanism.pParameter = NULL_PTR; in k5_md5des_hash()
226 mechanism.pParameter = NULL_PTR; in k5_md5des_verify()
H A Dhmac_md5.c92 mechanism.pParameter = NULL_PTR; in k5_hmac_md5_hash()
/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c152 if ((rv = C_Initialize(NULL_PTR)) != CKR_OK && in init_pkcs11()
330 CK_SLOT_ID_PTR tmp_list = NULL_PTR, tmp2_list = NULL_PTR; in get_token_slots()
345 if ((rv = C_GetSlotList(1, NULL_PTR, &tmp_count)) != CKR_OK) in get_token_slots()
349 *slot_list = NULL_PTR; in get_token_slots()
/titanic_44/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c442 CK_BYTE_PTR pivbuf = NULL_PTR; in execute_cmd()
513 rv = C_GetSlotList(0, NULL_PTR, &slotcount); in execute_cmd()
524 if (pSlotList == NULL_PTR) { in execute_cmd()
638 NULL_PTR, NULL, &hSession); in execute_cmd()
/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11General.c480 (void) finalize_common(NULL_PTR); in pkcs11_fini()
/titanic_44/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1295 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
1334 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
5264 rv = C_GetSlotList(CK_FALSE, NULL_PTR, &ulSlotCount);
5288 rv = C_GetMechanismList(slotID, NULL_PTR, &ulMechTypeCount);
5300 if (pMechTypeList == NULL_PTR) {
5348 rv = C_Initialize(NULL_PTR);
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c3585 keyGenMech.pParameter = NULL_PTR; in KMFPK11_CreateSymKey()

12