Home
last modified time | relevance | path

Searched full:ck (Results 1 – 25 of 206) sorted by relevance

123456789

/freebsd/lib/libc/stdio/
H A Dfmemopen.c54 struct fmemopen_cookie *ck; in fmemopen() local
84 ck = malloc(sizeof(struct fmemopen_cookie)); in fmemopen()
85 if (ck == NULL) { in fmemopen()
89 ck->off = 0; in fmemopen()
90 ck->size = size; in fmemopen()
93 ck->own = ((ck->buf = buf) == NULL); in fmemopen()
94 if (ck->own) { in fmemopen()
95 ck->buf = malloc(size); in fmemopen()
96 if (ck->buf == NULL) { in fmemopen()
97 free(ck); in fmemopen()
[all …]
/freebsd/contrib/wpa/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) in milenage_f2345() argument
121 if (ck) { in milenage_f2345()
126 if (aes_128_encrypt_block(k, tmp1, ck)) in milenage_f2345()
129 ck[i] ^= opc[i]; in milenage_f2345()
161 * milenage_generate - Generate AKA AUTN,IK,CK,RES
169 * @ck: Buffer for CK = 128-bit confidentiality key (f3), or %NULL
175 u8 *ck, u8 *res, size_t *res_len) in milenage_generate() argument
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) { in milenage_generate()
237 u8 res[8], ck[16], ik[16]; in gsm_milenage() local
[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);
/freebsd/contrib/tzdata/
H A DMakefile135 TIME_T_ALTERNATIVES_HEAD = int_least64_t.ck
136 TIME_T_ALTERNATIVES_TAIL = int_least32_t.ck uint_least32_t.ck \
137 uint_least64_t.ck
594 CHECK_WEB_PAGES=theory.ck tz-art.ck tz-how-to.ck tz-link.ck
830 # If $(TZS) exists but 'make tzs.ck' fails, a maintainer should inspect the
858 check: check_mild back.ck
860 character-set.ck white-space.ck links.ck mainguard.ck \
861 name-lengths.ck now.ck slashed-abbrs.ck sorted.ck \
862 tables.ck ziguard.ck tzs.ck
872 character-set.ck: $(ENCHILADA)
[all …]
/freebsd/contrib/unbound/util/data/
H A Dpacked_rrset.c336 struct ub_packed_rrset_key* ck = regional_alloc(region, in packed_rrset_copy_region() local
343 if(!ck) in packed_rrset_copy_region()
345 ck->id = key->id; in packed_rrset_copy_region()
346 memset(&ck->entry, 0, sizeof(ck->entry)); in packed_rrset_copy_region()
347 ck->entry.hash = key->entry.hash; in packed_rrset_copy_region()
348 ck->entry.key = ck; in packed_rrset_copy_region()
349 ck->rk = key->rk; in packed_rrset_copy_region()
350 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in packed_rrset_copy_region()
352 if(!ck->rk.dname) in packed_rrset_copy_region()
358 ck->entry.data = d; in packed_rrset_copy_region()
[all …]
/freebsd/contrib/wpa/src/eap_common/
H A Deap_sim_common.c57 const u8 *ik, const u8 *ck, u8 *mk) in eap_aka_derive_mk() argument
66 addr[2] = ck; in eap_aka_derive_mk()
69 /* MK = SHA1(Identity|IK|CK) */ in eap_aka_derive_mk()
72 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: CK", ck, EAP_AKA_CK_LEN); in eap_aka_derive_mk()
276 const u8 *ik, const u8 *ck, u8 *k_encr, in eap_aka_prime_derive_keys() argument
285 * MK = PRF'(IK'|CK',"EAP-AKA'"|Identity) in eap_aka_prime_derive_keys()
294 os_memcpy(key + EAP_AKA_IK_LEN, ck, EAP_AKA_CK_LEN); in eap_aka_prime_derive_keys()
424 void eap_aka_prime_derive_ck_ik_prime(u8 *ck, u8 *ik, const u8 *sqn_ak, in eap_aka_prime_derive_ck_ik_prime() argument
436 * (CK', IK') = F(CK, IK, <access network identity>) in eap_aka_prime_derive_ck_ik_prime()
438 /* TODO: CK', IK' generation should really be moved into the actual in eap_aka_prime_derive_ck_ik_prime()
[all …]
H A Deap_pax_common.c124 * @ck: Buffer for the derived Confirmation Key
130 u8 *mk, u8 *ck, u8 *ick, u8 *mid) in eap_pax_initial_key_derivation() argument
136 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_CK_LEN, ck) || in eap_pax_initial_key_derivation()
145 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: CK", ck, EAP_PAX_CK_LEN); in eap_pax_initial_key_derivation()
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, in eap_aka_prime_derive_keys() argument
/freebsd/contrib/unbound/services/cache/
H A Ddns.c96 struct ub_packed_rrset_key* ck; in store_rrsets() local
101 ck = NULL; in store_rrsets()
102 else ck = packed_rrset_copy_region( in store_rrsets()
105 if(ck) { in store_rrsets()
107 qrep->rrsets[i] = ck; in store_rrsets()
734 struct ub_packed_rrset_key* ck; in synth_dname_msg() local
782 ck = (struct ub_packed_rrset_key*)regional_alloc(region, in synth_dname_msg()
784 if(!ck) in synth_dname_msg()
786 memset(&ck->entry, 0, sizeof(ck->entry)); in synth_dname_msg()
787 msg->rep->rrsets[1] = ck; in synth_dname_msg()
[all …]
/freebsd/sys/dev/wg/
H A Dwg_noise.c10 #include <sys/ck.h>
159 static int noise_mix_ss(uint8_t ck[NOISE_HASH_LEN], uint8_t [NOISE_SYMMETRIC_KEY_LEN],
1235 const uint8_t ck[NOISE_HASH_LEN]) in noise_kdf()
1241 hmac(sec, x, ck, BLAKE2S_HASH_SIZE, x_len, NOISE_HASH_LEN); in noise_kdf()
1274 noise_mix_dh(uint8_t ck[NOISE_HASH_LEN], uint8_t key[NOISE_SYMMETRIC_KEY_LEN], in noise_mix_dh()
1282 noise_kdf(ck, key, NULL, dh, in noise_mix_dh()
1283 NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck); in noise_mix_dh()
1289 noise_mix_ss(uint8_t ck[NOISE_HASH_LEN], uint8_t key[NOISE_SYMMETRIC_KEY_LEN], in noise_mix_ss()
1295 noise_kdf(ck, key, NULL, ss, in noise_mix_ss()
1296 NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck); in noise_mix_ss()
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Dsra.c55 DesData ck; variable
178 common_key(ska,pkb,&ik,&ck); in sra_is()
187 pk_decode(xuser,user,&ck); in sra_is()
199 pk_decode(xpass,pass,&ck); in sra_is()
206 skey.data = ck; in sra_is()
263 common_key(ska,pkb,&ik,&ck); in sra_reply()
283 pk_encode(user,xuser,&ck); in sra_reply()
304 pk_encode(pass,xpass,&ck); in sra_reply()
324 skey.data = ck; in sra_reply()
H A Dkerberos.c221 printf("CK: %d:", kerberos4_cksum(lauth.dat, lauth.length)); in kerberos4_send()
254 printf("CK: %d:", kerberos4_cksum(auth.dat, auth.length)); in kerberos4_is()
467 int ck = 0; in kerberos4_cksum() local
484 ck ^= (int)*d++ << 24; in kerberos4_cksum()
487 ck ^= (int)*d++ << 16; in kerberos4_cksum()
490 ck ^= (int)*d++ << 8; in kerberos4_cksum()
493 ck ^= (int)*d++; in kerberos4_cksum()
496 return(ck); in kerberos4_cksum()
H A Dpk.c58 extractideakey(MINT *ck, IdeaData *ideakey) in extractideakey() argument
69 mp_madd(ck, z, a); in extractideakey()
87 extractdeskey(MINT *ck, DesData *deskey) in extractdeskey() argument
98 mp_madd(ck, z, a); in extractdeskey()
/freebsd/contrib/one-true-awk/testdir/
H A Dt.time8 ck %= l
9 totck += ck
/freebsd/bin/sh/tests/parser/
H A Ddollar-quote5.06 [ $'\ca\cb\cc\cd\ce\cf\cg\ch\ci\cj\ck\cl\cm\cn\co\cp\cq\cr\cs\ct\cu\cv\cw\cx\cy\cz' = $'\001\002\00…
7 [ $'\cA\cB\cC\cD\cE\cF\cG\cH\cI\cJ\cK\cL\cM\cN\cO\cP\cQ\cR\cS\cT\cU\cV\cW\cX\cY\cZ' = $'\001\002\00…
/freebsd/tools/test/stress2/misc/
H A Dmountu.sh54 ck() { function
93 ck UFS
117 ck NFS
142 ck MSDOS
165 ck TMPFS
/freebsd/sys/contrib/device-tree/Bindings/display/mediatek/
H A Dmediatek,cec.yaml10 - CK Hu <ck.hu@mediatek.com>
H A Dmediatek,hdmi-ddc.yaml10 - CK Hu <ck.hu@mediatek.com>
H A Dmediatek,dpi.yaml10 - CK Hu <ck.hu@mediatek.com>
H A Dmediatek,hdmi.yaml10 - CK Hu <ck.hu@mediatek.com>
/freebsd/contrib/unbound/respip/
H A Drespip.c490 struct ub_packed_rrset_key* ck = regional_alloc(region, in respip_copy_rrset() local
499 if(!ck) in respip_copy_rrset()
501 ck->id = key->id; in respip_copy_rrset()
502 memset(&ck->entry, 0, sizeof(ck->entry)); in respip_copy_rrset()
503 ck->entry.hash = key->entry.hash; in respip_copy_rrset()
504 ck->entry.key = ck; in respip_copy_rrset()
505 ck->rk = key->rk; in respip_copy_rrset()
507 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in respip_copy_rrset()
509 if(!ck->rk.dname) in respip_copy_rrset()
511 ck->rk.dname_len = key->rk.dname_len; in respip_copy_rrset()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp77 static QualType getCharPtrType(ASTContext &Ctx, CharKind CK) { in getCharPtrType() argument
78 return Ctx.getPointerType(CK == CharKind::Regular ? Ctx.CharTy in getCharPtrType()
200 void evalMemcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
201 void evalMempcpy(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
202 void evalMemmove(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
207 bool Restricted, bool IsMempcpy, CharKind CK) const;
209 void evalMemcmp(CheckerContext &C, const CallEvent &Call, CharKind CK) const;
318 CharKind CK = CharKind::Regular) const;
322 CharKind CK = CharKind::Regular) const;
326 CharKind CK = CharKind::Regular) const;
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dqcs404-evb-4000.dts83 tx-ck-pins {
89 rx-ck-pins {
/freebsd/share/man/man4/
H A Depair.44 .\" This software was developed by CK Software GmbH under sponsorship
117 .An Bjoern A. Zeeb, CK Software GmbH,
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dchecksum52 CK=`sha256 -q $BSDINSTALL_DISTDIR/$dist`
53 awk -v checksum=$CK -v dist=$dist -v found=0 '{

123456789