Home
last modified time | relevance | path

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

12

/illumos-gate/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()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dcryptoki.h53 #ifndef NULL_PTR
55 #define NULL_PTR NULL macro
/illumos-gate/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()
/illumos-gate/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.c235 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
301 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
341 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
382 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
423 digest_mech.pParameter = NULL_PTR; in mac_init_ctx()
H A DsoftSSL.c469 if (pVersion == NULL_PTR) in soft_ssl_master_key_derive()
479 if (pVersion != NULL_PTR) in soft_ssl_master_key_derive()
494 if (random_data->pClientRandom == NULL_PTR || ClientRandomLen == 0 || in soft_ssl_master_key_derive()
495 random_data->pServerRandom == NULL_PTR || ServerRandomLen == 0) { in soft_ssl_master_key_derive()
668 if (random_data->pClientRandom == NULL_PTR || ClientRandomLen == 0 || in soft_ssl_key_and_mac_derive()
669 random_data->pServerRandom == NULL_PTR || ServerRandomLen == 0) { in soft_ssl_key_and_mac_derive()
H A DsoftSlotToken.c542 if ((pOldPin == NULL_PTR) || (pNewPin == NULL_PTR)) { in C_SetPIN()
H A DsoftKeysUtil.c842 if (phKey == NULL_PTR) in soft_derivekey()
874 if (phKey == NULL_PTR) in soft_derivekey()
941 if (phKey == NULL_PTR) in soft_derivekey()
1037 if (phKey == NULL_PTR) in soft_derivekey()
H A DsoftGeneral.c479 (void) finalize_common(B_TRUE, NULL_PTR); in softtoken_fini()
H A DsoftSessionUtil.c524 if (pOperationState == NULL_PTR) { in soft_get_operationstate()
H A DsoftKeystore.c2225 token_session.pApplication = NULL_PTR; in soft_init_token_session()
2343 mech.pParameter = NULL_PTR; in soft_keystore_hmac()
/illumos-gate/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.c272 rv = prov_funcs->C_Initialize(NULL_PTR); in list_mechlist_for_lib()
286 rv = prov_funcs->C_GetSlotList(FALSE, NULL_PTR, &slot_count); in list_mechlist_for_lib()
405 NULL_PTR, &mech_count); in list_mechlist_for_lib()
502 (void) prov_funcs->C_Finalize(NULL_PTR); in list_mechlist_for_lib()
1627 NULL_PTR, NULL, &hSession); in check_random()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11General.c480 (void) finalize_common(NULL_PTR); in pkcs11_fini()
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1296 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
1335 rv = C_OpenSession(slot_id, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR,
5267 rv = C_GetSlotList(CK_FALSE, NULL_PTR, &ulSlotCount);
5291 rv = C_GetMechanismList(slotID, NULL_PTR, &ulMechTypeCount);
5303 if (pMechTypeList == NULL_PTR) {
5351 rv = C_Initialize(NULL_PTR);
/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c1032 NULL_PTR, enumerator
1039 return NULL_PTR; in is_null_pointer_constant()

12