Home
last modified time | relevance | path

Searched +full:no +full:- +full:seed (Results 1 – 25 of 814) sorted by relevance

12345678910>>...33

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Dspeller.d6 * Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
21 * seed = wrongly spelled word
24 * T.init = no correct spellings found,
27 auto speller(alias dg)(const(char)[] seed)
30 const size_t maxdist = seed.length < 4 ? seed.length / 2 : 2;
33 if (auto p = spellerX!dg(seed, distance != 0))
54 * seed = starting string
57 * whatever dg returns, null if no match
59 auto spellerX(alias dg)(const(char)[] seed, bool flag) in spellerX()
61 if (!seed.length) in spellerX()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
H A Dspeller.c2 /* Copyright (C) 2010-2019 by The D Language Foundation, All Rights Reserved
6 * https://github.com/D-Programming-Language/dmd/blob/master/src/root/speller.c
23 * ncost cost of np if non-NULL
40 void *spellerY(const char *seed, size_t seedlen, fp_speller_t fp, void *fparg, in spellerY() argument
45 assert(seed[seedlen] == 0); in spellerY()
49 if (seedlen <= sizeof(tmp) - 2) in spellerY()
55 return NULL; // no matches in spellerY()
58 memcpy(buf, seed, index); in spellerY()
63 /* Delete at seed[index] */ in spellerY()
66 memcpy(buf + index, seed + index + 1, seedlen - index); in spellerY()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/
H A DNOTES-NONSTOP.md5 -------------------
11 Specify the `--with-rand-seed=rdcpu` option to the `./Configure` script.
15 specify the `--with-rand-seed=egd` option to the `./Configure` script.
18 ------------------
27 ----------------
31 the TNS/X (L-Series) platform:
33 * `nonstop-nsx` or default will select an unthreaded build.
34 * `nonstop-nsx_put` selects the PUT build.
35 * `nonstop-nsx_64_put` selects the 64 bit file length PUT build.
36 * `nonstop-nsx_spt_floss` selects the SPT build with FLOSS. FLOSS is
[all …]
/netbsd-src/usr.bin/skeyinit/
H A Dskeyinit.c14 * S/KEY initialization and seed update
53 char seed[SKEY_MAX_PW_LEN+2], key[SKEY_BINKEY_SIZE], defaultseed[SKEY_MAX_SEED_LEN+1]; in main() local
62 pw = NULL; /* XXX gcc -Wuninitialized [sh3] */ in main()
81 * Copy the hostname into the default seed, eliminating any in main()
82 * non alpha-numeric characters. in main()
99 err(1, "no user with uid %ld", (u_long)getuid()); in main()
100 (void)strlcpy(me, pp->pw_name, sizeof(me)); in main()
104 salt = pp->pw_passwd; in main()
106 while((c = getopt(argc, argv, "k:n:p:t:sxz")) != -1) { in main()
124 err(1, "no memory for password"); in main()
[all …]
/netbsd-src/sbin/rndctl/
H A Drndctl.c3 /*-
22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
91 fprintf(stderr, "usage: %s [-CEce] [-d devname | -t devtype]\n", in usage()
93 fprintf(stderr, " %s [-lsv] [-d devname | -t devtype]\n", in usage()
95 fprintf(stderr, " %s [-i] -L save-file\n", getprogname()); in usage()
96 fprintf(stderr, " %s -S save-file\n", getprogname()); in usage()
107 while (a->a_name != NULL) { in find_type()
108 if (strcmp(a->a_name, name) == 0) in find_type()
109 return (a->a_type); in find_type()
124 while (a->a_name != NULL) { in find_name()
[all …]
H A Drndctl.820 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
44 .Fl L Ar save-file
46 .Fl S Ar save-file
57 .Bl -tag -width 123456
73 the internal entropy pool, but no entropy is assumed to be present and
80 .Cm "rndctl -e"
85 .Cm "rndctl -e" .
89 option to load a seed from a file, ignore any estimate in the file of
90 the entropy of the seed.
97 Load a seed from
[all …]
/netbsd-src/sys/kern/
H A Dsys_getrandom.c3 /*-
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
61 uint8_t seed[NIST_HASH_DRBG_SEEDLEN_BYTES] = {0}; in dogetrandom() local
76 * seeded or if INSECURE, just draw from per-CPU cprng_strong. in dogetrandom()
78 if (uio->uio_resid <= RANDOM_BUFSIZE && in dogetrandom()
82 cprng_strong(user_cprng, buf, uio->uio_resid, 0); in dogetrandom()
83 error = uiomove(buf, uio->uio_resid, uio); in dogetrandom()
88 * Try to get a seed from the entropy pool. Fail if we would in dogetrandom()
98 error = entropy_extract(seed, sizeof seed, extractflags); in dogetrandom()
103 if (nist_hash_drbg_instantiate(&drbg, seed, sizeof seed, NULL, 0, in dogetrandom()
[all …]
H A Dsubr_cprng.c3 /*-
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
35 * Per-CPU NIST Hash_DRBG, reseeded automatically from the entropy
40 * 1. never-blocking, oughta-be-per-CPU (kern_cprng, sysctl_prng)
41 * 2. never-blocking, used per-CPU anyway (/dev/urandom short reads)
47 * kern_cprng - available at IPL_SOFTSERIAL or lower
48 * user_cprng - available only at IPL_NONE in thread context
83 * Per-CPU state for a cprng_strong. The DRBG and evcnt are
84 * allocated separately because percpu(9) sometimes moves per-CPU
100 /* Well-known CPRNG instances */
[all …]
/netbsd-src/sys/crypto/cprng_fast/
H A Dcprng_fast.c3 /*-
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
52 /* 128-bit vector unit generates 256 bytes at once */
88 uint8_t seed[CPRNG_FAST_SEED_BYTES]; in cprng_fast_init_cpu()
90 cprng->epoch = entropy_epoch(); in cprng_fast_init_cpu()
91 cprng_strong(kern_cprng, seed, sizeof seed, 0);
92 cprng_fast_seed(cprng, seed);
93 (void)explicit_memset(seed, 0, sizeof seed); in cprng_fast_get()
129 uint8_t seed[CPRNG_FAST_SEED_BYTES]; cprng_fast_reseed() local
158 cprng_fast_seed(struct cprng_fast * cprng,const void * seed) cprng_fast_seed() argument
209 uint8_t seed[CHACHA_STREAM_KEYBYTES]; cprng_fast_buf_long() local
[all...]
/netbsd-src/share/man/man4/
H A Drnd.43 .\" Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
120 .Bl -bullet -offset abcd
132 means a single read, no matter how short it is.
145 The observations are combined into a seed for a cryptographic
156 analyzed as the -log_2 of the highest probability of any outcome,
158 .Em min-entropy ,
164 .Bl -bullet -offse
[all...]
/netbsd-src/lib/libc/stdlib/
H A Drand48.310 .\" This software is provided ``as is'', and comes with no warranties
11 .\" of any kind. I shall in no event be liable for anything that happens
27 .Nd pseudo-random number generators and initialization routines
45 .Fn srand48 "long seed"
53 family of functions generates pseudo-random numbers using a linear
61 r(n) is called the seed of the random number generator.
77 return values of type long in the range [0, 2**31-1].
78 The high-order (31) bits of r(n+1) are loaded into the lower bits
84 return values of type long in the range [-2**31, 2**31-1].
85 The high-order (32) bits of r(n+1) are loaded into the returned value.
[all …]
H A Drand.325 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
49 .Fn srand "unsigned int seed"
53 .Fn rand_r "unsigned int *seed"
55 .Bf -symbolic
62 function computes a sequence of pseudo-random integers in the range
70 function sets its argument as the seed for a new sequence of
71 pseudo-random numbers to be returned by
75 with the same seed value.
77 If no seed value is provided, the
85 the seed has to be supplied and is maintained by the caller.
[all …]
/netbsd-src/share/man/man7/
H A Dentropy.718 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
50 .Bl -bullet
57 .Xr ssh-keygen 1
78 .Bl -bullet -compact
100 also stores a random seed at
101 .Pa /var/db/entropy-file
104 The seed is maintained automatically by
116 .Bl -bullet
136 generators, or a seed file stored on disk, count toward these alerts.
144 or fail to single-user mode, when
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DEC_GROUP_copy.pod17 - Functions for manipulating EC_GROUP objects
81 This function was deprecated in OpenSSL 3.0, since EC_METHOD is no longer a public concept.
86 n-1 where n is the B<order>. The B<order> multiplied by the B<cofactor> gives the number of points …
144 If the seed is present for a curve then the b parameter was generated in a verifiable fashion using…
145 does not use this seed value but does enable you to inspect it using EC_GROUP_get0_seed(). This ret…
146 containing the seed that was used. The length of the memory block can be obtained using EC_GROUP_ge…
147 built-in curves within the library provide seed values that can be obtained. It is also possible to…
148 EC_GROUP_set_seed() and passing a pointer to a memory block, along with the length of the seed. Aga…
149 this seed value, although it will be preserved in any ASN1 based communications.
165 …rder. For the OpenSSL FIPS provider it uses EC_GROUP_check_named_curve() to conform to SP800-56Ar3.
[all …]
H A DEVP_PKEY_CTX_set_tls1_prf_md.pod6 EVP_PKEY_CTX_set1_tls1_prf_secret, EVP_PKEY_CTX_add1_tls1_prf_seed -
17 unsigned char *seed, int seedlen);
22 TLS. It has no associated private key and only implements key derivation
31 and any seed is reset.
33 EVP_PKEY_CTX_add1_tls1_prf_seed() sets the seed to B<seedlen> bytes of B<seed>.
34 If a seed is already set it is appended to the existing value.
42 The B<type> parameters "secret" and "seed" use the supplied B<value> parameter
43 as a secret or seed value.
53 The digest, secret value and seed must be set before a key is derived or an
68 In particular a return value of -2 indicates the operation is not supported by
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/
H A Dmisc.c3 Copyright 2000-2003, 2005, 2013, 2015, 2019 Free Software Foundation, Inc.
43 #include "gmp-impl.h"
89 unsigned long seed; in seed_from_tod() local
93 seed = tv.tv_sec ^ ((unsigned long) tv.tv_usec << 12); in seed_from_tod()
94 seed &= 0xffffffff; in seed_from_tod()
98 seed = tv; in seed_from_tod()
100 gmp_randseed_ui (rands, seed); in seed_from_tod()
101 printf ("Seed GMP_CHECK_RANDOMIZE=%lu (include this in bug reports)\n", seed); in seed_from_tod()
107 mpz_t seed; in seed_from_urandom() local
110 mpz_init (seed); in seed_from_urandom()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/lib/libcrypto/man/
H A DEVP_PKEY_CTX_set_tls1_prf_md.320 .\" Set up some character translations and predefined strings. \*(-- will
26 .tr \(*W-
29 . ds -- \(*W-
31 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
32 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
39 . ds -- \|\(em\|
75 .\" Fear. Run. Save yourself. No user-serviceable parts.
85 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
101 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
102 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DEVP_PKEY_CTX_set_tls1_prf_md.pod6 EVP_PKEY_CTX_set1_tls1_prf_secret, EVP_PKEY_CTX_add1_tls1_prf_seed -
17 unsigned char *seed, int seedlen);
22 TLS. It has no associated private key and only implements key derivation
31 and any seed is reset.
33 EVP_PKEY_CTX_add1_tls1_prf_seed() sets the seed to B<seedlen> bytes of B<seed>.
34 If a seed is already set it is appended to the existing value.
42 The B<type> parameters "secret" and "seed" use the supplied B<value> parameter
43 as a secret or seed value.
55 The digest, secret value and seed must be set before a key is derived or an
70 In particular a return value of -2 indicates the operation is not supported by
[all …]
/netbsd-src/regress/sys/uvm/pdsim/
H A Dgenpat5.hs1 {-
4 /*-
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
29 -}
38 acc0 _ r1 = cycle [start..(start+n-1)] where
41 acc1 seed r1 = map f rands where function
44 rands = unfoldr (Just . next) $ mkStdGen seed
46 acc2 seed r1 = map f rands where function
49 rands = unfoldr (Just . next) $ mkStdGen seed where
52 acc3 seed r1 = map f rands where function
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Drandom.c6 * SPDX-License-Identifier: MPL-2.0
28 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
59 * This is xoshiro128** 1.0, our 32-bit all-purpose, rock-solid generator.
60 * It has excellent (sub-ns) speed, a state size (128 bits) that is large
67 static thread_local uint32_t seed[4] = { 0 };
71 return (x << k) | (x >> (32 -
86 static thread_local uint32_t seed[4] = { 0 }; global() variable
[all...]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/des/
H A Dqud_cksm.c2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
12 * Communications Magazine Sept 1985 Vol. 23 No. 9 p 29-40 This module in
31 /* Got the value MIT uses via brute force :-) 2/10/90 eay */
35 long length, int out_count, DES_cblock *seed) in DES_quad_cksum() argument
47 z0 = Q_B0((*seed)[0]) | Q_B1((*seed)[1]) | Q_B2((*seed)[2]) | in DES_quad_cksum()
48 Q_B3((*seed)[3]); in DES_quad_cksum()
49 z1 = Q_B0((*seed)[4]) | Q_B1((*seed)[5]) | Q_B2((*seed)[6]) | in DES_quad_cksum()
50 Q_B3((*seed)[7]); in DES_quad_cksum()
59 l--; in DES_quad_cksum()
62 l--; in DES_quad_cksum()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/des/
H A Dqud_cksm.c2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
12 * Communications Magazine Sept 1985 Vol. 23 No. 9 p 29-40 This module in
24 /* Got the value MIT uses via brute force :-) 2/10/90 eay */
28 long length, int out_count, DES_cblock *seed) in DES_quad_cksum() argument
40 z0 = Q_B0((*seed)[0]) | Q_B1((*seed)[1]) | Q_B2((*seed)[2]) | in DES_quad_cksum()
41 Q_B3((*seed)[3]); in DES_quad_cksum()
42 z1 = Q_B0((*seed)[4]) | Q_B1((*seed)[5]) | Q_B2((*seed)[6]) | in DES_quad_cksum()
43 Q_B3((*seed)[7]); in DES_quad_cksum()
52 l--; in DES_quad_cksum()
55 l--; in DES_quad_cksum()
/netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/
H A Doqud_cksm.c2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
9 * This library is free for commercial and non-commercial use as long as
36 * being used are not cryptographic related :-).
44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
60 * IEEE Communications Magazine Sept 1985 Vol. 23 No. 9 p 29-40
66 /* bug fix for dos - 7/6/91 - Larry hughes@logos.ucs.indiana.edu */
73 /* Got the value MIT uses via brute force :-) 2/10/90 eay */
77 long length, int out_count, des_cblock *seed) in des_quad_cksum() argument
96 z0=Q_B0((*seed)[0])|Q_B1((*seed)[1])|Q_B2((*seed)[2])|Q_B3((*seed)[3]); in des_quad_cksum()
97 z1=Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3((*seed)[7]); in des_quad_cksum()
[all …]
/netbsd-src/crypto/external/bsd/openssl/lib/libdes/
H A Doqud_cksm.c2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
9 * This library is free for commercial and non-commercial use as long as
36 * being used are not cryptographic related :-).
44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
60 * IEEE Communications Magazine Sept 1985 Vol. 23 No. 9 p 29-40
66 /* bug fix for dos - 7/6/91 - Larry hughes@logos.ucs.indiana.edu */
73 /* Got the value MIT uses via brute force :-) 2/10/90 eay */
77 long length, int out_count, des_cblock *seed) in des_quad_cksum() argument
96 z0=Q_B0((*seed)[0])|Q_B1((*seed)[1])|Q_B2((*seed)[2])|Q_B3((*seed)[3]); in des_quad_cksum()
97 z1=Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3((*seed)[7]); in des_quad_cksum()
[all …]
/netbsd-src/external/bsd/libarchive/dist/libarchive/
H A Dxxhash.c2 xxHash - Fast Hash algorithm
3 Copyright (C) 2012-2014, Yann Collet.
4 BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
20 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30 - xxHash source repository : http://code.google.com/p/xxhash/
55 ** When this option is enabled, xxHash output for null input pointers will be the same as a null-le…
61 ** By default, xxHash library provides endian-independent Hash values, based on little-endian conve…
62 ** Results are therefore identical for little-endian and big-endian CPU.
63 ** This comes at a performance cost for big-endian CPU, since some swapping is required to emulate …
64 ** Should endian-independence be of no importance for your application, you may set the #define bel…
[all …]

12345678910>>...33