Home
last modified time | relevance | path

Searched full:prng (Results 1 – 25 of 170) sorted by relevance

1234567

/freebsd/contrib/bc/src/
H A Drand.c153 * Marks a PRNG as modified. This is important for properly maintaining the
154 * stack of PRNG's.
155 * @param r The PRNG to mark as modified.
168 * Marks a PRNG as not modified. This is important for properly maintaining the
169 * stack of PRNG's.
170 * @param r The PRNG to mark as not modified.
183 * Copies a PRNG to another and marks the copy as modified if it already was or
185 * @param d The destination PRNG.
186 * @param s The source PRNG.
253 * preferred as it is possible to access cryptographically-secure PRNG'
[all...]
/freebsd/contrib/bc/include/
H A Drand.h135 * Figure out if the PRNG has been modified. Since the increment of the PRNG has
137 * @param r The PRNG.
138 * @return True if the PRNG has *not* been modified, false otherwise.
143 * Return true if the PRNG has not been seeded yet.
144 * @param r The PRNG.
145 * @return True if the PRNG has not been seeded yet, false otherwise.
224 * Figure out if the PRNG has been modified. Since the increment of the PRNG has
226 * @param r The PRNG
[all...]
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z10/
H A Dcrypto.json5 "BriefDescription": "PRNG Functions",
6 "PublicDescription": "Total number of the PRNG functions issued by the CPU"
11 "BriefDescription": "PRNG Cycles",
12 …otal number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG functions issued by…
17 "BriefDescription": "PRNG Blocked Functions",
18 …"PublicDescription": "Total number of the PRNG functions that are issued by the CPU and are blocke…
23 "BriefDescription": "PRNG Blocked Cycles",
24 …"PublicDescription": "Total number of CPU cycles blocked for the PRNG functions issued by the CPU …
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z13/
H A Dcrypto.json5 "BriefDescription": "PRNG Functions",
6 "PublicDescription": "Total number of the PRNG functions issued by the CPU"
11 "BriefDescription": "PRNG Cycles",
12 …otal number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG functions issued by…
17 "BriefDescription": "PRNG Blocked Functions",
18 …"PublicDescription": "Total number of the PRNG functions that are issued by the CPU and are blocke…
23 "BriefDescription": "PRNG Blocked Cycles",
24 …"PublicDescription": "Total number of CPU cycles blocked for the PRNG functions issued by the CPU …
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z14/
H A Dcrypto.json5 "BriefDescription": "PRNG Functions",
6 "PublicDescription": "Total number of the PRNG functions issued by the CPU"
11 "BriefDescription": "PRNG Cycles",
12 …otal number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG functions issued by…
17 "BriefDescription": "PRNG Blocked Functions",
18 …"PublicDescription": "Total number of the PRNG functions that are issued by the CPU and are blocke…
23 "BriefDescription": "PRNG Blocked Cycles",
24 …"PublicDescription": "Total number of CPU cycles blocked for the PRNG functions issued by the CPU …
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z196/
H A Dcrypto.json5 "BriefDescription": "PRNG Functions",
6 "PublicDescription": "Total number of the PRNG functions issued by the CPU"
11 "BriefDescription": "PRNG Cycles",
12 …otal number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG functions issued by…
17 "BriefDescription": "PRNG Blocked Functions",
18 …"PublicDescription": "Total number of the PRNG functions that are issued by the CPU and are blocke…
23 "BriefDescription": "PRNG Blocked Cycles",
24 …"PublicDescription": "Total number of CPU cycles blocked for the PRNG functions issued by the CPU …
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_zec12/
H A Dcrypto.json5 "BriefDescription": "PRNG Functions",
6 "PublicDescription": "Total number of the PRNG functions issued by the CPU"
11 "BriefDescription": "PRNG Cycles",
12 …otal number of CPU cycles when the DEA/AES coprocessor is busy performing PRNG functions issued by…
17 "BriefDescription": "PRNG Blocked Functions",
18 …"PublicDescription": "Total number of the PRNG functions that are issued by the CPU and are blocke…
23 "BriefDescription": "PRNG Blocked Cycles",
24 …"PublicDescription": "Total number of CPU cycles blocked for the PRNG functions issued by the CPU …
/freebsd/contrib/bearssl/inc/
H A Dbearssl_rand.h42 * A PRNG is a state-based engine that outputs pseudo-random bytes on
51 * For the PRNG of name "`xxx`", two API are provided. The _procedural_
73 * additional parameters depend on the implemented PRNG.
103 * AESCTR_DRBG is a custom PRNG based on AES-128 in CTR mode. This is
128 * \brief Class type for PRNG implementations.
130 * A `br_prng_class` instance references the methods implementing a PRNG.
132 * PRNG. Such instances are also called "vtables".
138 * running this PRNG.
154 * PRNG.
156 * \param ctx PRNG context to initialise.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dqcom,prng.txt5 - compatible : should be "qcom,prng" for 8916 etc
6 : should be "qcom,prng-ee" for 8996 and later using EE
7 (Execution Environment) slice of prng
10 - clock-names : "core" clocks all registers, FIFO and circuits in PRNG IP block
15 compatible = "qcom,prng";
H A Dqcom,prng.yaml4 $id: http://devicetree.org/schemas/crypto/qcom,prng.yaml#
16 - qcom,prng # 8916 etc.
17 - qcom,prng-ee # 8996 and later using EE
59 compatible = "qcom,prng";
H A Dsamsung-sss.yaml18 -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
19 -- PRNG: Pseudo Random Number Generator
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp75 // This PRNG is from the ISO C spec. It is intentionally simple and
78 struct PRNG { struct
90 Renamer(unsigned int seed) { prng.srand(seed); } in Renamer()
93 return metaNames[prng.rand() % std::size(metaNames)]; in newName()
96 PRNG prng; member
133 // Seed our PRNG with simple additive sum of ModuleID. We're looking to in MetaRename()
79 next__anon4955dd7f0111::PRNG global() argument
81 srand__anon4955dd7f0111::PRNG srand() argument
83 rand__anon4955dd7f0111::PRNG rand() argument
/freebsd/sys/dev/random/fenestrasX/
H A Dfx_main.c39 * - Extended to pre-buffer some PRNG output
49 * - Relationship between root PRNG seed version and periodic reseed pool use.
50 * I interpreted these as separate sequences. The root PRNG seed version is
60 * pools," the root PRNG state already has been keyed for the first time and
73 * root PRNG, so bypassing the pools is kind of meaningless. Instead,
74 * they feed into pool0. (They also do not set the root PRNG key or bump
75 * the root PRNG seed version.)
H A Dfx_pool.c315 * directly reseed the root PRNG. The entropy pools are in fxrng_event_processor()
323 * the entropy directly with the root PRNG state, as the root in fxrng_event_processor()
324 * PRNG is unkeyed. Instead, we collect pre-keying dynamic in fxrng_event_processor()
325 * entropy in pool0 and do not bump the root PRNG seed version in fxrng_event_processor()
345 * Keying the root PRNG requires both FXENT_LOCK and the PRNG's in fxrng_event_processor()
351 /* Root PRNG hasn't been keyed yet, just accumulate event. */ in fxrng_event_processor()
510 * aggregate together with the current root PRNG keystate to produce a in fxent_timer_reseed_npools()
/freebsd/sys/dev/qcom_rnd/
H A Dqcom_rnd.c102 if (ofw_bus_is_compatible(dev, "qcom,prng") == 0) { in qcom_rnd_probe()
136 device_set_desc(dev, "Qualcomm PRNG"); in qcom_rnd_attach()
139 * Check to see whether the PRNG has already been setup or not. in qcom_rnd_attach()
144 device_printf(dev, "PRNG HW already enabled\n"); in qcom_rnd_attach()
147 * Do PRNG setup and then enable it. in qcom_rnd_attach()
/freebsd/share/man/man9/
H A Dprng.929 .Nm prng
42 .Ss GENERIC PRNG ROUTINES
86 .Ss REPRODUCIBLE PRNG APIS
/freebsd/crypto/openssl/doc/man3/
H A DRAND_load_file.pod5 RAND_load_file, RAND_write_file, RAND_file_name - PRNG seed file
20 adds them to the PRNG. If B<max_bytes> is nonnegative,
32 file B<filename> which can be used to initialize the PRNG by calling
H A DRAND_cleanup.pod5 RAND_cleanup - erase the PRNG state
20 the PRNG. As of version 1.1.0, it does nothing and should not be called,
H A DRAND_set_rand_method.pod31 This implementation ensures that the PRNG state is unique for each thread.
37 RAND_set_rand_method() makes B<meth> the method for PRNG use. If an
H A DRAND_bytes.pod33 default RAND_METHOD, this function uses a separate "private" PRNG
34 instance so that a compromise of the "public" PRNG instance will not
/freebsd/contrib/bearssl/src/
H A Dconfig.h104 * PRNG. Since that opcode is present only in recent x86 CPU, its
115 * internal PRNG. On Linux and FreeBSD, getentropy() is implemented by
133 * PRNG.
141 * automatically obtain quality randomness for seeding its internal PRNG.
/freebsd/lib/libc/stdlib/
H A Drand.c48 * Implement rand(3), the standard C PRNG API, using the non-standard but
52 * It turns out there are portable applications that want a PRNG but are too
58 * it produce a relatively good PRNG sequence using our existing random(3)
/freebsd/secure/lib/libcrypto/man/man3/
H A DRAND_load_file.3140 RAND_load_file, RAND_write_file, RAND_file_name \- PRNG seed file
155 adds them to the \s-1PRNG.\s0 If \fBmax_bytes\fR is nonnegative,
167 file \fBfilename\fR which can be used to initialize the \s-1PRNG\s0 by calling
/freebsd/crypto/krb5/src/lib/crypto/krb/
H A DMakefile.in53 prng.o \
109 $(OUTPRE)prng.$(OBJEXT) \
165 $(srcdir)/prng.c \
/freebsd/crypto/openssh/
H A Dentropy.c55 * Portable OpenSSH PRNG seeding:
86 fatal("PRNG is not seeded"); in seed_rng()

1234567