Home
last modified time | relevance | path

Searched refs:hsession (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_pkcs.c43 CK_SESSION_HANDLE hsession; member
77 op->hsession = CK_INVALID_HANDLE; in cryptotest_init()
87 cryptotest_close_session(CK_SESSION_HANDLE hsession) in cryptotest_close_session() argument
90 rv = C_CloseSession(hsession); in cryptotest_close_session()
101 (void) C_DestroyObject(op->hsession, op->keyt); in cryptotest_close()
103 if (op->hsession != CK_INVALID_HANDLE) in cryptotest_close()
104 (void) cryptotest_close_session(op->hsession); in cryptotest_close()
128 rv = SUNW_C_GetMechSession(op->mech, &op->hsession); in get_hsession_by_mech()
152 rv = SUNW_C_KeyToObject(op->hsession, op->mech, in sign_init()
158 rv = C_SignInit(op->hsession, &mech, op->keyt); in sign_init()
[all …]
H A Dcryptotest_kcf.c43 crypto_session_id_t hsession; member
111 op->hsession = CRYPTO_INVALID_SESSION; in cryptotest_init()
131 if (op->hsession != CRYPTO_INVALID_SESSION) in cryptotest_close()
132 (void) cryptotest_close_session(op->hsession); in cryptotest_close()
179 op->hsession = mech.session_id; in get_hsession_by_mech()
194 init.mi_session = op->hsession; in mac_init()
213 mac.cm_session = op->hsession; in mac_single()
229 update.mu_session = op->hsession; in mac_update()
243 final.mf_session = op->hsession; in mac_final()
262 init.ei_session = op->hsession; in encrypt_init()
[all …]