Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Diteration_check.c16 static unsigned int seeds[3]; variable
81 if (rand_r(&seeds[0]) % 50 == 0) { in tagged_iteration_fn()
114 if (rand_r(&seeds[1]) % 50 == 0) { in untagged_iteration_fn()
141 pgoff = rand_r(&seeds[2]) % MAX_IDX; in remove_entries_fn()
176 seeds[i] = rand(); in iteration_test()
/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_hdmirx.c65 hdcp->seeds = kmalloc(HDCP_KEY_SEED_SIZE, GFP_KERNEL); in hdcp_load_keys_cb()
66 if (!hdcp->seeds) { in hdcp_load_keys_cb()
77 kfree(hdcp->seeds); in hdcp_load_keys_cb()
78 hdcp->seeds = NULL; in hdcp_load_keys_cb()
82 memcpy(hdcp->seeds, hdcp_vendor_data + HDCP_KEY_SIZE, in hdcp_load_keys_cb()
93 u32 seeds = 0; in rk628_hdmi_hdcp_load_key() local
135 if (hdcp->seeds) { in rk628_hdmi_hdcp_load_key()
136 seeds = (hdcp->seeds[0] & 0xff) << 8; in rk628_hdmi_hdcp_load_key()
137 seeds |= (hdcp->seeds[1] & 0xff); in rk628_hdmi_hdcp_load_key()
139 if (seeds) { in rk628_hdmi_hdcp_load_key()
[all …]
H A Drk628_hdmirx.h369 char *seeds; member
/OK3568_Linux_fs/kernel/lib/
H A Drandom32.c117 u32 seeds[4]; in prandom_seed_full_state() local
119 get_random_bytes(&seeds, sizeof(seeds)); in prandom_seed_full_state()
120 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state()
121 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
122 state->s3 = __seed(seeds[2], 16U); in prandom_seed_full_state()
123 state->s4 = __seed(seeds[3], 128U); in prandom_seed_full_state()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-hdcp.c275 hdcp->seeds = kmalloc(HDCP_KEY_SEED_SIZE, GFP_KERNEL); in hdcp_load_keys_cb()
276 if (!hdcp->seeds) { in hdcp_load_keys_cb()
285 memset(hdcp->seeds, 0, HDCP_KEY_SEED_SIZE); in hdcp_load_keys_cb()
288 memcpy(hdcp->seeds, hdcp_vendor_data + HDCP_KEY_SIZE, in hdcp_load_keys_cb()
337 if (hdcp->seeds) { in dw_hdmi_hdcp_load_key()
339 hdcp->write(hdmi, hdcp->seeds[0], HDMI_HDCPREG_SEED1); in dw_hdmi_hdcp_load_key()
340 hdcp->write(hdmi, hdcp->seeds[1], HDMI_HDCPREG_SEED0); in dw_hdmi_hdcp_load_key()
733 kfree(hdcp->seeds); in dw_hdmi_hdcp_remove()
H A Ddw-hdmi-hdcp.h34 char *seeds; member
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c687 const u16 *seeds = sunxi_nfc_randomizer_page_seeds; in sunxi_nfc_randomizer_state() local
695 seeds = sunxi_nfc_randomizer_ecc512_seeds; in sunxi_nfc_randomizer_state()
697 seeds = sunxi_nfc_randomizer_ecc1024_seeds; in sunxi_nfc_randomizer_state()
700 return seeds[page % mod]; in sunxi_nfc_randomizer_state()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dsunxi_nand.c596 const u16 *seeds = sunxi_nfc_randomizer_page_seeds; in sunxi_nfc_randomizer_state() local
604 seeds = sunxi_nfc_randomizer_ecc512_seeds; in sunxi_nfc_randomizer_state()
606 seeds = sunxi_nfc_randomizer_ecc1024_seeds; in sunxi_nfc_randomizer_state()
609 return seeds[page % mod]; in sunxi_nfc_randomizer_state()
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dethernet-driver.rst125 interface has a privately owned buffer pool which it seeds with kernel allocated
/OK3568_Linux_fs/yocto/poky/meta/files/common-licenses/
H A DCAL-1.0116 cryptographic seeds or keys, and any information reasonably necessary
191 cryptographic keys, seeds, hashes, by any other technological
H A DCAL-1.0-Combined-Work-Exception116 cryptographic seeds or keys, and any information reasonably necessary
191 cryptographic keys, seeds, hashes, by any other technological
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Ddw_hdmi.c156 u8 seeds[2]; member
1987 hdmi_writeb(hdmi, hdcp_keys->seeds[0], HDMI_HDCPREG_SEED1); in dw_hdmi_hdcp_load_key()
1988 hdmi_writeb(hdmi, hdcp_keys->seeds[1], HDMI_HDCPREG_SEED0); in dw_hdmi_hdcp_load_key()
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/freescale/
H A Ddpaa.rst139 in the dedicated interface buffer pool. The driver initializes and seeds these
/OK3568_Linux_fs/kernel/drivers/char/
H A DKconfig505 non-backdoored seeds.
/OK3568_Linux_fs/yocto/poky/documentation/overview-manual/
H A Dconcepts.rst256 directory sets up the Build Directory and seeds the directory (if
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/
H A Dlibc.info-133977 randomness source is a CRNG at heart, but it also continually “re-seeds
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/
H A Dlibc.info-133977 randomness source is a CRNG at heart, but it also continually “re-seeds