/src/sys/external/isc/libsodium/dist/test/default/ |
auth5.c | 12 size_t clen; local in function:main 14 for (clen = 0; clen < 1000; ++clen) { 16 randombytes_buf(c, clen); 17 crypto_auth(a, c, clen, key); 18 if (crypto_auth_verify(a, c, clen, key) != 0) { 19 printf("fail %u\n", (unsigned int) clen); 22 if (clen > 0) { 23 c[rand() % clen] += 1 + (rand() % 255) [all...] |
auth7.c | 12 size_t clen; local in function:main 14 for (clen = 0; clen < sizeof c; ++clen) { 16 randombytes_buf(c, clen); 17 crypto_auth_hmacsha512(a, c, clen, key); 18 if (crypto_auth_hmacsha512_verify(a, c, clen, key) != 0) { 19 printf("fail %u\n", (unsigned int) clen); 22 if (clen > 0) { 23 c[(size_t) rand() % clen] += 1 + (rand() % 255) [all...] |
onetimeauth7.c | 12 int clen; local in function:main 14 for (clen = 0; clen < 1000; ++clen) { 16 randombytes_buf(c, clen); 17 crypto_onetimeauth(a, c, clen, key); 18 if (crypto_onetimeauth_verify(a, c, clen, key) != 0) { 19 printf("fail %d\n", clen); 22 if (clen > 0) { 23 c[rand() % clen] += 1 + (rand() % 255) [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
pbkdf2-sha256.c | 57 size_t clen; local in function:PBKDF2_SHA256 88 clen = dkLen - i * 32; 89 if (clen > 32) { 90 clen = 32; 92 memcpy(&buf[i * 32], T, clen);
|
/src/lib/libc/arch/powerpc/gen/ |
syncicache.c | 74 size_t clen = sizeof(_cache_info); local in function:__getcachelinesize 80 &_cache_info, &clen, NULL, 0) == 0) { 86 clen = sizeof(_cachelinesize); 88 &_cachelinesize, &clen, NULL, 0) < 0
|
/src/lib/libc/arch/powerpc64/gen/ |
syncicache.c | 72 size_t clen = sizeof(_cache_info); local in function:__getcachelinesize 78 &_cache_info, &clen, NULL, 0) == 0) { 84 clen = sizeof(_cachelinesize); 86 &_cachelinesize, &clen, NULL, 0) < 0 || !_cachelinesize)
|
/src/share/examples/pud/intro/ |
intro.c | 96 size_t clen; local in function:main 103 clen = MIN(strlen(curstr), pc_read->pm_resid); 104 strncpy(pc_read->pm_data, curstr, clen); 106 clen = pc_read->pm_resid; 109 pc_read->pm_resid -= clen; 112 sizeof(struct pud_creq_read) + clen;
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_aead/xchacha20poly1305/sodium/ |
aead_xchacha20poly1305.c | 53 unsigned long long clen = 0ULL; local in function:crypto_aead_xchacha20poly1305_ietf_encrypt 63 clen = mlen + crypto_aead_xchacha20poly1305_ietf_ABYTES; 65 *clen_p = clen; 74 unsigned long long clen, 89 (m, nsec, c, clen, mac, ad, adlen, npub2, k2); 101 unsigned long long clen, 110 if (clen >= crypto_aead_xchacha20poly1305_ietf_ABYTES) { 113 c, clen - crypto_aead_xchacha20poly1305_ietf_ABYTES, 114 c + clen - crypto_aead_xchacha20poly1305_ietf_ABYTES, 119 mlen = clen - crypto_aead_xchacha20poly1305_ietf_ABYTES [all...] |
/src/sys/lib/libkern/arch/powerpc/ |
syncicache.c | 72 size_t clen = sizeof(_cache_info); local in function:getcachelinesize 75 &_cache_info, &clen, NULL, 0) == 0) { 81 clen = sizeof(_cachelinesize); 83 &_cachelinesize, &clen, NULL, 0) < 0
|
/src/games/boggle/mkindex/ |
mkindex.c | 57 int clen, rlen, prev, i; local in function:main 63 while (nextword(stdin, buf, &clen, &rlen) != NULL) { 78 off += clen + 1; 94 * Also set clen to the length of the compressed word (for mkindex) and 98 nextword(FILE *fp, char *buffer, int *clen, int *rlen) 114 p = buf + (*clen = pcount); 122 *clen = *rlen - *clen;
|
/src/lib/libc/compat/net/ |
compat_ns_addr.c | 108 unsigned int clen = 0; local in function:Field 188 for (bp = buf; *bp++; ) clen++; 189 if (clen == 0) clen++; 190 if (clen > 18) clen = 18; 191 i = ((clen - 1) / 3) + 1; 192 bp = clen + buf - 3;
|
/src/lib/libc/gen/ |
sysctl.c | 239 static const int clen = sizeof(sysctl_usermib) / local in function:user_sysctl 265 for (ni = 0; ni < clen; ni++) 287 for (ni = 0; ni < clen; ni++) { 327 for (ni = 0; ni < clen; ni++) 330 if (ni == clen)
|
/src/sys/compat/common/ |
uipc_syscalls_43.c | 308 u_int clen; local in function:compat43_set_accrights 316 clen = CMSG_SPACE(accrightslen); 318 if (accrightslen < 0 || clen > MLEN) 322 ctl->m_len = clen; 335 msg->msg_controllen = clen;
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_aead/chacha20poly1305/sodium/ |
aead_chacha20poly1305.c | 70 unsigned long long clen = 0ULL; local in function:crypto_aead_chacha20poly1305_encrypt 83 clen = mlen + crypto_aead_chacha20poly1305_ABYTES; 85 *clen_p = clen; 145 unsigned long long clen = 0ULL; local in function:crypto_aead_chacha20poly1305_ietf_encrypt 158 clen = mlen + crypto_aead_chacha20poly1305_ietf_ABYTES; 160 *clen_p = clen; 169 unsigned long long clen, 192 mlen = clen; 220 unsigned long long clen, 229 if (clen >= crypto_aead_chacha20poly1305_ABYTES) [all...] |
/src/tests/net/net/ |
t_mapped.c | 171 socklen_t slen, clen, plen; local in function:test 200 clen = mkclient(cfam, &caddr); 202 if (connect(cfd, (const struct sockaddr *)&caddr, clen) == -1)
|
/src/usr.bin/apply/ |
apply.c | 61 size_t clen, l; local in function:main 151 if ((c = malloc(clen = 1024)) == NULL) 166 if (l > clen) { 171 clen = l;
|
/src/bin/mt/ |
mt.c | 147 size_t clen = MIN(len, cp->c_namelen); local in function:main 148 if (strncmp(p, cp->c_name, clen) == 0) {
|
/src/lib/libbluetooth/ |
bluetooth.h | 108 size_t clen; member in struct:bt_devreq
|
/src/lib/libc/citrus/modules/ |
citrus_euctw.c | 305 int i, len, clen, ret; local in function:_citrus_EUCTW_wcrtomb_priv 311 clen = 1; 313 clen = 2; 315 clen = 3; 317 if (clen == 1 && cs == 0x00000000) { 325 } else if (clen == 2 && cs == ('G' << 24)) { 334 } else if (clen == 2 && 'H' <= (cs >> 24) && (cs >> 24) <= 'M') { 350 i = clen;
|
/src/libexec/httpd/ |
lua-bozo.c | 312 const char *type, *clen; local in function:bozo_process_lua 358 clen = request->hr_content_length; 393 if (clen && *clen) 394 lua_env(map->L, "CONTENT_LENGTH", clen); 418 if (clen && *clen && atol(clen) > 0) { 419 length = atol(clen);
|
cgi-bozo.c | 377 const char *type, *clen, *info, *cgihandler; local in function:bozo_process_cgi 485 clen = request->hr_content_length; 491 (clen && *clen ? 1 : 0) + 558 if (clen && *clen) 559 bozo_setenv(httpd, "CONTENT_LENGTH", clen, curenvp++);
|
/src/sys/compat/netbsd32/ |
netbsd32_socket.c | 388 size_t clen, cidx = 0, cspace; local in function:copyin32_msg_control 393 clen = MLEN; 395 memset(control, 0, clen); 416 if (__predict_false(cidx + cspace > clen)) { 425 nc = realloc(clen <= MLEN ? NULL : control, 436 memset(nc + nclen, 0, nclen - clen); 439 clen = nclen; 461 MEXTADD(ctl_mbuf, control, clen, M_MBUF, NULL, NULL);
|
/src/sys/external/bsd/ipf/netinet/ |
ip_dns_pxy.c | 264 char *s, *t, clen; local in function:ipf_p_dns_get_name 273 clen = *s; 274 if ((clen & 0xc0) == 0xc0) { /* Doesn't do compression */ 278 if (clen > slen) { 282 if ((clen + 1) > blen) { 287 bcopy(s, t, clen); 288 t += clen; 289 s += clen; 291 slen -= clen; 292 blen -= (clen + 1) [all...] |
/src/sys/dev/usb/ |
umass.c | 2110 int clen = cbw->bCDBLength; local in function:umass_bbb_dump_cbw 2117 (uintptr_t)sc, tag, clen, 0);
|
/src/sys/netipsec/ |
xform_ipcomp.c | 249 int hlen = IPCOMP_HLENGTH, clen; local in function:ipcomp_input_cb 285 clen = crp->crp_olen; 294 m->m_pkthdr.len = clen + hlen + skip;
|