Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/arch/x86/mm/
Dkaslr.c119 unsigned long entropy; in kernel_randomize_memory() local
125 entropy = remain_entropy / (ARRAY_SIZE(kaslr_regions) - i); in kernel_randomize_memory()
128 entropy = (rand % (entropy + 1)) & P4D_MASK; in kernel_randomize_memory()
130 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
131 vaddr += entropy; in kernel_randomize_memory()
143 remain_entropy -= entropy; in kernel_randomize_memory()
/Linux-v4.19/lib/zstd/
Ddecompress.c82 ZSTD_entropyTables_t entropy; member
114 …dctx->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endian … in ZSTD_decompressBegin()
117 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
118 memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
119 dctx->LLTptr = dctx->entropy.LLTable; in ZSTD_decompressBegin()
120 dctx->MLTptr = dctx->entropy.MLTable; in ZSTD_decompressBegin()
121 dctx->OFTptr = dctx->entropy.OFTable; in ZSTD_decompressBegin()
122 dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decompressBegin()
487 …? HUF_decompress1X2_DCtx_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize, l… in ZSTD_decodeLiteralsBlock()
488 dctx->entropy.workspace, sizeof(dctx->entropy.workspace)) in ZSTD_decodeLiteralsBlock()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c74 u16 pkey, u16 entropy, u8 sc, u8 rc, in opa_vnic_make_header() argument
81 h[3] = entropy; in opa_vnic_make_header()
460 u8 entropy) in opa_vnic_get_def_port() argument
465 flow_id = ((entropy & 0xf) + (entropy >> 4)); in opa_vnic_get_def_port()
486 u8 def_port, sc, rc, entropy, *hdr; in opa_vnic_encap_skb() local
492 entropy = opa_vnic_calc_entropy(skb); in opa_vnic_encap_skb()
493 def_port = opa_vnic_get_def_port(adapter, entropy); in opa_vnic_encap_skb()
502 mdata->entropy = entropy; in opa_vnic_encap_skb()
510 info->vesw.pkey, entropy, sc, rc, in opa_vnic_encap_skb()
Dopa_vnic_netdev.c107 mdata->entropy = opa_vnic_calc_entropy(skb); in opa_vnic_select_queue()
/Linux-v4.19/lib/
Drandom32.c178 void prandom_seed(u32 entropy) in prandom_seed() argument
188 state->s1 = __seed(state->s1 ^ entropy, 2U); in prandom_seed()
222 u32 entropy; in __prandom_timer() local
225 get_random_bytes(&entropy, sizeof(entropy)); in __prandom_timer()
226 prandom_seed(entropy); in __prandom_timer()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dtrace_ibhdrs.h119 u16 *entropy, u16 *len, u16 *pkey,
125 u8 rc, u8 sc, u8 sl, u16 entropy,
169 __field(u16, entropy)
197 &__entry->entropy,
267 __entry->entropy,
328 __field(u16, entropy)
357 &__entry->entropy,
431 __entry->entropy,
Dtrace.c196 u16 *entropy, u16 *len, u16 *pkey, in hfi1_trace_parse_16b_hdr() argument
205 *entropy = hfi1_16B_get_entropy(hdr); in hfi1_trace_parse_16b_hdr()
219 u8 rc, u8 sc, u8 sl, u16 entropy, in hfi1_trace_fmt_lrh() argument
228 age, becn, fecn, l4, rc, sc, pkey, entropy); in hfi1_trace_fmt_lrh()
/Linux-v4.19/Documentation/devicetree/bindings/rng/
Dtimeriomem_rng.txt9 - quality : estimated number of bits of true entropy per 1024 bits read from the
13 entropy pool.
/Linux-v4.19/arch/s390/crypto/
Dprng.c166 __u64 entropy[4]; in prng_tdes_add_entropy() local
171 (char *) entropy, (char *) entropy, in prng_tdes_add_entropy()
172 sizeof(entropy)); in prng_tdes_add_entropy()
173 memcpy(prng_data->prngws.parm_block, entropy, sizeof(entropy)); in prng_tdes_add_entropy()
/Linux-v4.19/arch/mips/kernel/
Drelocate.c204 unsigned long entropy = random_get_entropy(); in get_random_boot() local
211 hash = rotate_xor(hash, &entropy, sizeof(entropy)); in get_random_boot()
/Linux-v4.19/scripts/gcc-plugins/
DKconfig53 bool "Generate some entropy during boot and runtime"
56 extract some entropy from both original and artificially created
58 there is little 'natural' source of entropy normally. The cost
62 Note that entropy extracted this way is not cryptographically
/Linux-v4.19/crypto/
Ddrbg.c1008 unsigned char entropy[32]; in drbg_async_seed() local
1011 BUG_ON(entropylen > sizeof(entropy)); in drbg_async_seed()
1012 get_random_bytes(entropy, entropylen); in drbg_async_seed()
1014 drbg_string_fill(&data, entropy, entropylen); in drbg_async_seed()
1035 memzero_explicit(entropy, entropylen); in drbg_async_seed()
1053 unsigned char entropy[((32 + 16) * 2)]; in drbg_seed() local
1081 BUG_ON((entropylen * 2) > sizeof(entropy)); in drbg_seed()
1084 get_random_bytes(entropy, entropylen); in drbg_seed()
1087 drbg_string_fill(&data1, entropy, entropylen); in drbg_seed()
1093 entropy + entropylen, in drbg_seed()
[all …]
Dtestmgr.h113 const unsigned char *entropy; member
26215 .entropy = (unsigned char *)
26249 .entropy = (unsigned char *)
26289 .entropy = (unsigned char *)
26326 .entropy = (unsigned char *)
26373 .entropy = (unsigned char *)
26407 .entropy = (unsigned char *)
26447 .entropy = (unsigned char *)
26484 .entropy = (unsigned char *)
26531 .entropy = (unsigned char *)
[all …]
/Linux-v4.19/include/linux/
Dhw_random.h63 extern void add_hwgenerator_randomness(const char *buffer, size_t count, size_t entropy);
/Linux-v4.19/drivers/media/platform/sti/hva/
Dhva-debugfs.c19 u32 bitrate_mode, aspect, entropy, vui_sar, sei_fp; in format_ctx() local
59 entropy = V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE; in format_ctx()
72 v4l2_ctrl_get_menu(entropy)[ctrls->entropy_mode], in format_ctx()
/Linux-v4.19/include/rdma/
Dopa_vnic.h98 u8 entropy; member
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
DKconfig189 randomness into Linux entropy pool (/dev/urandom and /dev/random)
191 Say Y, feeds the entropy directly from the WiFi driver to the input
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dvenc.c675 struct hfi_h264_entropy_control entropy; in venc_set_properties() local
688 entropy.entropy_mode = venc_v4l2_to_hfi( in venc_set_properties()
691 entropy.cabac_model = HFI_H264_CABAC_MODEL_0; in venc_set_properties()
693 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
/Linux-v4.19/drivers/char/hw_random/
DKconfig17 kernel's random number generator entropy pool.
434 attaches itself to the host's /dev/random, supplying as much entropy
442 /dev/hwrng and injects the entropy into /dev/random.
/Linux-v4.19/Documentation/
Dhw_random.txt22 Those tools use /dev/hwrng to fill the kernel entropy pool,
/Linux-v4.19/drivers/crypto/caam/
DKconfig140 the hw_random API for suppying the kernel entropy pool.
Dregs.h359 u32 entropy; /* RTSTENTROPYx - Test entropy */ member
/Linux-v4.19/Documentation/devicetree/bindings/
Dchosen.txt15 entropy used to randomize the kernel image base address location. Since
/Linux-v4.19/drivers/usb/misc/
DKconfig272 kernel entropy pool to ensure a large supply of entropy for
/Linux-v4.19/Documentation/block/
Dqueue-sysfs.txt14 This file allows to turn off the disk entropy contribution. Default

12