Home
last modified time | relevance | path

Searched full:entropy (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devprand.txt24 Entropy.0 = 22ED7A66C9E9F494C8D2B8F81D0D49BCDD0C03863FF5979212211EFE3E945758B6228CDD9E9EEC5F7984AEF…
41 Entropy.0 = 890eb067acf7382eff80b0c73bc872c6
44 Entropy.1 = c47be8e8219a5a87c94064a512089f2b
47 Entropy.2 = 130b8c3d2d7b6e02c410b4168e122c38
50 Entropy.3 = 04d24145287664f6762b5d2a102ac603
53 Entropy.4 = aede4e613556b1d5a30fce261fbb820c
56 Entropy.5 = 9f90541c10d4b7c089fe688ea3ef4fc6
59 Entropy.6 = 3b8a181cea8390d5d7a4e6515cf92e3e
62 Entropy.7 = 854caa2a74f3f43b6abd806d6748ed80
65 Entropy.8 = 87e1c532997f57a35c286de864bff264
[all …]
H A Devppkey_ml_kem_768_encap.txt16 Entropy = 147c03f7a5bebba406c8fae1874d7f13c80efe79a3a9a874cc09fe76f6997615
24 Entropy = cde797df8ce67231f6c5d15811843e01eb2ab84c7490931240822adbddd72046
32 Entropy = f43f68fbd694f0a6d307297110ecd4739876489fdf07eb9b03364e2ed0ff96e9
40 Entropy = ea74fbc3c546500ed684bed6fe3c496d3b86d2d6dfaf223969b942e9a8c95e85
48 Entropy = 64efa87a12cb96f98b9b81a7e5128a959c74e5332aaab0444fca7b4a5e5e0216
56 Entropy = 8a95d71228acaa5f9ae6f9d9ca8ae55fde296463b41083a39e833e37c4c90f88
64 Entropy = 90d79d75d0bbb8921cf70d46bab497022a8e750efdc99e5f1bae653275441c7b
72 Entropy = be8a32f97b9a8d596382c02fa2a0eeebc15c083e970ddaa4f2622b91d6718663
80 Entropy = da2cfaf69e25b2a89ff2557bbb6f69e01d8e2e7bb27a7a1ce7e40fead16f33b2
88 Entropy = 511c2ab40782322c06111e144e505328c4e5bfc890a5980a2bbc44aeda4c738b
[all …]
H A Devppkey_ml_kem_1024_encap.txt16 Entropy = 147c03f7a5bebba406c8fae1874d7f13c80efe79a3a9a874cc09fe76f6997615
24 Entropy = cde797df8ce67231f6c5d15811843e01eb2ab84c7490931240822adbddd72046
32 Entropy = f43f68fbd694f0a6d307297110ecd4739876489fdf07eb9b03364e2ed0ff96e9
40 Entropy = ea74fbc3c546500ed684bed6fe3c496d3b86d2d6dfaf223969b942e9a8c95e85
48 Entropy = 64efa87a12cb96f98b9b81a7e5128a959c74e5332aaab0444fca7b4a5e5e0216
56 Entropy = 8a95d71228acaa5f9ae6f9d9ca8ae55fde296463b41083a39e833e37c4c90f88
64 Entropy = 90d79d75d0bbb8921cf70d46bab497022a8e750efdc99e5f1bae653275441c7b
72 Entropy = be8a32f97b9a8d596382c02fa2a0eeebc15c083e970ddaa4f2622b91d6718663
80 Entropy = da2cfaf69e25b2a89ff2557bbb6f69e01d8e2e7bb27a7a1ce7e40fead16f33b2
88 Entropy = 511c2ab40782322c06111e144e505328c4e5bfc890a5980a2bbc44aeda4c738b
[all …]
H A Devppkey_ml_kem_512_encap.txt15 Entropy = 147c03f7a5bebba406c8fae1874d7f13c80efe79a3a9a874cc09fe76f6997615
23 Entropy = cde797df8ce67231f6c5d15811843e01eb2ab84c7490931240822adbddd72046
31 Entropy = f43f68fbd694f0a6d307297110ecd4739876489fdf07eb9b03364e2ed0ff96e9
39 Entropy = ea74fbc3c546500ed684bed6fe3c496d3b86d2d6dfaf223969b942e9a8c95e85
47 Entropy = 64efa87a12cb96f98b9b81a7e5128a959c74e5332aaab0444fca7b4a5e5e0216
55 Entropy = 8a95d71228acaa5f9ae6f9d9ca8ae55fde296463b41083a39e833e37c4c90f88
63 Entropy = 90d79d75d0bbb8921cf70d46bab497022a8e750efdc99e5f1bae653275441c7b
71 Entropy = be8a32f97b9a8d596382c02fa2a0eeebc15c083e970ddaa4f2622b91d6718663
79 Entropy = da2cfaf69e25b2a89ff2557bbb6f69e01d8e2e7bb27a7a1ce7e40fead16f33b2
87 Entropy = 511c2ab40782322c06111e144e505328c4e5bfc890a5980a2bbc44aeda4c738b
[all …]
H A Devppkey_ml_kem_encap_decap.txt17 Entropy = AF9B6CAE187C407256FC9D3F3BE37010FFAF55D0E687A128F17C7F62EB6884D3
25 Entropy = 682EBC83BE6687C4CA8D503940FB1564757A116F87D059111DED4E8A9315ECD1
33 Entropy = 6359DA4F8CA6ADF5F4B1E8875EC05E8509BF415E76708E2C1B014924668F0098
41 Entropy = BB4364022279128736A3A917EE5F9026ED336CDFA0DB6535220BBB701EFD078D
49 Entropy = F85192A5221A98A75D6B9D23ECC66911FDC33BB8171958E7D5BDDB2A5D199F90
57 Entropy = 0970D696F76792B6417BE7C021F9401D8334CB7484479500C54927B57AF42106
65 Entropy = 17E33739CBB357E3B02A5EE4E3726DC98CC449FAD38BB93E60751DA2C05686D8
73 Entropy = DC597E0E547918E7DC06072D4287CE85B872E8F956003BBD610F27F694FE4D83
81 Entropy = 37D1232BFFB0DA92D434AFA4460A4677C645B4985EBBDC39D95E03FB4E523467
89 Entropy = E0E25025D948C47FB371634B28CD9B08B93CF52527C2E144A424FDA93B7B9017
[all …]
H A Devppkey_slh_dsa_sigver.txt19 Ctrl = hextest-entropy:5157DB1A3DBCE731D0BA7EE3521407CC
31 Ctrl = hextest-entropy:BC3E3697FC4FCE254E6DD5CB0619CE77
43 Ctrl = hextest-entropy:B05690A0EAA31163D2BEF1D9FB0AC350
55 Ctrl = hextest-entropy:E6FE21F8061D2226593D23B0A5D9A2D7
67 Ctrl = hextest-entropy:4BC9CD286588DBCC26DE241DBC8E7688
79 Ctrl = hextest-entropy:5289347B0A4243DFD4AA29DA267FD8A3
91 Ctrl = hextest-entropy:ACF88EFA704369762C4A0195CA65C6FA
103 Ctrl = hextest-entropy:82CC191B80D66A2CBEDAE214A7CA894A
115 Ctrl = hextest-entropy:928604BF71C99579AB8164B87612903C
126 Ctrl = hextest-entropy:932964E1985D1E8D2685AC7A8B3832D2
[all …]
H A Devppkey_ml_dsa_siggen.txt942 Ctrl = hextest-entropy:D5EF4D149621669A4FA4F92F5F8D9195573993290C28BB69A00DCE2F269F0BDD
954 Ctrl = hextest-entropy:744A2A504AE90DF559E3FE02207BE3C4E83B17E662746153C52C9EE3F027487A
965 Ctrl = hextest-entropy:8EFC0B5143FDDCF0E930C3993565AD446235321A0ECA411D5F884389216BECC3
977 Ctrl = hextest-entropy:1B9ED7C038CBF59300B0D2D1D6C7159CDCF05BA3457DC741C5DEE85FA91B11C7
988 Ctrl = hextest-entropy:1F1CE083FFBF67118D11F33CE326A07F1863FE76A5D0C47A589FF1457285D628
1000 Ctrl = hextest-entropy:899491EB455FB3B90E0DC777B342DE40CE08F174D00F54AFA22E8AB108AA5FD0
1011 Ctrl = hextest-entropy:3C46F4EC8E5A841CF5879AB25021EDFF5BCCE1FA4CF28AC23FE2DD8849B9A90C
1023 Ctrl = hextest-entropy:15F41DEAE2FF797B3CA333AC7EA6B002D4438E609EAD66182EF0155DF933919F
1034 Ctrl = hextest-entropy:7657D430F61C013A69DB781D9758C1F36357D2E62801A986894A7D09B73BF428
1046 Ctrl = hextest-entropy:EBC301D50108892345B777345232E710C9C62D28E35987C64D7D9AB5A4A32F97
[all …]
H A Devppkey_slh_dsa_siggen.txt1764 Ctrl = hextest-entropy:FD3FE9ADC298FAD0BF5A08D804C690B1
1776 Ctrl = hextest-entropy:CFA647B01AFDA2BE4AB477543044BE01
1788 Ctrl = hextest-entropy:50CBDEB4841D5BA0E36C5CC95F2462FC
1800 Ctrl = hextest-entropy:C3B229528DF451356E77E390274C0EA9
1812 Ctrl = hextest-entropy:EA50934B640D17FAE27A9D2E3E7314B6
1824 Ctrl = hextest-entropy:AE9539827342A2B6462DA1C67ED605CC
1836 Ctrl = hextest-entropy:68EB56B39393026CA6F9A94B0E645F91
1847 Ctrl = hextest-entropy:85A190064C3CBF774DE25196C9F8637012682BB6A80BABF5
1859 Ctrl = hextest-entropy:33424201FCB0E7D65B227E4DCC1B8D81E375ABCFF64ABB7F
1871 Ctrl = hextest-entropy:AE292D8CD3B9852772E2FAF2B318CCB33AE0629B9A7E9201
[all …]
/freebsd/libexec/rc/rc.d/
H A Drandom13 desc="Harvest and save entropy for random device"
25 debug "saving entropy to $f"
39 debug "entropy read from $f"
55 echo -n 'Feeding entropy: '
62 # Reseed /dev/random with previously stored entropy.
63 case ${entropy_dir:=/var/db/entropy} in
73 case ${entropy_file:=/entropy} in
77 feed_dev_random "${entropy_file}" /var/db/entropy-file
82 case ${entropy_boot_file:=/boot/entropy} in
95 # Write some entropy so when the machine reboots /dev/random
[all …]
/freebsd/sys/dev/random/
H A Drandom_harvestq.c75 * entropy into a subset of pools per iteration with the goal of feeding
107 * Allow the sysadmin to select the broad category of entropy types to harvest.
122 "Entropy Device Parameters");
135 /* The context of the kernel thread processing harvested entropy */
153 "entropy harvest mutex", NULL, MTX_SPIN)
203 /* XXX: FIX!! This is a *great* place to pass hardware/live entropy to random(9) */ in random_kthread()
226 * Run through all fast sources reading entropy for the given
228 * of entropy accumulation pools in use; it is 32 for Fortuna.
233 uint32_t entropy[HARVESTSIZE]; in random_sources_feed() local
255 * all of the PRNG's pools with entropy; if there is enough entropy in random_sources_feed()
[all …]
H A Drdseed.c60 "rdseed (x86) entropy source");
146 * Intel's RDSEED Entropy Assessment Report min-entropy claim is 0.6 Shannons
147 * per bit of data output. Rrefer to the following Entropy Source Validation
150 * E#87: Junos OS Physical Entropy Source - Broadwell EP 10-Core Die
152 …* https://csrc.nist.gov/projects/cryptographic-module-validation-program/entropy-validations/cert…
155 * E#121: Junos OS Physical Entropy Source - Intel Atom C3000 Series
158 * E#122: Junos OS Physical Entropy Source - Intel Xeon D-1500 Family
161 * E#123: Junos OS Physical Entropy Source - Intel Xeon D-2100 Series
164 * E#141: Junos OS Physical Entropy Source - Intel Xeon D-10 Series
167 * E#169: Junos OS Physical Entropy Source - Intel Xeon AWS-1000 v4 and
H A Drandom_harvestq.h33 #define HARVESTSIZE 2 /* Max length in words of each harvested entropy unit */
35 /* These are used to queue harvested packets of entropy. The entropy
40 uint32_t he_entropy[HARVESTSIZE];/* some harvested entropy */
41 uint8_t he_size; /* harvested entropy byte count */
42 uint8_t he_destination; /* destination pool of this entropy */
43 uint8_t he_source; /* origin of the entropy */
/freebsd/share/man/man4/
H A Drandom.429 .Nd the entropy device
45 automatically saves some entropy data in
46 .Pa /boot/entropy
50 Additional entropy is regularly saved in
51 .Pa /var/db/entropy .
52 This saved entropy is sufficient to unblock the random device on devices with
64 the direct output of the abstract kernel entropy device can be read with
114 the possible entropy sources.
118 as an entropy source.
134 for more on the harvesting of entropy.
[all …]
/freebsd/crypto/openssl/crypto/rand/
H A Drand_pool.c62 size_t entropy) in ossl_rand_pool_attach() argument
80 pool->entropy = entropy; in ossl_rand_pool_attach()
118 * Return the |pool|'s entropy to the caller.
122 return pool->entropy; in ossl_rand_pool_entropy()
143 pool->entropy = 0; in ossl_rand_pool_detach()
159 * If |entropy_factor| bits contain 1 bit of entropy, how many bytes does one
160 * need to obtain at least |bits| bits of entropy?
167 * Checks whether the |pool|'s entropy is available to the caller.
168 * This is the case when entropy count and buffer length are high enough.
171 * |entropy| if the entropy count and buffer size is large enough
[all …]
/freebsd/share/man/man9/
H A Drandom_harvest.931 .Nd gather entropy from the kernel for the entropy device
37 .Fa "void *entropy"
43 .Fa "void *entropy"
49 .Fa "void *entropy"
59 to the entropy device.
65 .Fa entropy .
74 and is used to indicate the source of the entropy.
93 Some entropy is sacrificed,
102 choice for most entropy sources
120 be used for entropy harvesting.
[all …]
/freebsd/secure/lib/libcrypto/man/man7/
H A DEVP_RAND.779 systems's entropy sources and providing access to deterministic random
100 You need to integrate a previously unsupported entropy source.
108 An EVP_RAND instance can be used as the entropy source of another
109 EVP_RAND instance, provided it has itself access to a valid entropy source.
110 The EVP_RAND instance which acts as entropy source is called the \fIparent\fR,
112 it does not make sense for the child to be an entropy source.
118 a live entropy source may ignore and not use its parent.
132 either from os entropy sources or by consuming randomness which was added
160 thread. Using the <primary> DRBG as entropy source for multiple DRBG
170 \& | os entropy sources |
[all …]
/freebsd/crypto/openssl/doc/man7/
H A DEVP_RAND.pod20 systems's entropy sources and providing access to deterministic random
49 You need to integrate a previously unsupported entropy source.
63 An EVP_RAND instance can be used as the entropy source of another
64 EVP_RAND instance, provided it has itself access to a valid entropy source.
65 The EVP_RAND instance which acts as entropy source is called the I<parent>,
67 it does not make sense for the child to be an entropy source.
73 a live entropy source may ignore and not use its parent.
89 either from os entropy sources or by consuming randomness which was added
121 thread. Using the <primary> DRBG as entropy source for multiple DRBG
131 | os entropy sources |
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
62 static unsigned int entropy = 0; variable
137 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) { in random_add_randomness()
139 * No need to add more entropy at this point, so save CPU and in random_add_randomness()
144 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u", in random_add_randomness()
145 count, entropy); in random_add_randomness()
154 entropy++; in random_add_randomness()
165 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u", in random_get_bytes()
166 (unsigned int) len, entropy); in random_get_bytes()
173 /* Mix in additional entropy extracted from the internal pool */ in random_get_bytes()
[all …]
/freebsd/crypto/openssl/providers/implementations/kem/
H A Dml_kem_kem.c36 uint8_t *entropy; member
48 ctx->entropy = NULL; in ml_kem_newctx()
57 if (ctx->entropy != NULL) in ml_kem_freectx()
58 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); in ml_kem_freectx()
106 if (ctx->op == EVP_PKEY_OP_DECAPSULATE && ctx->entropy != NULL) { in ml_kem_set_ctx_params()
108 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); in ml_kem_set_ctx_params()
109 ctx->entropy = NULL; in ml_kem_set_ctx_params()
120 ctx->entropy = ctx->entropy_buf; in ml_kem_set_ctx_params()
121 if (OSSL_PARAM_get_octet_string(p, (void **)&ctx->entropy, in ml_kem_set_ctx_params()
128 ctx->entropy = NULL; in ml_kem_set_ctx_params()
[all …]
/freebsd/libexec/save-entropy/
H A Dsave-entropy.831 .Nm save-entropy
32 .Nd Save bits of entropy to feed /dev/random at startup
34 .Nm save-entropy
38 command is used to save entropy data from
41 The files saved are used at startup to provide additional entropy for
60 Specify the directory for saved entropy files.
62 .Pa /var/db/entropy .
63 If set to "NO" it disables caching entropy via
68 Size of the entropy cache files.
71 Number of entropy cache files to save.
H A Dsave-entropy.sh53 entropy_dir=${entropy_dir:-/var/db/entropy}
62 logger -is -t "$0" The entropy directory "${entropy_dir}" does \
63 not exist, and cannot be created. Therefore no entropy can \
68 logger -is -t "$0" Cannot cd to the entropy directory: "${entropy_dir}". \
69 Entropy file rotation is aborted.; exit 1; }
71 for f in saved-entropy.*; do
72 case "${f}" in saved-entropy.\*) continue ;; esac # No files match
73 [ ${f#saved-entropy\.} -gt ${entropy_save_num} ] && unlink ${f}
85 save_file="saved-entropy.${n}"
102 next_file=saved-entropy.${n}
[all …]
/freebsd/sys/dev/random/fenestrasX/
H A Dfx_pool.c68 * (Entropy harvesting only round robins across active pools.)
81 * Low sources provide unconditioned entropy, such as mouse movements; high
232 /* For special behavior on first-time entropy sources. (§ 3.1) */
235 /* For special behavior for high-entropy sources after a reseed. (§ 3.4) */
239 /* Entropy pools. Lock order is ENT -> RNG(root) -> RNG(leaf). */
241 MTX_SYSINIT(fx_pool, &fxent_pool_lk, "fx entropy pool lock", MTX_DEF);
252 * Track number of bytes of entropy harvested from high-quality sources prior
253 * to initial keying. The idea is to collect more jitter entropy when fewer
261 * Jitter entropy is unimplemented for now.
281 * A racy check that this high-entropy source's event should contribute to
[all …]
/freebsd/crypto/openssl/include/crypto/
H A Drand_pool.h27 * RAND_POOL can store a random input which has a lousy entropy rate of
33 * of entropy required when no get_nonce() callback is defined.
64 * input from various entropy sources. It is the callers duty to 1) initialize
81 size_t entropy; /* current entropy count in bits */ member
82 size_t entropy_requested; /* requested entropy count in bits */
88 size_t entropy);
100 /* |entropy_factor| expresses how many bits of data contain 1 bit of entropy */
105 const unsigned char *buffer, size_t len, size_t entropy);
107 int ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy);
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c40 ZSTD_entropyDTables_t entropy; member
75 dctx->LLTptr = ddict->entropy.LLTable; in ZSTD_copyDDictParameters()
76 dctx->MLTptr = ddict->entropy.MLTable; in ZSTD_copyDDictParameters()
77 dctx->OFTptr = ddict->entropy.OFTable; in ZSTD_copyDDictParameters()
78 dctx->HUFptr = ddict->entropy.hufTable; in ZSTD_copyDDictParameters()
79 dctx->entropy.rep[0] = ddict->entropy.rep[0]; in ZSTD_copyDDictParameters()
80 dctx->entropy.rep[1] = ddict->entropy.rep[1]; in ZSTD_copyDDictParameters()
81 dctx->entropy.rep[2] = ddict->entropy.rep[2]; in ZSTD_copyDDictParameters()
111 /* load entropy tables */ in ZSTD_loadEntropy_intoDDict()
113 &ddict->entropy, ddict->dictContent, ddict->dictSize)), in ZSTD_loadEntropy_intoDDict()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c41 ZSTD_entropyDTables_t entropy; member
76 dctx->LLTptr = ddict->entropy.LLTable; in ZSTD_copyDDictParameters()
77 dctx->MLTptr = ddict->entropy.MLTable; in ZSTD_copyDDictParameters()
78 dctx->OFTptr = ddict->entropy.OFTable; in ZSTD_copyDDictParameters()
79 dctx->HUFptr = ddict->entropy.hufTable; in ZSTD_copyDDictParameters()
80 dctx->entropy.rep[0] = ddict->entropy.rep[0]; in ZSTD_copyDDictParameters()
81 dctx->entropy.rep[1] = ddict->entropy.rep[1]; in ZSTD_copyDDictParameters()
82 dctx->entropy.rep[2] = ddict->entropy.rep[2]; in ZSTD_copyDDictParameters()
112 /* load entropy tables */ in ZSTD_loadEntropy_intoDDict()
114 &ddict->entropy, ddict->dictContent, ddict->dictSize)), in ZSTD_loadEntropy_intoDDict()
[all …]

12345678910>>...17