Lines Matching refs:session
58 CK_SESSION_HANDLE session;
291 RUNTIME_CHECK(ctx.session != CK_INVALID_HANDLE);
292 rv = pkcs_C_GenerateRandom(ctx.session,
318 RUNTIME_CHECK(ctx.session != CK_INVALID_HANDLE);
329 (void) pkcs_C_SeedRandom(ctx.session, seed, (CK_ULONG) cc);
354 ctx->session = CK_INVALID_HANDLE;
432 ctx->session = sp->session;
442 sp->session = CK_INVALID_HANDLE;
451 ctx->session = sp->session;
466 ctx->session = CK_INVALID_HANDLE;
471 if (sp->session == CK_INVALID_HANDLE) {
514 if (sp->session != CK_INVALID_HANDLE) {
515 rv = pkcs_C_CloseSession(sp->session);
539 NULL_PTR, &sp->session);
553 rv = pkcs_C_Login(sp->session, CKU_USER,