Home
last modified time | relevance | path

Searched refs:nrbytes (Results 1 – 25 of 46) sorted by relevance

12

/dports/news/suck/suck-4.3.4/
H A Dtimer.c46 static long nrbytes = 0L; /* just in case */ local
56 nrbytes = 0L;
62 nrbytes += nradd;
66 retval = (elapsed > 0.0) ? nrbytes / elapsed : 0.0;
70 if(nrbytes > 0) {
72 bps = (elapsed > 0.0) ? nrbytes / elapsed : 0.0;
89 sprintf(strbytes, "%ld", nrbytes);
92 bps = (elapsed > 0.0 && nrbytes > 0) ? nrbytes / elapsed : 0.0;
/dports/news/suck-cnews/suck-4.3.4/
H A Dtimer.c46 static long nrbytes = 0L; /* just in case */ local
56 nrbytes = 0L;
62 nrbytes += nradd;
66 retval = (elapsed > 0.0) ? nrbytes / elapsed : 0.0;
70 if(nrbytes > 0) {
72 bps = (elapsed > 0.0) ? nrbytes / elapsed : 0.0;
89 sprintf(strbytes, "%ld", nrbytes);
92 bps = (elapsed > 0.0 && nrbytes > 0) ? nrbytes / elapsed : 0.0;
/dports/security/libxcrypt/libxcrypt-4.4.27/lib/
H A Dcrypt-yescrypt.c106 const uint8_t *rbytes, size_t nrbytes,
111 nrbytes = (nrbytes > 64 ? 64 : nrbytes);
113 if (o_size < 3 + 8 * 6 + 1 + BASE64_LEN (nrbytes) + 1 ||
114 CRYPT_GENSALT_OUTPUT_SIZE < 3 + 8 * 6 + 1 + BASE64_LEN (nrbytes) + 1)
120 if (count > 11 || nrbytes < 16)
167 if (!yescrypt_encode_params_r (&params, rbytes, nrbytes, outbuf, o_size))
H A Dcrypt-scrypt.c165 const uint8_t *rbytes, size_t nrbytes, in gensalt_scrypt_rn() argument
170 nrbytes = (nrbytes > 64 ? 64 : nrbytes); in gensalt_scrypt_rn()
172 if (o_size < 3 + 1 + 5 * 2 + BASE64_LEN (nrbytes) + 1 || in gensalt_scrypt_rn()
173 CRYPT_GENSALT_OUTPUT_SIZE < 3 + 1 + 5 * 2 + BASE64_LEN (nrbytes) + 1) in gensalt_scrypt_rn()
179 if ((count > 0 && count < 6) || count > 11 || nrbytes < 16) in gensalt_scrypt_rn()
234 if (out_p && out_s > (ssize_t) BASE64_LEN (nrbytes)) in gensalt_scrypt_rn()
236 out_p = encode64 (out_p, out_s, rbytes, nrbytes); in gensalt_scrypt_rn()
H A Dcrypt-gost-yescrypt.c58 const uint8_t *rbytes, size_t nrbytes, in gensalt_gost_yescrypt_rn() argument
63 nrbytes = (nrbytes > 64 ? 64 : nrbytes); in gensalt_gost_yescrypt_rn()
65 if (o_size < 4 + 8 * 6 + BASE64_LEN (nrbytes) + 1 || in gensalt_gost_yescrypt_rn()
66 CRYPT_GENSALT_OUTPUT_SIZE < 4 + 8 * 6 + BASE64_LEN (nrbytes) + 1) in gensalt_gost_yescrypt_rn()
74 gensalt_yescrypt_rn (count, rbytes, nrbytes, output, o_size - 1); in gensalt_gost_yescrypt_rn()
H A Dcrypt.c59 const uint8_t *rbytes, size_t nrbytes,
70 unsigned char nrbytes; member
256 const char *rbytes, int nrbytes, char *output, in crypt_gensalt_rn() argument
300 if (!get_random_bytes (internal_rbytes, h->nrbytes)) in crypt_gensalt_rn()
304 nrbytes = internal_nrbytes = h->nrbytes; in crypt_gensalt_rn()
308 (const unsigned char *)rbytes, (size_t)nrbytes, in crypt_gensalt_rn()
334 const char *rbytes, int nrbytes) in crypt_gensalt_ra() argument
340 char *result = crypt_gensalt_rn (prefix, count, rbytes, nrbytes, output, in crypt_gensalt_ra()
H A Dutil-gensalt-sha.c22 const uint8_t *rbytes, size_t nrbytes, in gensalt_sha_rn() argument
27 if (nrbytes < 3) in gensalt_sha_rn()
71 used_rbytes + 3 < nrbytes && in gensalt_sha_rn()
H A Dcrypt-pbkdf1-sha1.c197 const uint8_t *rbytes, size_t nrbytes, in gensalt_sha1crypt_rn() argument
207 if (nrbytes < 12 + 4) in gensalt_sha1crypt_rn()
215 if (o_size < (nrbytes - 4) * 4 / 3 + sizeof "$sha1$$$" + 10) in gensalt_sha1crypt_rn()
242 const uint8_t *rlim = rbytes + nrbytes; in gensalt_sha1crypt_rn()
H A Dcrypt-des.c400 const uint8_t *rbytes, size_t nrbytes, in gensalt_descrypt_rn() argument
409 if (nrbytes < 2 || count != 0) in gensalt_descrypt_rn()
422 const uint8_t *rbytes, size_t nrbytes, in gensalt_bigcrypt_rn() argument
435 gensalt_descrypt_rn (count, rbytes, nrbytes, output, output_size); in gensalt_bigcrypt_rn()
449 const uint8_t *rbytes, size_t nrbytes, in gensalt_bsdicrypt_rn() argument
457 if (nrbytes < 3) in gensalt_bsdicrypt_rn()
H A Dcrypt-gensalt-static.c26 const char *rbytes, int nrbytes) in crypt_gensalt() argument
31 rbytes, nrbytes, output, sizeof (output)); in crypt_gensalt()
H A Dcrypt-bcrypt.c949 const uint8_t *rbytes, size_t nrbytes, in BF_gensalt() argument
954 if (nrbytes < 16 || in BF_gensalt()
995 const uint8_t *rbytes, size_t nrbytes, in gensalt_bcrypt_rn() argument
998 BF_gensalt ('b', count, rbytes, nrbytes, output, o_size); in gensalt_bcrypt_rn()
1014 const uint8_t *rbytes, size_t nrbytes, in gensalt_bcrypt_a_rn() argument
1017 BF_gensalt ('a', count, rbytes, nrbytes, output, o_size); in gensalt_bcrypt_a_rn()
1034 ARG_UNUSED(size_t nrbytes), in gensalt_bcrypt_x_rn() argument
1056 const uint8_t *rbytes, size_t nrbytes, in gensalt_bcrypt_y_rn() argument
1059 BF_gensalt ('y', count, rbytes, nrbytes, output, o_size); in gensalt_bcrypt_y_rn()
/dports/security/libxcrypt/libxcrypt-4.4.27/build-aux/scripts/
H A DBuildCommon.pm298 nrbytes => '$',
373 my ($name, $h_prefix, $nrbytes, $flags) = @fields;
399 if ($nrbytes !~ /^[0-9]+$/ || $nrbytes == 0) {
401 $nrbytes = 1;
404 if ($max_nrbyteslen < length $nrbytes) {
405 $max_nrbyteslen = length $nrbytes;
430 nrbytes => $nrbytes,
/dports/security/libxcrypt/libxcrypt-4.4.27/test/
H A Dbadsetting.c246 int nrbytes = tc->rbytes > 0 ? tc->rbytes : (int)(sizeof rbytes - 1); in test_one() local
253 s = crypt_gensalt (tc->prefix, tc->count, rbytes, nrbytes); in test_one()
258 s = crypt_gensalt_ra (tc->prefix, tc->count, rbytes, nrbytes); in test_one()
265 s = crypt_gensalt_rn (tc->prefix, tc->count, rbytes, nrbytes, obuf, osize); in test_one()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/erts/emulator/hipe/
H A Dhipe_sparc.c104 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
109 return alloc_code(nrbytes); in hipe_alloc_code()
112 void hipe_free_code(void* code, unsigned int nrbytes) in hipe_free_code() argument
H A Dhipe_amd64.c162 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
176 address = alloc_code(nrbytes + nrcallees*TRAMPOLINE_BYTES); in hipe_alloc_code()
177 generate_trampolines(address + nrbytes, nrcallees, callees, trampvec); in hipe_alloc_code()
H A Dhipe_arm.c119 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
127 if (nrbytes & 0x3) in hipe_alloc_code()
129 code_words = nrbytes / sizeof(Uint32); in hipe_alloc_code()
H A Dhipe_x86.c77 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
82 return alloc_code(nrbytes); in hipe_alloc_code()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/erts/emulator/hipe/
H A Dhipe_sparc.c104 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
109 return alloc_code(nrbytes); in hipe_alloc_code()
112 void hipe_free_code(void* code, unsigned int nrbytes) in hipe_free_code() argument
H A Dhipe_amd64.c162 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
176 address = alloc_code(nrbytes + nrcallees*TRAMPOLINE_BYTES); in hipe_alloc_code()
177 generate_trampolines(address + nrbytes, nrcallees, callees, trampvec); in hipe_alloc_code()
H A Dhipe_arm.c119 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
127 if (nrbytes & 0x3) in hipe_alloc_code()
129 code_words = nrbytes / sizeof(Uint32); in hipe_alloc_code()
H A Dhipe_x86.c77 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
82 return alloc_code(nrbytes); in hipe_alloc_code()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/erts/emulator/hipe/
H A Dhipe_sparc.c104 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
109 return alloc_code(nrbytes); in hipe_alloc_code()
112 void hipe_free_code(void* code, unsigned int nrbytes) in hipe_free_code() argument
H A Dhipe_amd64.c162 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
176 address = alloc_code(nrbytes + nrcallees*TRAMPOLINE_BYTES); in hipe_alloc_code()
177 generate_trampolines(address + nrbytes, nrcallees, callees, trampvec); in hipe_alloc_code()
H A Dhipe_arm.c103 void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process *p) in hipe_alloc_code() argument
111 if (nrbytes & 0x3) in hipe_alloc_code()
113 code_words = nrbytes / sizeof(Uint32); in hipe_alloc_code()
/dports/security/gvm-libs/gvm-libs-21.4.3/util/
H A Dpasswordbasedauthentication.c106 int nrbytes, char *output, int output_size) in crypt_gensalt_r() argument
111 if ((rbytes != NULL && nrbytes < 3) || output_size < 16 in crypt_gensalt_r()
125 nrbytes = 16; in crypt_gensalt_r()
131 && used + 3 < (unsigned int) nrbytes && (used * 4 / 3) < 16) in crypt_gensalt_r()

12