Home
last modified time | relevance | path

Searched refs:iterations (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/netbsd-src/lib/libcrypt/
H A Dcrypt-sha1.c47 * The default iterations - should take >0s on a fast CPU
64 * to 24680. The goals are that the number of iterations should take
90 * $<tag>$<iterations>$<salt>$<digest>
94 * <iterations> is an unsigned int identifying how many rounds
122 unsigned int iterations; in __crypt_sha1() local
129 * $<tag>$<iterations>$salt[$] in __crypt_sha1()
130 * If it does not start with $ we use our default iterations. in __crypt_sha1()
137 iterations = strtoul(salt, &ep, 10); in __crypt_sha1()
142 iterations = __crypt_sha1_iterations(0); in __crypt_sha1()
155 * Prime the pump with <salt><magic><iterations> in __crypt_sha1()
[all...]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dcounter.cc20 double Finish(Counter const& c, int64_t iterations, double cpu_time, in Finish() argument
30 v *= iterations; in Finish()
33 v /= iterations; in Finish()
38 void Finish(UserCounters* l, int64_t iterations, double cpu_time, double num_threads) { in Finish() argument
40 c.second.value = Finish(c.second, iterations, cpu_time, num_threads); in Finish()
H A Dbenchmark_runner.cc76 report.iterations = results.iterations; in CreateRunReport()
101 internal::Finish(&report.counters, results.iterations, seconds, b.threads); in CreateRunReport()
112 CHECK(st.iterations() >= st.max_iterations) in RunInThread()
117 results.iterations += st.iterations(); in RunInThread()
136 has_explicit_iteration_count(b.iterations != 0), in BenchmarkRunner()
138 iters(has_explicit_iteration_count ? b.iterations : 1) { in BenchmarkRunner()
H A Dreporter.cc95 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
101 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
/netbsd-src/external/bsd/nsd/dist/
H A Diterated_hash.c26 const unsigned char *in, int inlength, int iterations) in iterated_hash() argument
43 assert(in && inlength > 0 && iterations >= 0); in iterated_hash()
44 for(n=0 ; n <= iterations ; ++n) in iterated_hash()
75 (void)in; (void)inlength; (void)iterations; in iterated_hash()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dreporter.cc77 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedRealTime()
83 if (iterations != 0) new_time /= static_cast<double>(iterations); in GetAdjustedCPUTime()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dtest_crypto.c41 krb5_enctype etype, int iterations) in time_encryption() argument
71 for (i = 0; i < iterations; i++) { in time_encryption()
83 etype_name, (unsigned long)size, iterations, in time_encryption()
97 int iterations) in time_s2k() argument
115 for (i = 0; i < iterations; i++) { in time_s2k()
128 etype_name, iterations, (long)tv2.tv_sec, (long)tv2.tv_usec); in time_s2k()
H A Dtest_rfc3961.c41 krb5_enctype etype, int iterations) in time_encryption() argument
71 for (i = 0; i < iterations; i++) { in time_encryption()
83 etype_name, (unsigned long)size, iterations, in time_encryption()
97 int iterations) in time_s2k() argument
115 for (i = 0; i < iterations; i++) { in time_s2k()
128 etype_name, iterations, (long)tv2.tv_sec, (long)tv2.tv_usec); in time_s2k()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Diterated_hash.c32 const int iterations, const unsigned char *salt, in isc_iterated_hash()
72 } while (n++ < iterations); in isc_iterated_hash()
98 const int iterations, const unsigned char *salt, in isc_iterated_hash()
135 } while (n++ < iterations); in isc_iterated_hash()
30 isc_iterated_hash(unsigned char * out,const unsigned int hashalg,const int iterations,const unsigned char * salt,const int saltlength,const unsigned char * in,const int inlength) isc_iterated_hash() argument
83 isc_iterated_hash(unsigned char * out,const unsigned int hashalg,const int iterations,const unsigned char * salt,const int saltlength,const unsigned char * in,const int inlength) isc_iterated_hash() argument
/netbsd-src/external/mpl/bind/dist/bin/tools/
H A Dnsec3hash.c65 fprintf(stderr, "Usage: %s salt algorithm iterations domain\n", in usage()
67 fprintf(stderr, " %s -r algorithm flags iterations salt domain\n", in usage()
90 unsigned int iterations; in nsec3hash()
117 iterations = atoi(iterstr); in nsec3hash()
118 if (iterations > 0xffffU) { in nsec3hash()
119 fatal("iterations to large"); in nsec3hash()
129 length = isc_iterated_hash(hash, hash_alg, iterations, salt, in nsec3hash()
140 nsec3print(hash_alg, flags, iterations, saltstr, domain, (char *)text); in nsec3hash()
149 fprintf(stdout, "%s (salt=%s, hash=%u, iterations=%u)\n", digest, in nsec3hash_print()
89 unsigned int iterations; nsec3hash() local
H A Dnsec3hash.rst24 :program:`nsec3hash` {salt} {algorithm} {iterations} {domain}
26 :program:`nsec3hash` **-r** {algorithm} {flags} {iterations} {salt} {domain}
37 domain name: ``algorithm``, ``flags``, ``iterations``, ``salt``, ``domain``. This makes it
59 .. option:: iterations
/netbsd-src/external/mpl/bind/dist/tests/dns/
H A Dnsec3param_test.c52 dns_iterations_t iterations; member
79 to->iterations = from.iterations; in copy_params()
97 nsec3param.iterations = iter; in rdata_fromparams()
144 assert_int_equal(param.iterations, expect.iterations); in nsec3param_change_test()
192 * 3. Change iterations. in ISC_RUN_TEST_IMPL()
201 * 4. Change iterations, don't care about the salt. in ISC_RUN_TEST_IMPL()
/netbsd-src/tests/net/in_cksum/
H A Din_cksum.c180 long i, iterations; in main() local
189 iterations = 100000; in main()
194 iterations = atoi(optarg); in main()
238 if (iterations == 0) in main()
243 for (i = iterations; i; --i) in main()
254 for (i = iterations; i; --i) in main()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/pwmods/
H A Dargon2.c60 static unsigned long iterations = SLAPD_ARGON2_ITERATIONS; variable
89 encoded_length = argon2_encodedlen( iterations, memory, parallelism, in slapd_argon2_hash()
116 if ( argon2i_hash_encoded( iterations, memory, parallelism, in slapd_argon2_hash()
140 iterations, memory * 1024, in slapd_argon2_hash()
210 iterations = value; in init_module()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/crmf/
H A Dcrmf_pbm.c141 int64_t iterations; in OSSL_CRMF_pbm_new() local
178 if (!ASN1_INTEGER_get_int64(&iterations, pbmp->iterationCount) in OSSL_CRMF_pbm_new()
179 || iterations < 100 /* min from RFC */ in OSSL_CRMF_pbm_new()
180 || iterations > OSSL_CRMF_PBM_MAX_ITERATION_COUNT) { in OSSL_CRMF_pbm_new()
186 while (--iterations > 0) { in OSSL_CRMF_pbm_new()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dloop-doloop.cc416 widest_int iterations; in doloop_simplify_count() local
425 if (get_max_loop_iterations (loop, &iterations) in doloop_simplify_count()
426 && wi::ltu_p (iterations, GET_MODE_MASK (GET_MODE (addop0))) in doloop_simplify_count()
455 widest_int iterations; in doloop_modify() local
503 if (get_max_loop_iterations (loop, &iterations) in doloop_modify()
504 && wi::leu_p (iterations, in doloop_modify()
646 widest_int iterations, iterations_max; in doloop_optimize() local
700 iterations = widest_int::from (rtx_mode_t (desc->niter_expr, mode), in doloop_optimize()
703 iterations = 0; in doloop_optimize()
709 if (!targetm.can_use_doloop_p (iterations, iterations_max, level, in doloop_optimize()
H A Dtree-ssa-loop-unswitch.cc276 HOST_WIDE_INT iterations; in tree_unswitch_single_loop() local
304 iterations = estimated_loop_iterations_int (loop); in tree_unswitch_single_loop()
305 if (iterations < 0) in tree_unswitch_single_loop()
306 iterations = likely_max_loop_iterations_int (loop); in tree_unswitch_single_loop()
307 if (iterations >= 0 && iterations <= 1) in tree_unswitch_single_loop()
513 HOST_WIDE_INT iterations; in tree_unswitch_outer_loop() local
527 iterations = estimated_loop_iterations_int (loop); in tree_unswitch_outer_loop()
528 if (iterations < 0) in tree_unswitch_outer_loop()
529 iterations = likely_max_loop_iterations_int (loop); in tree_unswitch_outer_loop()
530 if (iterations >= 0 && iterations <= 1) in tree_unswitch_outer_loop()
/netbsd-src/external/mit/expat/dist/tests/benchmark/
H A DREADME.txt3 benchmark [-n] <file name> <buffer size> <# iterations>
11 <# iterations> ... how often will the file be parsed
16 averaged over the number of iterations.@
/netbsd-src/external/bsd/atf/dist/tools/
H A Dio_test.cpp358 const size_t iterations) in child_printer() argument
367 for (size_t i = 0; i < iterations; i++) { in child_printer()
378 muxer_test(const size_t bufsize, const size_t iterations) in muxer_test() argument
393 child_printer(pipeout, pipeerr, iterations); in muxer_test()
418 for (size_t i = 0; i < iterations; i++) { in muxer_test()
428 ATF_REQUIRE_EQ("stdout eof", mux.lines0[iterations]); in muxer_test()
429 ATF_REQUIRE_EQ("stderr eof", mux.lines1[iterations]); in muxer_test()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dtest_pkcs5.c45 int iterations; member
114 t->iterations, EVP_sha1(), in test_pkcs5_pbe2()
126 t->iterations, EVP_sha1(), in test_pkcs5_pbe2()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Devp_kdf_test.c502 unsigned int iterations = 4096; in test_kdf_pbkdf1() local
528 &iterations); in test_kdf_pbkdf1()
552 unsigned int iterations = 4096; in test_kdf_pbkdf1_key_too_long() local
573 &iterations); in test_kdf_pbkdf1_key_too_long()
623 unsigned int iterations = 4096; in test_kdf_pbkdf2() local
635 &iterations, &mode); in test_kdf_pbkdf2()
655 unsigned int iterations = 4096; in test_kdf_pbkdf2_small_output() local
661 &iterations, &mode); in test_kdf_pbkdf2_small_output()
683 unsigned int iterations = 4096; in test_kdf_pbkdf2_large_output() local
692 &iterations, &mode); in test_kdf_pbkdf2_large_output()
[all …]
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/
H A DREADME.md35 therefore the execution time, given in number of iterations
57 Usage: ./argon2 [-h] salt [-i|-d|-id] [-t iterations] [-m memory] [-p parallelism] [-l hash length…
64 -t N Sets the number of iterations to N (default = 3)
74 iterations, consuming 64 MiB, using four parallel threads and an output hash
123 Here the time cost `t_cost` is set to 2 iterations, the
216 Argon2d 1 iterations 1 MiB 1 threads: 5.91 cpb 5.91 Mcycles
217 Argon2i 1 iterations 1 MiB 1 threads: 4.64 cpb 4.64 Mcycles
220 Argon2d 1 iterations 1 MiB 2 threads: 2.76 cpb 2.76 Mcycles
221 Argon2i 1 iterations 1 MiB 2 threads: 2.87 cpb 2.87 Mcycles
224 Argon2d 1 iterations 1 MiB 4 threads: 3.25 cpb 3.25 Mcycles
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-loop-unswitch.c275 HOST_WIDE_INT iterations; in tree_unswitch_single_loop() local
299 iterations = estimated_loop_iterations_int (loop); in tree_unswitch_single_loop()
300 if (iterations < 0) in tree_unswitch_single_loop()
301 iterations = likely_max_loop_iterations_int (loop); in tree_unswitch_single_loop()
302 if (iterations >= 0 && iterations <= 1) in tree_unswitch_single_loop()
505 HOST_WIDE_INT iterations; in tree_unswitch_outer_loop() local
519 iterations = estimated_loop_iterations_int (loop); in tree_unswitch_outer_loop()
520 if (iterations < 0) in tree_unswitch_outer_loop()
521 iterations = likely_max_loop_iterations_int (loop); in tree_unswitch_outer_loop()
522 if (iterations >= 0 && iterations <= 1) in tree_unswitch_outer_loop()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Dbasic_test.cc8 benchmark::DoNotOptimize(state.iterations()); in BM_empty()
102 assert(iter_count == state.iterations()); in BM_KeepRunning()
106 assert(iter_count == state.iterations()); in BM_KeepRunning()
117 assert(state.iterations() == iter_count); in BM_KeepRunningBatch()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Dbasic_test.cc8 benchmark::DoNotOptimize(state.iterations()); in BM_empty()
102 assert(iter_count == state.iterations()); in BM_KeepRunning()
106 assert(iter_count == state.iterations()); in BM_KeepRunning()
117 assert(state.iterations() == iter_count); in BM_KeepRunningBatch()

12345678910>>...16