Searched defs:slot (Results 1 - 9 of 9) sorted by relevance

/sssd/src/util/crypto/nss/
H A Dnss_crypto.h38 PK11SlotInfo *slot; member in struct:sss_nss_crypto_ctx
H A Dnss_util.c82 if (cctx->slot) PK11_FreeSlot(cctx->slot);
89 PK11SlotInfo *slot,
99 randkey = PK11_KeyGen(slot, mech_props->cipher,
163 cctx->slot = PK11_GetBestSlot(mech_props->cipher, NULL);
164 if (cctx->slot == NULL) {
182 ret = generate_random_key(cctx, cctx->slot,
203 ret = generate_random_key(cctx, cctx->slot,
242 cctx->keyobj = PK11_ImportSymKey(cctx->slot, mech_props->cipher,
88 generate_random_key(TALLOC_CTX *mem_ctx, PK11SlotInfo *slot, struct crypto_mech_data *mech_props, SECItem **_key) argument
/sssd/src/providers/data_provider/
H A Ddp_modules.c109 unsigned int slot; local
111 for (slot = 0; modules[slot] != NULL; slot++) {
112 if (strcmp(modules[slot]->name, name) == 0) {
113 *_module = modules[slot];
114 *_slot = slot;
120 if (slot == DP_MAX_MODULES) {
128 *_slot = slot;
/sssd/src/sss_client/
H A Dnss_mc_group.c113 uint32_t slot; local
128 slot = gr_mc_ctx.hash_table[hash];
130 /* If slot is not within the bounds of mmaped region and
133 while (MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
138 ret = sss_nss_mc_get_record(&gr_mc_ctx, slot, &rec);
146 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
169 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
172 if (!MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
193 uint32_t slot; local
210 slot
[all...]
H A Dnss_mc_initgr.c94 uint32_t slot; local
109 slot = initgr_mc_ctx.hash_table[hash];
111 /* If slot is not within the bounds of mmaped region and
114 while (MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
119 ret = sss_nss_mc_get_record(&initgr_mc_ctx, slot, &rec);
127 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
151 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
154 if (!MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
H A Dnss_mc_passwd.c106 uint32_t slot; local
121 slot = pw_mc_ctx.hash_table[hash];
123 /* If slot is not within the bounds of mmaped region and
126 while (MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
131 ret = sss_nss_mc_get_record(&pw_mc_ctx, slot, &rec);
139 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
162 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
165 if (!MC_SLOT_WITHIN_BOUNDS(slot, data_size)) {
186 uint32_t slot; local
203 slot
[all...]
H A Dnss_mc_common.c258 uint32_t slot, struct sss_mc_rec **_rec)
272 rec = MC_SLOT_TO_PTR(ctx->data_table, slot, struct sss_mc_rec);
257 sss_nss_mc_get_record(struct sss_cli_mc_ctx *ctx, uint32_t slot, struct sss_mc_rec **_rec) argument
/sssd/src/p11_child/
H A Dp11_child_nss.c60 static char *password_passthrough(PK11SlotInfo *slot, PRBool retry, void *arg) argument
91 PK11SlotInfo *slot = NULL; local
150 slot = PK11_FindSlotByName(slot_name_in);
151 if (slot == NULL) {
169 rv = PK11_GetSlotInfo(le->slot, &slInfo);
174 slot = PK11_ReferenceSlot(le->slot);
179 if (slot == NULL) {
186 slot_id = PK11_GetSlotID(slot);
187 module_id = PK11_GetModuleID(slot);
[all...]
/sssd/src/responder/nss/
H A Dnsssrv_mmap_cache.c71 uint32_t next_slot; /* the next slot after last allocation */
115 uint32_t slot)
120 rec->next1 = slot;
122 rec->next2 = slot;
208 uint32_t slot; local
216 slot = mcc->hash_table[hash];
217 if (slot == MC_INVALID_VAL) {
224 cur = MC_SLOT_TO_PTR(mcc->data_table, slot, struct sss_mc_rec);
229 slot = sss_mc_next_slot_with_hash(cur, hash);
230 } while (slot !
113 sss_mc_chain_slot_to_record_with_hash(struct sss_mc_rec *rec, uint32_t hash, uint32_t slot) argument
243 uint32_t slot; local
282 uint32_t slot; local
326 uint32_t slot; local
512 uint32_t slot; local
772 uint32_t slot; local
911 uint32_t slot; local
[all...]

Completed in 56 milliseconds