Searched refs:ck (Results 1 - 25 of 59) sorted by relevance

123

/netbsd-current/usr.bin/xlint/lint1/
H A Dcksnprintb.c104 check_bit(checker *ck, uint64_t dir_lsb, uint64_t width, argument
107 unsigned lsb = (unsigned)(ck->new_style ? dir_lsb : dir_lsb - 1);
113 if (ck->covered & field_mask & bit(i)) {
117 ck->covered_len[i], ck->covered_start[i],
118 ck->new_style ? i : i + 1);
123 ck->covered |= field_mask;
126 ck->covered_start[i] = start;
127 ck->covered_len[i] = len;
131 if (!(ck
137 parse_description(checker *ck, const quoted_iterator *dir) argument
157 check_conversion(checker *ck) argument
[all...]
H A Dckgetopt.c76 } ck; variable in typeref:struct:__anon17
118 if (opt == ':' && ck.options[0] != ':')
121 char *optptr = strchr(ck.options, opt);
133 for (const char *opt = ck.options; *opt != '\0'; opt++) {
138 warning_at(338, &ck.options_pos, *opt);
146 if (ck.while_level == 0) {
147 if (!is_getopt_condition(tn, &ck.options))
149 ck.options_pos = curr_pos;
151 ck.while_level++;
157 if (ck
[all...]
/netbsd-current/external/lgpl3/mpfr/dist/
H A DMakefile.am58 tools/check_mparam.c tools/ck-clz_tab tools/ck-copyright-notice \
59 tools/ck-mparam tools/ck-news tools/ck-version-info tools/get_patches.sh \
77 cd $(srcdir) && tools/ck-version-info
78 cd $(srcdir) && tools/ck-copyright-notice
79 cd $(srcdir) && tools/ck-news
80 cd $(srcdir) && tools/ck-clz_tab
81 $(srcdir)/tools/ck
[all...]
/netbsd-current/sys/fs/puffs/
H A Dpuffs_node.c57 puffs_getvnode1(struct mount *mp, puffs_cookie_t ck, enum vtype type, argument
69 "bad node type", ck);
74 "VSIZENOTSET is not a valid size", ck);
79 error = vcache_get(mp, &ck, sizeof(ck), &vp);
135 puffs_getvnode(struct mount *mp, puffs_cookie_t ck, enum vtype type, argument
139 return puffs_getvnode1(mp, ck, type, vsize, rdev, true, vpp);
145 puffs_cookie_t ck, struct componentname *cnp,
152 if (ck == NULL)
160 if (ck
144 puffs_newnode(struct mount *mp, struct vnode *dvp, struct vnode **vpp, puffs_cookie_t ck, struct componentname *cnp, enum vtype type, dev_t rdev) argument
245 puffs_cookie2vnode(struct puffs_mount *pmp, puffs_cookie_t ck, struct vnode **vpp) argument
[all...]
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dadd1.c291 mp_size_t ck; local
295 ck = cn - difw;
298 if (difs == 0 && ck == 0)
301 cprev = ck == cn ? 0 : cp[ck];
310 if (--ck >= 0)
312 cprev = cp[ck];
317 cc = cp[--ck];
359 if (ck < 0)
362 if (--ck >
465 mp_size_t ck; local
[all...]
H A Dgamma.c333 int underflow = 0, sgn, ck; local
356 MPFR_DBGRES (ck = mpfr_ui_sub (tmp, 2, x, MPFR_RNDN));
357 MPFR_ASSERTD (ck == 0); /* tmp = 2-x exactly */
411 int ck; local
416 ck = mpfr_ui_sub (xp, 2, x, MPFR_RNDN); /* 2-x, exact */
417 MPFR_ASSERTD(ck == 0); (void) ck; /* use ck to avoid a warning */
439 ck = mpfr_sub_ui (xp, x, 1, MPFR_RNDN); /* x-1, exact */
440 MPFR_ASSERTD(ck
[all...]
/netbsd-current/external/bsd/wpa/dist/src/crypto/
H A Dmilenage.c82 * @ck: Buffer for CK = 128-bit confidentiality key (f3), or %NULL
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar)
121 if (ck) {
126 if (aes_128_encrypt_block(k, tmp1, ck))
129 ck[i] ^= opc[i];
169 * @ck: Buffer for CK = 128-bit confidentiality key (f3), or %NULL
175 u8 *ck, u8 *res, size_t *res_len)
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) {
237 u8 res[8], ck[16], ik[16]; local
240 if (milenage_f2345(opc, k, _rand, res, ck, i
88 milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) argument
173 milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len) argument
270 milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, u8 *auts) argument
[all...]
H A Dmilenage.h14 u8 *ck, u8 *res, size_t *res_len);
20 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
25 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dldapsync.c250 struct sync_cookie *ck,
257 ck->numcsns++;
258 ck->ctxcsn = ch_realloc( ck->ctxcsn,
259 (ck->numcsns+1) * sizeof(struct berval));
260 BER_BVZERO( &ck->ctxcsn[ck->numcsns] );
261 ck->sids = ch_realloc( ck->sids, ck
249 slap_insert_csn_sids( struct sync_cookie *ck, int pos, int sid, struct berval *csn ) argument
[all...]
/netbsd-current/external/bsd/unbound/dist/util/data/
H A Dpacked_rrset.c333 struct ub_packed_rrset_key* ck = regional_alloc(region, local
340 if(!ck)
342 ck->id = key->id;
343 memset(&ck->entry, 0, sizeof(ck->entry));
344 ck->entry.hash = key->entry.hash;
345 ck->entry.key = ck;
346 ck->rk = key->rk;
347 ck
[all...]
/netbsd-current/sys/net/npf/
H A Dnpf_conndb.c164 npf_conndb_lookup(npf_t *npf, const npf_connkey_t *ck, npf_flow_t *flow) argument
167 const unsigned keylen = NPF_CONNKEY_LEN(ck);
175 val = thmap_get(cd->cd_map, ck->ck_key, keylen);
203 npf_conndb_insert(npf_conndb_t *cd, const npf_connkey_t *ck, argument
206 const unsigned keylen = NPF_CONNKEY_LEN(ck);
218 ok = thmap_put(cd->cd_map, ck->ck_key, keylen, val) == val;
229 npf_conndb_remove(npf_conndb_t *cd, npf_connkey_t *ck) argument
231 const unsigned keylen = NPF_CONNKEY_LEN(ck);
235 val = thmap_del(cd->cd_map, ck->ck_key, keylen);
/netbsd-current/external/bsd/wpa/dist/src/eap_common/
H A Deap_pax_common.c124 * @ck: Buffer for the derived Confirmation Key
130 u8 *mk, u8 *ck, u8 *ick, u8 *mid)
136 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_CK_LEN, ck) ||
145 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: CK", ck, EAP_PAX_CK_LEN);
129 eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, u8 *mk, u8 *ck, u8 *ick, u8 *mid) argument
H A Deap_sim_common.h79 const u8 *ik, const u8 *ck, u8 *mk);
93 const u8 *ik, const u8 *ck, u8 *k_encr,
104 void eap_aka_prime_derive_ck_ik_prime(u8 *ck, u8 *ik, const u8 *sqn_ak,
110 const u8 *ik, const u8 *ck,
108 eap_aka_prime_derive_keys(const u8 *identity, size_t identity_len, const u8 *ik, const u8 *ck, u8 *k_encr, u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) argument
H A Deap_pax_common.h90 u8 *mk, u8 *ck, u8 *ick, u8 *mid);
H A Deap_sim_common.c57 const u8 *ik, const u8 *ck, u8 *mk)
66 addr[2] = ck;
72 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: CK", ck, EAP_AKA_CK_LEN);
276 const u8 *ik, const u8 *ck, u8 *k_encr,
294 os_memcpy(key + EAP_AKA_IK_LEN, ck, EAP_AKA_CK_LEN);
424 void eap_aka_prime_derive_ck_ik_prime(u8 *ck, u8 *ik, const u8 *sqn_ak, argument
458 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': CK", ck, EAP_AKA_CK_LEN);
465 os_memcpy(key, ck, EAP_AKA_CK_LEN);
487 os_memcpy(ck, hash, EAP_AKA_CK_LEN);
489 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': CK'", ck, EAP_AKA_CK_LE
56 eap_aka_derive_mk(const u8 *identity, size_t identity_len, const u8 *ik, const u8 *ck, u8 *mk) argument
275 eap_aka_prime_derive_keys(const u8 *identity, size_t identity_len, const u8 *ik, const u8 *ck, u8 *k_encr, u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) argument
[all...]
/netbsd-current/lib/libtelnet/
H A Dsra.c64 DesData ck; variable
190 common_key(ska, pkb, &ik, &ck);
199 pk_decode(xuser, user, &ck);
204 pk_encode(passprompt, xpassprompt, &ck);
215 pk_decode(xpass, pass, &ck);
224 skey.data = ck;
236 pk_encode(passprompt, xpassprompt, &ck);
278 common_key(ska, pkb, &ik, &ck);
302 pk_encode(user, xuser, &ck);
324 pk_decode(xpassprompt, passprompt, &ck);
[all...]
H A Dpk.c66 extractideakey(BIGNUM *ck, IdeaData *ideakey) argument
78 BN_add(a, ck, z);
100 extractdeskey(BIGNUM *ck, DesData *deskey) argument
112 BN_add(a, ck, z);
/netbsd-current/external/bsd/wpa/dist/src/utils/
H A Dpcsc_funcs.h24 unsigned char *ik, unsigned char *ck, unsigned char *auts);
/netbsd-current/external/bsd/unbound/dist/services/cache/
H A Ddns.c95 struct ub_packed_rrset_key* ck; local
99 ck = NULL;
100 else ck = packed_rrset_copy_region(
103 if(ck) {
105 qrep->rrsets[i] = ck;
752 struct ub_packed_rrset_key* ck; local
799 ck = (struct ub_packed_rrset_key*)regional_alloc(region,
801 if(!ck)
803 memset(&ck->entry, 0, sizeof(ck
[all...]
/netbsd-current/sys/external/bsd/drm2/include/linux/
H A Dlockdep.h94 lockdep_set_class(void *m, struct lock_class_key *ck) argument
/netbsd-current/external/bsd/wpa/dist/src/eap_server/
H A Deap_sim_db.h86 u8 *_rand, u8 *autn, u8 *ik, u8 *ck,
/netbsd-current/external/bsd/unbound/dist/respip/
H A Drespip.c490 struct ub_packed_rrset_key* ck = regional_alloc(region, local
499 if(!ck)
501 ck->id = key->id;
502 memset(&ck->entry, 0, sizeof(ck->entry));
503 ck->entry.hash = key->entry.hash;
504 ck->entry.key = ck;
505 ck->rk = key->rk;
507 ck
[all...]
/netbsd-current/sys/arch/x86/x86/
H A Dx86_autoconf.c119 int i, ck, error, m, n; local
189 for (ck = i = 0; i < DEV_BSIZE; i++)
190 ck += mbr[i];
195 DPRINTF(("matched with %d dev ck %x bios ck %x\n",
196 i, ck, be->cksum));
197 if (be->cksum == ck && memcmp(&mbr[MBR_PART_OFFSET],
/netbsd-current/sys/arch/vax/vax/
H A Dctu.c282 unsigned short ck = 0; local
308 ck = (c & 0xff);
310 ck |= ((c & 0xff) << 8);
314 if (tck != ck) {
317 printf("Bad cksum: tck %x != ck %x\n", tck, ck);
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_mx4200.c671 u_char ck; local
743 ck = mx4200_cksum(&pp->a_lastcode[1], pp->lencode - 4);
744 if (char2hex[ck >> 4] != cp[1] || char2hex[ck & 0xf] != cp[2]) {
1120 register u_char ck; local
1122 for (ck = 0; n-- > 0; cp++)
1123 ck ^= *cp;
1124 return (ck);
1605 u_char ck; local
1624 ck
[all...]

Completed in 242 milliseconds

123