Lines Matching refs:ckpState
289 CK_BYTE_PTR ckpState;
302 ckpState = (CK_BYTE_PTR) malloc(ckStateLength);
303 if (ckpState == NULL) {
308 rv = (*ckpFunctions->C_GetOperationState)(ckSessionHandle, ckpState, &ckStateLength);
310 jState = ckByteArrayToJByteArray(env, ckpState, ckStateLength);
312 free(ckpState);
334 CK_BYTE_PTR ckpState = NULL_PTR;
344 jByteArrayToCKByteArray(env, jOperationState, &ckpState, &ckStateLength);
350 rv = (*ckpFunctions->C_SetOperationState)(ckSessionHandle, ckpState, ckStateLength, ckEncryptionKeyHandle, ckAuthenticationKeyHandle);
352 free(ckpState);