/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...] |
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);
|
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
|
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)
|
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;
|
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...] |
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
|
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;
|
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;
|
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/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)
|