| /src/external/bsd/ntp/dist/libntp/lib/isc/include/isc/ |
| hash.h | 68 * Its unpredictability relies on the quality of entropy to build the 87 isc_hash_ctxcreate(isc_mem_t *mctx, isc_entropy_t *entropy, unsigned int limit, 90 isc_hash_create(isc_mem_t *mctx, isc_entropy_t *entropy, size_t limit); 99 * 'entropy' must be NULL or a valid entropy object. If 'entropy' is NULL, 143 * source of entropy, which is typically from the entropy object specified 145 * initializing the entropy object with some good entropy sources [all...] |
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| rand_pool.h | 27 * 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. 63 * input from various entropy sources. It is the callers duty to 1) initialize 80 size_t entropy; /* current entropy count in bits */ member in struct:rand_pool_st 81 size_t entropy_requested; /* requested entropy count in bits */ 87 size_t entropy); 99 /* |entropy_factor| expresses how many bits of data contain 1 bit of entropy */ 104 const unsigned char *buffer, size_t len, size_t entropy); 106 int ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy); [all...] |
| /src/crypto/external/bsd/openssl/dist/include/crypto/ |
| rand_pool.h | 27 * 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 in struct:rand_pool_st 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); [all...] |
| /src/crypto/external/bsd/openssl.old/dist/include/crypto/ |
| rand.h | 44 /* DRBG entropy callbacks. */ 47 int entropy, size_t min_len, size_t max_len, 53 int entropy, size_t min_len, size_t max_len); 67 size_t entropy); 79 /* |entropy_factor| expresses how many bits of data contain 1 bit of entropy */ 84 const unsigned char *buffer, size_t len, size_t entropy); 86 int rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy); 90 * Add random bytes to the pool to acquire requested amount of entropy 93 * amount of entropy by polling platform specific entropy sources [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rand/ |
| rand_pool.c | 61 size_t entropy) 79 pool->entropy = entropy; 117 * Return the |pool|'s entropy to the caller. 121 return pool->entropy; 142 pool->entropy = 0; 158 * If |entropy_factor| bits contain 1 bit of entropy, how many bytes does one 159 * need to obtain at least |bits| bits of entropy? 165 * Checks whether the |pool|'s entropy is available to the caller. 166 * This is the case when entropy count and buffer length are high enough [all...] |
| prov_seed.c | 19 unsigned char **pout, int entropy, 26 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); 32 /* Get entropy by polling system entropy sources. */ 45 unsigned char **pout, int entropy, 51 return evp_rand_get_seed(rng, pout, entropy, min_len, max_len, 54 return ossl_rand_get_entropy(ctx, pout, entropy, min_len, max_len);
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/kem/ |
| ml_kem_kem.c | 36 uint8_t *entropy; member in struct:__anon566 48 ctx->entropy = NULL; 57 if (ctx->entropy != NULL) 58 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); 106 if (ctx->op == EVP_PKEY_OP_DECAPSULATE && ctx->entropy != NULL) { 108 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); 109 ctx->entropy = NULL; 120 ctx->entropy = ctx->entropy_buf; 121 if (OSSL_PARAM_get_octet_string(p, (void **)&ctx->entropy, 128 ctx->entropy = NULL [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/rand/ |
| rand_pool.c | 66 size_t entropy) 86 pool->entropy = entropy; 124 * Return the |pool|'s entropy to the caller. 128 return pool->entropy; 149 pool->entropy = 0; 165 * If |entropy_factor| bits contain 1 bit of entropy, how many bytes does one 166 * need to obtain at least |bits| bits of entropy? 173 * Checks whether the |pool|'s entropy is available to the caller. 174 * This is the case when entropy count and buffer length are high enough [all...] |
| prov_seed.c | 16 unsigned char **pout, int entropy, 23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); 29 /* Get entropy by polling system entropy sources. */
|
| /src/external/bsd/zstd/dist/lib/decompress/ |
| zstd_ddict.c | 40 ZSTD_entropyDTables_t entropy; member in struct:ZSTD_DDict_s 75 dctx->LLTptr = ddict->entropy.LLTable; 76 dctx->MLTptr = ddict->entropy.MLTable; 77 dctx->OFTptr = ddict->entropy.OFTable; 78 dctx->HUFptr = ddict->entropy.hufTable; 79 dctx->entropy.rep[0] = ddict->entropy.rep[0]; 80 dctx->entropy.rep[1] = ddict->entropy.rep[1]; 81 dctx->entropy.rep[2] = ddict->entropy.rep[2] [all...] |
| /src/etc/rc.d/ |
| entropy | 3 # $NetBSD: entropy,v 1.1 2021/01/10 23:24:25 riastradh Exp $ 6 # PROVIDE: entropy 12 name="entropy" 18 case ${entropy-} in 20 check) echo -n "Checking for entropy..." 28 echo "not enough entropy available, aborting boot." 32 wait) echo -n "Waiting for entropy..."
|
| sshd | 24 if [ $( sysctl -n kern.entropy.needed ) -ne 0 ]; then 29 not enough entropy configured, so they may be predictable. 31 To fix, follow the "Adding entropy" section in the entropy(7) 32 man page. After this machine has enough entropy, re-generate
|
| /src/sys/rump/dev/lib/libvirtio_viornd/ |
| Makefile | 9 COMMENT=VirtIO entropy driver
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| drbg_cavs_test.c | 26 const unsigned char *entropy; member in struct:test_ctx_st 35 int entropy, size_t min_len, size_t max_len, 41 *pout = (unsigned char *)t->entropy; 46 int entropy, size_t min_len, size_t max_len) 86 t.entropy = data->entropyin; 145 t.entropy = data->entropyin; 158 t.entropy = data->entropyinreseed; 211 t.entropy = data->entropyin; 222 t.entropy = data->entropyinpr1; 229 t.entropy = data->entropyinpr2 [all...] |
| /src/sbin/rndctl/ |
| rndctl.c | 155 /* Find how much entropy is in the pool. */ 186 * Report an upper bound on the min-entropy of the seed data. 187 * We take the larger of the system entropy and the extra 188 * entropy -- the system state and the extra input may or may 195 rs.entropy = MIN(MAX(systementropy, extraentropy), 199 * Compute the checksum on the 32-bit entropy count, followed 203 SHA1Update(&s, (const uint8_t *)&rs.entropy, sizeof(rs.entropy)); 258 if (sysctlbyname("kern.entropy.consolidate", NULL, NULL, 260 warn("consolidate entropy"); [all...] |
| /src/external/bsd/openldap/lib/liblutil/ |
| Makefile | 14 SRCS= base64.c entropy.c sasl.c signal.c hash.c passfile.c \
|
| /src/etc/defaults/ |
| security.conf | 51 random_file=/var/db/entropy-file
|
| /src/share/man/man7/ |
| Makefile | 10 MAN+= entropy.7 52 entropy.7 random.7
|
| /src/tests/kernel/ |
| t_rnd.c | 63 rd.entropy = 1; 85 rd.entropy = 1;
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/include/prov/ |
| seeding.h | 23 int entropy, size_t min_len, size_t max_len);
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/kdfs/ |
| hmacdrbg_kdf.c | 35 unsigned char *entropy, *nonce; member in struct:__anon549 64 OPENSSL_clear_free(ctx->entropy, ctx->entropylen); 103 || !ossl_prov_memdup(src->entropy, src->entropylen, 104 &dst->entropy, &dst->entropylen) 127 if (ctx->entropy == NULL 131 || !ossl_drbg_hmac_init(drbg, ctx->entropy, ctx->entropylen, 196 OPENSSL_free(hmac->entropy); 197 hmac->entropy = ptr;
|
| /src/crypto/external/bsd/openssl/dist/providers/common/ |
| provider_seeding.c | 48 int entropy, size_t min_len, size_t max_len) 53 pout, entropy, min_len, max_len);
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/ |
| seeding.h | 34 int entropy, size_t min_len, size_t max_len);
|
| /src/usr.sbin/sysinst/ |
| msg.entropy.en | 1 /* $NetBSD: msg.entropy.en,v 1.4 2022/04/21 17:30:15 martin Exp $ */ 29 message Configure_entropy {Set up entropy} 35 number generator. There is not enough entropy available to create secure 40 the entropy setup now! 50 message entropy_download_seed {Import a NetBSD entropy file} 97 * $0 = content of file NetBSD entropy seed file 103 * $0 = content of file NetBSD entropy seed file 106 {Since not enough entropy is available on this system, all crytographic 118 {NetBSD entropy seed file} 122 generator you can create an entropy snapshot like this: [all...] |
| msg.entropy.es | 1 /* $NetBSD: msg.entropy.es,v 1.5 2022/04/21 17:30:15 martin Exp $ */ 29 message Configure_entropy {Set up entropy} 35 number generator. There is not enough entropy available to create secure 40 the entropy setup now! 50 message entropy_download_seed {Import a NetBSD entropy file} 97 * $0 = content of file NetBSD entropy seed file 103 * $0 = content of file NetBSD entropy seed file 106 {Since not enough entropy is available on this system, all crytographic 118 {NetBSD entropy seed file} 122 generator you can create an entropy snapshot like this: [all...] |