| /dragonfly/contrib/zstd/lib/decompress/ |
| HD | zstd_ddict.c | 40 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() 113 &ddict->entropy, ddict->dictContent, ddict->dictSize)), in ZSTD_loadEntropy_intoDDict() 137 …ddict->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endia… in ZSTD_initDDict_internal()
|
| HD | zstd_decompress.c | 1068 ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy, in ZSTD_loadDEntropy() argument 1078 …entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLTable) + sizeof(entropy->LLTable)); in ZSTD_loadDEntropy() 1079 …entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFTable) + sizeof(entropy->OFTable)); in ZSTD_loadDEntropy() 1080 …ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy() 1081 …{ void* const workspace = &entropy->LLTable; /* use fse tables as temporary workspace; implies… in ZSTD_loadDEntropy() 1082 …size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy-… in ZSTD_loadDEntropy() 1085 size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable, in ZSTD_loadDEntropy() 1089 size_t const hSize = HUF_readDTableX2_wksp(entropy->hufTable, in ZSTD_loadDEntropy() 1103 ZSTD_buildFSETable( entropy->OFTable, in ZSTD_loadDEntropy() 1107 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy() [all …]
|
| HD | zstd_decompress_internal.h | 108 ZSTD_entropyDTables_t entropy; member 179 size_t ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy,
|
| HD | zstd_decompress_block.c | 129 PREFETCH_AREA(dctx->HUFptr, sizeof(dctx->entropy.hufTable)); in ZSTD_decodeLiteralsBlock() 146 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock() 151 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock() 157 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock() 168 if (litEncType==set_compressed) dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decodeLiteralsBlock() 616 { size_t const llhSize = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr, in ZSTD_decodeSeqHeaders() 628 { size_t const ofhSize = ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr, in ZSTD_decodeSeqHeaders() 640 { size_t const mlhSize = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr, in ZSTD_decodeSeqHeaders() 1127 { U32 i; for (i=0; i<ZSTD_REP_NUM; i++) seqState.prevOffset[i] = dctx->entropy.rep[i]; } in ZSTD_decompressSequences_body() 1208 … { U32 i; for (i=0; i<ZSTD_REP_NUM; i++) dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); } in ZSTD_decompressSequences_body() [all …]
|
| /dragonfly/contrib/wpa_supplicant/src/crypto/ |
| HD | random.c | 62 static unsigned int entropy = 0; variable 137 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) { in random_add_randomness() 145 count, entropy); in random_add_randomness() 154 entropy++; in random_add_randomness() 166 (unsigned int) len, entropy); in random_get_bytes() 210 if (entropy < len) in random_get_bytes() 211 entropy = 0; in random_get_bytes() 213 entropy -= len; in random_get_bytes()
|
| /dragonfly/contrib/zstd/lib/compress/ |
| HD | zstd_compress_superblock.c | 536 static size_t ZSTD_compressSubBlock(const ZSTD_entropyCTables_t* entropy, in ZSTD_compressSubBlock() argument 553 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock() 560 { size_t cSeqSize = ZSTD_compressSubBlock_sequences(&entropy->fse, in ZSTD_compressSubBlock() 669 const ZSTD_entropyCTables_t* entropy, in ZSTD_estimateSubBlockSize() argument 675 … &entropy->huf, &entropyMetadata->hufMetadata, in ZSTD_estimateSubBlockSize() 678 … nbSeq, &entropy->fse, &entropyMetadata->fseMetadata, in ZSTD_estimateSubBlockSize() 757 &nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi() 763 const size_t cSize = ZSTD_compressSubBlock(&nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi() 797 … ZSTD_memcpy(&nextCBlock->entropy.huf, &prevCBlock->entropy.huf, sizeof(prevCBlock->entropy.huf)); in ZSTD_compressSubBlock_multi() 834 &zc->blockState.prevCBlock->entropy, in ZSTD_compressSuperBlock() [all …]
|
| HD | zstd_compress.c | 1478 bs->entropy.huf.repeatMode = HUF_repeat_none; in ZSTD_reset_compressedBlockState() 1479 bs->entropy.fse.offcode_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState() 1480 bs->entropy.fse.matchlength_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState() 1481 bs->entropy.fse.litlength_repeatMode = FSE_repeat_none; in ZSTD_reset_compressedBlockState() 2459 ms->opt.symbolCosts = &zc->blockState.prevCBlock->entropy; in ZSTD_buildSeqStore() 2692 &zc->blockState.prevCBlock->entropy, &zc->blockState.nextCBlock->entropy, in ZSTD_compressBlock_internal() 2726 if (zc->blockState.prevCBlock->entropy.fse.offcode_repeatMode == FSE_repeat_valid) in ZSTD_compressBlock_internal() 2727 zc->blockState.prevCBlock->entropy.fse.offcode_repeatMode = FSE_repeat_check; in ZSTD_compressBlock_internal() 2801 if (zc->blockState.prevCBlock->entropy.fse.offcode_repeatMode == FSE_repeat_valid) in ZSTD_compressBlock_targetCBlockSize() 2802 zc->blockState.prevCBlock->entropy.fse.offcode_repeatMode = FSE_repeat_check; in ZSTD_compressBlock_targetCBlockSize() [all …]
|
| HD | zstd_compress_internal.h | 139 ZSTD_entropyCTables_t entropy; member
|
| /dragonfly/crypto/libressl/include/openssl/ |
| HD | rand.h | 79 void (*add)(const void *buf, int num, double entropy); 96 void RAND_add(const void *buf, int num, double entropy);
|
| /dragonfly/sys/dev/crypto/tpm/ |
| HD | tpm20.c | 250 unsigned char entropy[TPM_HARVEST_SIZE]; in tpm20_harvest() local 279 memcpy(entropy, in tpm20_harvest() 286 add_buffer_randomness_src(entropy, entropy_size, RAND_SRC_TPM); in tpm20_harvest()
|
| /dragonfly/contrib/wpa_supplicant/src/eap_common/ |
| HD | eap_pax_common.c | 32 const u8 *entropy, size_t entropy_len, in eap_pax_kdf() argument 51 addr[1] = entropy; in eap_pax_kdf()
|
| HD | eap_pax_common.h | 82 const u8 *entropy, size_t entropy_len,
|
| /dragonfly/sys/kern/ |
| HD | subr_csprng.c | 263 const uint8_t *entropy, size_t bytes, int flags) in csprng_add_entropy() argument 280 SHA256_Update(&pool->hash_ctx, entropy, bytes); in csprng_add_entropy()
|
| /dragonfly/crypto/libressl/crypto/rand/ |
| HD | rand_lib.c | 66 RAND_add(const void *buf, int num, double entropy) in RAND_add() argument
|
| /dragonfly/sys/sys/ |
| HD | csprng.h | 50 const uint8_t *entropy, size_t bytes, int flags);
|
| /dragonfly/etc/rc.d/ |
| HD | random | 36 entropy_dir=${entropy_dir:-/var/db/entropy}
|
| /dragonfly/etc/mtree/ |
| HD | BSD.var.dist | 31 entropy uname=operator gname=operator mode=0700
|
| /dragonfly/contrib/expat/lib/ |
| HD | xmlparse.c | 128 # error You do not have support for any sources of high quality entropy \ 893 ENTROPY_DEBUG(const char *label, unsigned long entropy) { in ENTROPY_DEBUG() argument 896 (int)sizeof(entropy) * 2, entropy, (unsigned long)sizeof(entropy)); in ENTROPY_DEBUG() 898 return entropy; in ENTROPY_DEBUG() 903 unsigned long entropy; in generate_hash_secret_salt() local 908 arc4random_buf(&entropy, sizeof(entropy)); in generate_hash_secret_salt() 909 return ENTROPY_DEBUG("arc4random_buf", entropy); in generate_hash_secret_salt() 911 writeRandomBytes_arc4random((void *)&entropy, sizeof(entropy)); in generate_hash_secret_salt() 912 return ENTROPY_DEBUG("arc4random", entropy); in generate_hash_secret_salt() 916 if (writeRandomBytes_rand_s((void *)&entropy, sizeof(entropy))) { in generate_hash_secret_salt() [all …]
|
| /dragonfly/lib/libssh/ |
| HD | Makefile | 43 msg.c progressmeter.c dns.c entropy.c gss-genr.c umac.c umac128.c \
|
| /dragonfly/contrib/expat/ |
| HD | Changes | 786 #43 CMake: Auto-detect high quality entropy extractors, add new 817 #81 Pre-10.7/Lion macOS: Support entropy from arc4random 822 provider of high quality entropy 847 quality entropy enabled, e.g. with CMake build system; 852 in quality of used entropy when compiled with _UNICODE for 855 quality of entropy used during runtime; commits 913 [MOX-005] #30 Use high quality entropy for hash initialization: 920 [MOX-005] For the low quality entropy extraction fallback code, 955 for runtime debugging of entropy extraction 1014 #499 CVE-2016-5300 -- Use more entropy for hash initialization
|
| /dragonfly/etc/ |
| HD | Makefile | 153 .for f in usr/include/dev/misc/ppi usr/share/initrd/sbin var/db/entropy
|
| /dragonfly/sys/conf/ |
| HD | options | 673 # This options turns TPM into entropy source.
|
| /dragonfly/contrib/gcc-4.7/libstdc++-v3/include/tr1/ |
| D | random.h | 1523 entropy() const in _GLIBCXX_VISIBILITY()
|
| /dragonfly/contrib/gcc-8.0/libstdc++-v3/include/tr1/ |
| D | random.h | 1519 entropy() const in _GLIBCXX_VISIBILITY()
|
| /dragonfly/crypto/openssh/ |
| HD | configure.ac | 3351 [ --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT], 3373 … [ --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool)], 3385 … AC_MSG_ERROR([You must specify an absolute path to the entropy socket]) 3406 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 3434 …penSSH has no source of random numbers. Please configure OpenSSL with an entropy source or re-run …
|