/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11tokens.c | 102 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 D | pk11keys.c | 613 ckMechanism.pParameter = NULL_PTR; in PKCS_EncryptData()
|
/illumos-gate/usr/src/lib/pkcs11/include/ |
H A D | cryptoki.h | 53 #ifndef NULL_PTR 55 #define NULL_PTR NULL macro
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 455 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 D | softSession.c | 251 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 D | softMAC.c | 235 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 D | softSSL.c | 469 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 D | softSlotToken.c | 542 if ((pOldPin == NULL_PTR) || (pNewPin == NULL_PTR)) { in C_SetPIN()
|
H A D | softKeysUtil.c | 842 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 D | softGeneral.c | 479 (void) finalize_common(B_TRUE, NULL_PTR); in softtoken_fini()
|
H A D | softSessionUtil.c | 524 if (pOperationState == NULL_PTR) { in soft_get_operationstate()
|
H A D | softKeystore.c | 2225 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 D | adm_metaslot.c | 157 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 D | adm_uef.c | 272 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 D | init_ctx.c | 142 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 D | hash_md5.c | 49 mechanism.pParameter = NULL_PTR; in k5_md5_hash()
|
H A D | hash_sha1.c | 45 mechanism.pParameter = NULL_PTR; in k5_sha1_hash()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSession.c | 274 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 D | k5_md5des.c | 100 mechanism.pParameter = NULL_PTR; in k5_md5des_hash() 226 mechanism.pParameter = NULL_PTR; in k5_md5des_verify()
|
H A D | hmac_md5.c | 92 mechanism.pParameter = NULL_PTR; in k5_hmac_md5_hash()
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.c | 152 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 D | decrypt.c | 442 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 D | pkcs11General.c | 480 (void) finalize_common(NULL_PTR); in pkcs11_fini()
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 1296 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 D | evaluate.c | 1032 NULL_PTR, enumerator 1039 return NULL_PTR; in is_null_pointer_constant()
|