Searched refs:pOperationState (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSessionUtil.c445 * The format to be saved in the pOperationState will be:
451 soft_get_operationstate(soft_session_t *session_p, CK_BYTE_PTR pOperationState, argument
505 if (pOperationState == NULL_PTR) {
518 p_op_state = (internal_op_state_t *)pOperationState;
524 (void) memcpy((CK_BYTE *)pOperationState +
532 (void) memcpy((CK_BYTE *)pOperationState +
541 (void) memcpy((CK_BYTE *)pOperationState +
583 * The format to be restored from the pOperationState will be:
589 soft_set_operationstate(soft_session_t *session_p, CK_BYTE_PTR pOperationState, argument
602 p_op_state = (internal_op_state_t *)pOperationState;
[all...]
H A DsoftSession.c227 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
247 * No need to check if pOperationState is NULL_PTR because
256 rv = soft_get_operationstate(session_p, pOperationState,
267 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
286 if ((pOperationState == NULL_PTR) ||
292 rv = soft_set_operationstate(session_p, pOperationState,
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Session.c305 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
315 pOperationState, pulOperationStateLen));
331 pOperationState, pulOperationStateLen);
347 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
357 pOperationState, ulOperationStateLen,
374 pOperationState, ulOperationStateLen, hEncryptionKey,
H A DmetaSession.c239 meta_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
271 if (pOperationState == NULL) {
318 pOperationState + sizeof (meta_opstate_t),
337 if (rv == CKR_OK && pOperationState != NULL) {
338 (void) memcpy(pOperationState, (void *)&opstate,
414 meta_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
428 pOperationState == NULL)
432 (void) memcpy(&opstate, pOperationState, sizeof (meta_opstate_t));
482 pOperationState + sizeof (meta_opstate_t));
H A DmetaGlobal.h725 CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperationStateLen);
727 CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.c212 * Save the state in pOperationState. The data format is:
220 CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperationStateLen)
274 if (pOperationState == NULL_PTR) {
284 dst = pOperationState;
306 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
332 pOperationState, pulOperationStateLen);
339 * Restore the state from pOperationState. The data format is:
347 CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen,
360 src = pOperationState;
406 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, argument
219 kernel_get_operationstate(kernel_session_t *session_p, CK_STATE ses_state, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperationStateLen) argument
346 kernel_set_operationstate(kernel_session_t *session_p, CK_STATE ses_state, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h216 CK_BYTE_PTR pOperationState, /* gets state */
228 CK_BYTE_PTR pOperationState, /* holds state */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c676 CK_BYTE_PTR pOperationState,
694 if (! pOperationState)
704 pOperationState, pulOperationStateLen);
711 CK_BYTE_PTR pOperationState,
724 if (!pOperationState || (ulOperationStateLen == 0)) {
735 pOperationState);
675 SC_GetOperationState(ST_SESSION_HANDLE sSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperationStateLen) argument
710 SC_SetOperationState(ST_SESSION_HANDLE sSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey) argument
H A Dapi_interface.c1454 CK_BYTE_PTR pOperationState,
1471 pOperationState, pulOperationStateLen);
1860 CK_BYTE_PTR pOperationState,
1874 if (! pOperationState || ulOperationStateLen == 0) {
1878 rv = FuncList.ST_SetOperationState(rSession, pOperationState,
1453 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperationStateLen) argument
1859 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey) argument
H A Dtpmtok_int.h1326 (ST_SESSION_T hSession, CK_BYTE_PTR pOperationState,
1330 (ST_SESSION_T hSession, CK_BYTE_PTR pOperationState,

Completed in 74 milliseconds