Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/misc/eeprom/
Dsunxi_sid.c109 u8 *entropy; in sunxi_sid_probe() local
133 entropy = kzalloc(sizeof(u8) * sid_data->keysize, GFP_KERNEL); in sunxi_sid_probe()
135 entropy[i] = sunxi_sid_read_byte(sid_data, i); in sunxi_sid_probe()
136 add_device_randomness(entropy, sid_data->keysize); in sunxi_sid_probe()
137 kfree(entropy); in sunxi_sid_probe()
/linux-4.1.27/lib/
Drandom32.c177 void prandom_seed(u32 entropy) in prandom_seed() argument
187 state->s1 = __seed(state->s1 ^ entropy, 2U); in prandom_seed()
221 u32 entropy; in __prandom_timer() local
224 get_random_bytes(&entropy, sizeof(entropy)); in __prandom_timer()
225 prandom_seed(entropy); in __prandom_timer()
/linux-4.1.27/arch/s390/crypto/
Dprng.c161 __u64 entropy[4]; in prng_tdes_add_entropy() local
167 (char *)entropy, (char *)entropy, in prng_tdes_add_entropy()
168 sizeof(entropy)); in prng_tdes_add_entropy()
169 BUG_ON(ret < 0 || ret != sizeof(entropy)); in prng_tdes_add_entropy()
170 memcpy(prng_data->prngws.parm_block, entropy, sizeof(entropy)); in prng_tdes_add_entropy()
/linux-4.1.27/crypto/
Dtestmgr.h96 unsigned char *entropy; member
20812 .entropy = (unsigned char *)
20846 .entropy = (unsigned char *)
20886 .entropy = (unsigned char *)
20923 .entropy = (unsigned char *)
20970 .entropy = (unsigned char *)
21004 .entropy = (unsigned char *)
21044 .entropy = (unsigned char *)
21081 .entropy = (unsigned char *)
21128 .entropy = (unsigned char *)
[all …]
Ddrbg.c1059 unsigned char *entropy = NULL; in drbg_seed() local
1091 entropy = kzalloc(entropylen, GFP_KERNEL); in drbg_seed()
1092 if (!entropy) in drbg_seed()
1094 get_random_bytes(entropy, entropylen); in drbg_seed()
1095 drbg_string_fill(&data1, entropy, entropylen); in drbg_seed()
1123 kzfree(entropy); in drbg_seed()
Dtestmgr.c1745 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
/linux-4.1.27/include/linux/
Dhw_random.h62 extern void add_hwgenerator_randomness(const char *buffer, size_t count, size_t entropy);
/linux-4.1.27/drivers/crypto/caam/
DKconfig110 the hw_random API for suppying the kernel entropy pool.
Dregs.h251 u32 entropy; /* RTSTENTROPYx - Test entropy */ member
/linux-4.1.27/Documentation/
Dhw_random.txt17 Those tools use /dev/hw_random to fill the kernel entropy pool,
/linux-4.1.27/tools/lguest/
Dlguest.txt120 to provide entropy to the guest kernel's /dev/random.
/linux-4.1.27/drivers/usb/misc/
DKconfig265 number generator which hooks into the kernel entropy pool to
266 ensure a large supply of entropy for /dev/random and
/linux-4.1.27/Documentation/block/
Dqueue-sysfs.txt14 This file allows to turn off the disk entropy contribution. Default
/linux-4.1.27/drivers/char/hw_random/
DKconfig369 attaches itself to the host's /dev/random, supplying as much entropy
377 /dev/hwrng and injects the entropy into /dev/random.
/linux-4.1.27/drivers/char/
Drandom.c1767 size_t entropy) in add_hwgenerator_randomness() argument
1778 credit_entropy_bits(poolp, entropy); in add_hwgenerator_randomness()
/linux-4.1.27/arch/x86/
DKconfig1863 minimum of 2MiB, only 10 bits of entropy is theoretically
1865 9 bits of entropy and 32-bit uses 8 bits.
/linux-4.1.27/
DCREDITS1162 E: entropy@world.std.com