slot 115 source4/heimdal/lib/gssapi/krb5/sequence.c elem_set(struct gss_msg_order *o, unsigned int slot, OM_uint32 val) slot 117 source4/heimdal/lib/gssapi/krb5/sequence.c o->elem[slot % o->jitter_window] = val; slot 69 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot; slot 97 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot; slot 145 source4/heimdal/lib/hx509/ks_p11.c ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session); slot 151 source4/heimdal/lib/hx509/ks_p11.c p11_put_session(p11rsa->p, p11rsa->slot, session); slot 157 source4/heimdal/lib/hx509/ks_p11.c p11_put_session(p11rsa->p, p11rsa->slot, session); slot 183 source4/heimdal/lib/hx509/ks_p11.c ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session); slot 189 source4/heimdal/lib/hx509/ks_p11.c p11_put_session(p11rsa->p, p11rsa->slot, session); slot 195 source4/heimdal/lib/hx509/ks_p11.c p11_put_session(p11rsa->p, p11rsa->slot, session); slot 240 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot, slot 246 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, GetMechanismList, (slot->id, NULL_PTR, &i)); slot 258 source4/heimdal/lib/hx509/ks_p11.c slot->mechs.list = calloc(i, sizeof(slot->mechs.list[0])); slot 259 source4/heimdal/lib/hx509/ks_p11.c if (slot->mechs.list == NULL) { slot 264 source4/heimdal/lib/hx509/ks_p11.c slot->mechs.num = i; slot 265 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, GetMechanismList, (slot->id, slot->mechs.list, &i)); slot 272 source4/heimdal/lib/hx509/ks_p11.c assert(i == slot->mechs.num); slot 274 source4/heimdal/lib/hx509/ks_p11.c slot->mechs.infos = calloc(i, sizeof(*slot->mechs.infos)); slot 275 source4/heimdal/lib/hx509/ks_p11.c if (slot->mechs.list == NULL) { slot 281 source4/heimdal/lib/hx509/ks_p11.c for (i = 0; i < slot->mechs.num; i++) { slot 282 source4/heimdal/lib/hx509/ks_p11.c slot->mechs.infos[i] = calloc(1, sizeof(*(slot->mechs.infos[0]))); slot 283 source4/heimdal/lib/hx509/ks_p11.c if (slot->mechs.infos[i] == NULL) { slot 288 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, GetMechanismInfo, (slot->id, slot->mechs.list[i], slot 289 source4/heimdal/lib/hx509/ks_p11.c slot->mechs.infos[i])); slot 307 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot) slot 315 source4/heimdal/lib/hx509/ks_p11.c slot->certs = NULL; slot 316 source4/heimdal/lib/hx509/ks_p11.c slot->id = id; slot 318 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, GetSlotInfo, (slot->id, &slot_info)); slot 334 source4/heimdal/lib/hx509/ks_p11.c asprintf(&slot->name, "%.*s", slot 340 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, GetTokenInfo, (slot->id, &token_info)); slot 348 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_TOKEN_PRESENT; slot 351 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_LOGIN_REQ; slot 353 source4/heimdal/lib/hx509/ks_p11.c ret = p11_get_session(context, p, slot, lock, &session); slot 357 source4/heimdal/lib/hx509/ks_p11.c ret = p11_mech_info(context, p, slot, num); slot 361 source4/heimdal/lib/hx509/ks_p11.c ret = p11_list_keys(context, p, slot, session, lock, &slot->certs); slot 363 source4/heimdal/lib/hx509/ks_p11.c p11_put_session(p, slot, session); slot 371 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot, slot 377 source4/heimdal/lib/hx509/ks_p11.c if (slot->flags & P11_SESSION_IN_USE) slot 380 source4/heimdal/lib/hx509/ks_p11.c if (slot->flags & P11_SESSION) { slot 381 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_SESSION_IN_USE; slot 382 source4/heimdal/lib/hx509/ks_p11.c *psession = slot->session; slot 386 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, OpenSession, (slot->id, slot 390 source4/heimdal/lib/hx509/ks_p11.c &slot->session)); slot 396 source4/heimdal/lib/hx509/ks_p11.c (int)slot->id, ret); slot 400 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_SESSION; slot 414 source4/heimdal/lib/hx509/ks_p11.c if ( (slot->flags & P11_LOGIN_REQ) slot 415 source4/heimdal/lib/hx509/ks_p11.c && (slot->flags & P11_LOGIN_DONE) == 0 slot 416 source4/heimdal/lib/hx509/ks_p11.c && (lock || slot->pin)) slot 422 source4/heimdal/lib/hx509/ks_p11.c if (slot->pin == NULL) { slot 426 source4/heimdal/lib/hx509/ks_p11.c asprintf(&str, "PIN code for %s: ", slot->name); slot 439 source4/heimdal/lib/hx509/ks_p11.c (int)slot->id, ret); slot 444 source4/heimdal/lib/hx509/ks_p11.c strlcpy(pin, slot->pin, sizeof(pin)); slot 447 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, Login, (slot->session, CKU_USER, slot 454 source4/heimdal/lib/hx509/ks_p11.c (int)slot->id, ret); slot 457 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_LOGIN_DONE; slot 459 source4/heimdal/lib/hx509/ks_p11.c if (slot->pin == NULL) { slot 460 source4/heimdal/lib/hx509/ks_p11.c slot->pin = strdup(pin); slot 461 source4/heimdal/lib/hx509/ks_p11.c if (slot->pin == NULL) { slot 469 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_LOGIN_DONE; slot 471 source4/heimdal/lib/hx509/ks_p11.c slot->flags |= P11_SESSION_IN_USE; slot 473 source4/heimdal/lib/hx509/ks_p11.c *psession = slot->session; slot 480 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot, slot 483 source4/heimdal/lib/hx509/ks_p11.c if ((slot->flags & P11_SESSION_IN_USE) == 0) slot 485 source4/heimdal/lib/hx509/ks_p11.c slot->flags &= ~P11_SESSION_IN_USE; slot 492 source4/heimdal/lib/hx509/ks_p11.c struct p11_module *p, struct p11_slot *slot, slot 540 source4/heimdal/lib/hx509/ks_p11.c ret = (*func)(context, p, slot, session, object, ptr, query, num_query); slot 568 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot, slot 602 source4/heimdal/lib/hx509/ks_p11.c struct p11_module *p, struct p11_slot *slot, slot 630 source4/heimdal/lib/hx509/ks_p11.c rsa->n = getattr_bn(p, slot, session, object, CKA_MODULUS); slot 631 source4/heimdal/lib/hx509/ks_p11.c rsa->e = getattr_bn(p, slot, session, object, CKA_PUBLIC_EXPONENT); slot 638 source4/heimdal/lib/hx509/ks_p11.c p11rsa->slot = slot; slot 678 source4/heimdal/lib/hx509/ks_p11.c struct p11_module *p, struct p11_slot *slot, slot 739 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *slot, slot 767 source4/heimdal/lib/hx509/ks_p11.c ret = iterate_entries(context, p, slot, session, slot 775 source4/heimdal/lib/hx509/ks_p11.c ret = iterate_entries(context, p, slot, session, slot 782 source4/heimdal/lib/hx509/ks_p11.c ret = _hx509_collector_collect_certs(context, collector, &slot->certs); slot 901 source4/heimdal/lib/hx509/ks_p11.c p->slot = calloc(p->num_slots, sizeof(p->slot[0])); slot 902 source4/heimdal/lib/hx509/ks_p11.c if (p->slot == NULL) { slot 911 source4/heimdal/lib/hx509/ks_p11.c ret = p11_init_slot(context, p, lock, slot_ids[i], i, &p->slot[i]); slot 914 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].flags & P11_TOKEN_PRESENT) slot 945 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].flags & P11_SESSION_IN_USE) slot 947 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].flags & P11_SESSION) { slot 950 source4/heimdal/lib/hx509/ks_p11.c ret = P11FUNC(p, CloseSession, (p->slot[i].session)); slot 955 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].name) slot 956 source4/heimdal/lib/hx509/ks_p11.c free(p->slot[i].name); slot 957 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].pin) { slot 958 source4/heimdal/lib/hx509/ks_p11.c memset(p->slot[i].pin, 0, strlen(p->slot[i].pin)); slot 959 source4/heimdal/lib/hx509/ks_p11.c free(p->slot[i].pin); slot 961 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].mechs.num) { slot 962 source4/heimdal/lib/hx509/ks_p11.c free(p->slot[i].mechs.list); slot 964 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].mechs.infos) { slot 967 source4/heimdal/lib/hx509/ks_p11.c for (j = 0 ; j < p->slot[i].mechs.num ; j++) slot 968 source4/heimdal/lib/hx509/ks_p11.c free(p->slot[i].mechs.infos[j]); slot 969 source4/heimdal/lib/hx509/ks_p11.c free(p->slot[i].mechs.infos); slot 973 source4/heimdal/lib/hx509/ks_p11.c free(p->slot); slot 992 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].certs) slot 993 source4/heimdal/lib/hx509/ks_p11.c hx509_certs_free(&p->slot[i].certs); slot 1024 source4/heimdal/lib/hx509/ks_p11.c if (p->slot[i].certs == NULL) slot 1026 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_certs_merge(context, c->certs, p->slot[i].certs); slot 1117 source4/heimdal/lib/hx509/ks_p11.c struct p11_slot *s = &p->slot[i];