Home
last modified time | relevance | path

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

12345678910>>...42

/dports/security/beid/eid-mw-5.0.8/tests/unit/
H A Dnonsensible.c56 check_rv_long(C_Encrypt(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
57 check_rv_long(C_EncryptUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
60 check_rv_long(C_Decrypt(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
61 check_rv_long(C_DecryptUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
63 check_rv_long(C_DigestEncryptUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
64 check_rv_long(C_DecryptDigestUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
65 check_rv_long(C_SignEncryptUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
66 check_rv_long(C_DecryptVerifyUpdate(session, NULL_PTR, 0, NULL_PTR, &data),m); in TEST_FUNC()
81 check_rv_long(C_SignRecover(session, NULL_PTR, data, NULL_PTR, &data), m); in TEST_FUNC()
83 check_rv_long(C_Verify(session, NULL_PTR, data, NULL_PTR, data), m); in TEST_FUNC()
[all …]
H A Dobjects.c65 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
68 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
72 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
74 check_rv(C_FindObjectsInit(session, NULL_PTR, 0)); in TEST_FUNC()
90 invalid[0].pValue = NULL_PTR; in TEST_FUNC()
109 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
115 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
121 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
148 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
156 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
[all …]
H A Dslotevent.c50 check_rv_long(C_WaitForSlotEvent(CKF_DONT_BLOCK, NULL_PTR, NULL_PTR), m_p11_noinit); in TEST_FUNC()
51 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
60 check_rv(C_WaitForSlotEvent(CKF_DONT_BLOCK, &slot, NULL_PTR)); in TEST_FUNC()
68 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
72 check_rv(C_WaitForSlotEvent(CKF_DONT_BLOCK, &slot, NULL_PTR)) in TEST_FUNC()
76 check_rv(C_WaitForSlotEvent(0, &slot, NULL_PTR)); in TEST_FUNC()
79 check_rv(C_WaitForSlotEvent(0, &slot, NULL_PTR)); in TEST_FUNC()
82 check_rv(C_WaitForSlotEvent(CKF_DONT_BLOCK, &slot, NULL_PTR)); in TEST_FUNC()
87 rv = C_WaitForSlotEvent(CKF_DONT_BLOCK, &slot, NULL_PTR); in TEST_FUNC()
98 rv = C_WaitForSlotEvent(CKF_DONT_BLOCK, &slot, NULL_PTR); in TEST_FUNC()
[all …]
H A Dsessions.c48 check_rv_long(C_OpenSession(slot, 0, NULL_PTR, NULL_PTR, &handle), m_p11_noinit); in TEST_FUNC()
50 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
52 check_rv_long(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &handle), m_p11_badslot); in TEST_FUNC()
55 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
59 check_rv_long(C_OpenSession(slot, 0, NULL_PTR, notify_session, &handle), m_no_par); in TEST_FUNC()
61 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, notify_session, &handle)); in TEST_FUNC()
65 …check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION | CKF_RW_SESSION, NULL_PTR, notify_session, &handl… in TEST_FUNC()
69 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
H A Dlogin.c57 check_rv_long(C_Login(handle, CKU_USER, NULL_PTR, 0), m_p11_noinit); in TEST_FUNC()
60 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
63 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
69 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, notify_login, &handle)); in TEST_FUNC()
77 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
83 check_rv_long(C_Login(handle, CKU_USER, NULL_PTR, 0), m); in TEST_FUNC()
95 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &handle)); in TEST_FUNC()
96 check_rv_long(C_Login(handle, CKU_USER, NULL_PTR, 0), m); in TEST_FUNC()
102 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
H A Ddigest.c104 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
107 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
111 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
123 check_rv(C_DigestFinal(session, NULL_PTR, &len)); in TEST_FUNC()
161 check_rv_long(C_DigestFinal(session, NULL_PTR, &len), m_is_rmvd); in TEST_FUNC()
164 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
172 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
179 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
H A Dreaddata.c55 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
58 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
62 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
76 {CKA_LABEL, NULL_PTR, 0}, in TEST_FUNC()
77 {CKA_VALUE, NULL_PTR, 0}, in TEST_FUNC()
78 {CKA_OBJECT_ID, NULL_PTR, 0}, in TEST_FUNC()
115 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
H A Dreaddata_limited.c57 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
60 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
64 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
81 {CKA_LABEL, NULL_PTR, 0}, in TEST_FUNC()
82 {CKA_VALUE, NULL_PTR, 0}, in TEST_FUNC()
83 {CKA_OBJECT_ID, NULL_PTR, 0}, in TEST_FUNC()
121 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
H A Dreaddata_sequence.c85 check_rv(C_Initialize(NULL_PTR)); in TEST_FUNC()
88 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
92 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
109 check_rv(C_OpenSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &session)); in TEST_FUNC()
123 check_rv(C_Finalize(NULL_PTR)); in TEST_FUNC()
/dports/security/softhsm2/softhsm-2.6.1/src/lib/test/
H A DInitTests.cpp85 InitArgs.CreateMutex = NULL_PTR; in testInit2()
87 InitArgs.LockMutex = NULL_PTR; in testInit2()
88 InitArgs.UnlockMutex = NULL_PTR; in testInit2()
98 InitArgs.pReserved = NULL_PTR; in testInit2()
114 InitArgs.CreateMutex = NULL_PTR; in testInit3()
116 InitArgs.LockMutex = NULL_PTR; in testInit3()
119 InitArgs.pReserved = NULL_PTR; in testInit3()
145 InitArgs.LockMutex = NULL_PTR; in testInit4()
148 InitArgs.pReserved = NULL_PTR; in testInit4()
178 InitArgs.pReserved = NULL_PTR; in testInit5()
[all …]
H A DDigestTests.cpp45 CKM_VENDOR_DEFINED, NULL_PTR, 0 in testDigestInit()
82 CKM_SHA512, NULL_PTR, 0 in testDigest()
109 rv = CRYPTOKI_F_PTR( C_Digest(hSession, NULL_PTR, sizeof(data)-1, NULL_PTR, &digestLen) ); in testDigest()
112 rv = CRYPTOKI_F_PTR( C_Digest(hSession, data, sizeof(data)-1, NULL_PTR, NULL_PTR) ); in testDigest()
137 CKM_SHA512, NULL_PTR, 0 in testDigestUpdate()
174 CKM_SHA512, NULL_PTR, 0 in testDigestKey()
232 CKM_SHA512, NULL_PTR, 0 in testDigestFinal()
262 rv = CRYPTOKI_F_PTR( C_DigestFinal(hSession, NULL_PTR, NULL_PTR) ); in testDigestFinal()
288 { CKM_MD5, NULL_PTR, 0 }, in testDigestAll()
290 { CKM_SHA_1, NULL_PTR, 0 }, in testDigestAll()
[all …]
H A DInfoTests.cpp47 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetInfo()
61 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetInfo()
83 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetSlotList()
91 rv = CRYPTOKI_F_PTR( C_GetSlotList(CK_FALSE, NULL_PTR, NULL_PTR) ); in testGetSlotList()
124 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetSlotList()
133 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetSlotInfo()
152 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGetSlotInfo()
254 rv = CRYPTOKI_F_PTR( C_GetMechanismList(m_initializedTokenSlotID, NULL_PTR, NULL_PTR) ); in testGetMechanismList()
373 rv = CRYPTOKI_F_PTR( C_WaitForSlotEvent(CKF_DONT_BLOCK, NULL_PTR, NULL_PTR) ); in testWaitForSlotEvent()
380 rv = CRYPTOKI_F_PTR( C_WaitForSlotEvent(0, NULL_PTR, NULL_PTR) ); in testWaitForSlotEvent()
[all …]
H A DSessionTests.cpp47 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testOpenSession()
49 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testOpenSession()
55 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, NULL_PTR) ); in testOpenSession()
58 …rv = CRYPTOKI_F_PTR( C_OpenSession(m_invalidSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSess… in testOpenSession()
64 … rv = CRYPTOKI_F_PTR( C_OpenSession(m_initializedTokenSlotID, 0, NULL_PTR, NULL_PTR, &hSession) ); in testOpenSession()
67 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testOpenSession()
80 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testCloseSession()
88 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testCloseSession()
111 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testCloseAllSessions()
119 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testCloseAllSessions()
[all …]
H A DUserTests.cpp46 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testInitPIN()
51 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testInitPIN()
79 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testLogin()
82 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testLogin()
92 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testLogin()
97 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testLogin()
112 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession[1… in testLogin()
158 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testLogout()
192 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testSetPIN()
203 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testSetPIN()
[all …]
H A DForkTests.cpp60 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in tearDown()
69 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testFork()
71 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testFork()
81 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testFork()
85 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testFork()
90 rv = CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testFork()
101 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testResetOnFork()
109 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testResetOnFork()
120 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testResetOnFork()
125 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testResetOnFork()
[all …]
H A DSymmetricAlgorithmTests.cpp472 CK_BYTE_PTR wrappedPtr = NULL_PTR; in aesWrapUnwrapGeneric()
496 CPPUNIT_ASSERT(wrappedPtr != NULL_PTR); in aesWrapUnwrapGeneric()
524 wrappedPtr = NULL_PTR; in aesWrapUnwrapGeneric()
541 CK_BYTE_PTR prkAttrPtr = NULL_PTR; in aesWrapUnwrapRsa()
546 { CKA_PRIME_2, NULL_PTR, 0UL } in aesWrapUnwrapRsa()
567 CK_BYTE_PTR wrappedPtr = NULL_PTR; in aesWrapUnwrapRsa()
626 CK_BYTE_PTR prkAttrPtr = NULL_PTR; in aesWrapUnwrapGost()
631 { CKA_VALUE, NULL_PTR, 0UL } in aesWrapUnwrapGost()
652 CK_BYTE_PTR wrappedPtr = NULL_PTR; in aesWrapUnwrapGost()
1270 rv = CRYPTOKI_F_PTR( C_EncryptFinal(hSession, NULL_PTR, NULL_PTR) ); in testEncDecFinalNULLValidation()
[all …]
H A DObjectTests.cpp124 { CKA_LABEL, NULL_PTR, 0 }, in checkCommonStorageObjectAttributes()
160 { CKA_VALUE, NULL_PTR, 0 } in checkDataObjectAttributes()
238 { CKA_ID, NULL_PTR, 0 }, in checkX509CertificateObjectAttributes()
242 { CKA_URL, NULL_PTR, 0 }, in checkX509CertificateObjectAttributes()
312 { CKA_ID, NULL_PTR, 0 }, in checkCommonKeyAttributes()
1624 checkDataObjectAttributes(hSession, hObject, NULL_PTR, 0, NULL_PTR, 0, NULL_PTR, 0); in testDefaultDataAttributes()
1671 …bject, sizeof(pSubject)-1, NULL_PTR, 0, NULL_PTR, 0, NULL_PTR, 0, pValue, sizeof(pValue)-1, NULL_P… in testDefaultX509CertAttributes()
1788 …ssion, hObject, pN, sizeof(pN), NULL_PTR, 0, pD, sizeof(pD), NULL_PTR, 0, NULL_PTR, 0, NULL_PTR, 0… in testDefaultRSAPrivAttributes()
2216 { 0, NULL_PTR, 0 }, in testTemplateAttribute()
2217 { 0, NULL_PTR, 0 }, in testTemplateAttribute()
[all …]
H A DRandomTests.cpp47 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testSeedRandom()
52 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testSeedRandom()
55 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testSeedRandom()
58 rv = CRYPTOKI_F_PTR( C_SeedRandom(hSession, NULL_PTR, sizeof(seed)) ); in testSeedRandom()
75 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testGenerateRandom()
80 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testGenerateRandom()
83 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession) … in testGenerateRandom()
86 rv = CRYPTOKI_F_PTR( C_GenerateRandom(hSession, NULL_PTR, 40) ); in testGenerateRandom()
H A DDeriveTests.cpp316 CK_ECDH1_DERIVE_PARAMS parms = { CKD_NULL, 0, NULL_PTR, 0, NULL_PTR }; in ecdhDerive()
374 { CKA_VALUE, NULL_PTR, 0 }, in compareSecret()
375 { CKA_CHECK_VALUE, NULL_PTR, 0 } in compareSecret()
408 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testDhDerive()
411 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSessionRO… in testDhDerive()
419 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSessionRO… in testDhDerive()
482 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testEcdsaDerive()
485 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSessionRO… in testEcdsaDerive()
562 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testEddsaDerive()
726 { CKA_CHECK_VALUE, NULL_PTR, 0 } in symDerive()
[all …]
H A DAsymWrapUnwrapTests.cpp53 CK_MECHANISM mechanism = { CKM_AES_KEY_GEN, NULL_PTR, 0 }; in generateAesKey()
73 CK_MECHANISM mechanism = { CKM_RSA_PKCS_KEY_PAIR_GEN, NULL_PTR, 0 }; in generateRsaKeyPair()
110 CK_MECHANISM mechanism = { mechanismType, NULL_PTR, 0 }; in rsaWrapUnwrap()
111 CK_RSA_PKCS_OAEP_PARAMS oaepParams = { CKM_SHA_1, CKG_MGF1_SHA1, CKZ_DATA_SPECIFIED, NULL_PTR, 0 }; in rsaWrapUnwrap()
162 …rv = CRYPTOKI_F_PTR( C_WrapKey(hSession, &mechanism, hPublicKey, symKey, NULL_PTR, &wrappedLenEsti… in rsaWrapUnwrap()
197 CRYPTOKI_F_PTR( C_Finalize(NULL_PTR) ); in testRsaWrapUnwrap()
200 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSessionRO… in testRsaWrapUnwrap()
204 rv = CRYPTOKI_F_PTR( C_Initialize(NULL_PTR) ); in testRsaWrapUnwrap()
208 …F_PTR( C_OpenSession(m_initializedTokenSlotID, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSessionRO… in testRsaWrapUnwrap()
212 …ion(m_initializedTokenSlotID, CKF_SERIAL_SESSION | CKF_RW_SESSION, NULL_PTR, NULL_PTR, &hSessionRW… in testRsaWrapUnwrap()
/dports/security/softhsm2/softhsm-2.6.1/src/bin/util/
H A Dsofthsm2-util-ossl.h71 bigE = NULL_PTR; in rsa_key_material_t()
72 bigN = NULL_PTR; in rsa_key_material_t()
73 bigD = NULL_PTR; in rsa_key_material_t()
74 bigP = NULL_PTR; in rsa_key_material_t()
75 bigQ = NULL_PTR; in rsa_key_material_t()
99 bigP = NULL_PTR; in dsa_key_material_t()
100 bigQ = NULL_PTR; in dsa_key_material_t()
101 bigG = NULL_PTR; in dsa_key_material_t()
102 bigX = NULL_PTR; in dsa_key_material_t()
103 bigY = NULL_PTR; in dsa_key_material_t()
[all …]
H A Dsofthsm2-util-botan.h74 bigE = NULL_PTR; in rsa_key_material_t()
75 bigN = NULL_PTR; in rsa_key_material_t()
76 bigD = NULL_PTR; in rsa_key_material_t()
77 bigP = NULL_PTR; in rsa_key_material_t()
78 bigQ = NULL_PTR; in rsa_key_material_t()
102 bigP = NULL_PTR; in dsa_key_material_t()
103 bigQ = NULL_PTR; in dsa_key_material_t()
104 bigG = NULL_PTR; in dsa_key_material_t()
105 bigX = NULL_PTR; in dsa_key_material_t()
106 bigY = NULL_PTR; in dsa_key_material_t()
[all …]
/dports/security/softhsm2/softhsm-2.6.1/src/lib/session_mgr/test/
H A DSessionManagerTests.cpp78 CK_RV rv = sessionManager.openSession(NULL, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession); in testOpenClose()
80 rv = sessionManager.openSession(slot, 0, NULL_PTR, NULL_PTR, &hSession); in testOpenClose()
82 rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, NULL_PTR); in testOpenClose()
86 rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession); in testOpenClose()
99 rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession); in testOpenClose()
121 rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession); in testOpenClose()
123 …rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION | CKF_RW_SESSION, NULL_PTR, NULL_PTR, &hS… in testOpenClose()
145 …rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION | CKF_RW_SESSION, NULL_PTR, NULL_PTR, &hS… in testOpenClose()
187 CK_RV rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION, NULL_PTR, NULL_PTR, &hSession); in testSessionInfo()
208 …rv = sessionManager.openSession(slot, CKF_SERIAL_SESSION | CKF_RW_SESSION, NULL_PTR, NULL_PTR, &hS… in testSessionInfo()
[all …]
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/lib/
H A Dpkcs11_context.c113 InitArgs.CreateMutex = NULL_PTR; in pkcs11_initialize()
114 InitArgs.DestroyMutex = NULL_PTR; in pkcs11_initialize()
115 InitArgs.LockMutex = NULL_PTR; in pkcs11_initialize()
116 InitArgs.UnlockMutex = NULL_PTR; in pkcs11_initialize()
119 InitArgs.pReserved = NULL_PTR; in pkcs11_initialize()
121 NSS_InitArgs.CreateMutex = NULL_PTR; in pkcs11_initialize()
122 NSS_InitArgs.DestroyMutex = NULL_PTR; in pkcs11_initialize()
123 NSS_InitArgs.LockMutex = NULL_PTR; in pkcs11_initialize()
124 NSS_InitArgs.UnlockMutex = NULL_PTR; in pkcs11_initialize()
127 NSS_InitArgs.pReserved = NULL_PTR; in pkcs11_initialize()
[all …]
/dports/dns/bind911/bind-9.11.37/bin/pkcs11/
H A Dpkcs11-keygen.c110 {CKA_LABEL, NULL_PTR, 0},
116 {CKA_ID, NULL_PTR, 0}
131 {CKA_LABEL, NULL_PTR, 0},
137 {CKA_ID, NULL_PTR, 0}
156 {CKA_ID, NULL_PTR, 0}
178 {CKA_BASE, NULL_PTR, 0},
179 {CKA_ID, NULL_PTR, 0}
188 {CKA_BASE, NULL_PTR, 0},
215 {CKA_BASE, NULL_PTR, 0},
216 {CKA_ID, NULL_PTR, 0}
[all …]

12345678910>>...42