Searched refs:random_get_pseudo_bytes (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | random.h | 37 extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len); 49 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r)); in random_in_range()
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | random.h | 45 random_get_pseudo_bytes(uint8_t *p, size_t s) in random_get_pseudo_bytes() function 64 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r)); in random_in_range()
|
| /freebsd-13.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | random.h | 35 #define random_get_pseudo_bytes(p, s) arc4rand((p), (int)(s), 0) macro
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | unique.c | 86 (void) random_get_pseudo_bytes((void*)&un->un_value, in unique_insert()
|
| H A D | spa_misc.c | 1503 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid() 1508 (void) random_get_pseudo_bytes((void *)&guid, in spa_generate_guid()
|
| H A D | zil.c | 208 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_0], in zil_init_log_chain() 210 (void) random_get_pseudo_bytes((void *)&zc->zc_word[ZIL_ZC_GUID_1], in zil_init_log_chain()
|
| H A D | dsl_dataset.c | 1155 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_create_sync_dd() 1724 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_snapshot_sync_impl()
|
| H A D | spa.c | 4086 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes, 5979 (void) random_get_pseudo_bytes(spa->spa_cksum_salt.zcs_bytes,
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-generic.c | 138 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function 172 EXPORT_SYMBOL(random_get_pseudo_bytes);
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 641 extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len); 653 (void) random_get_pseudo_bytes((uint8_t *)&r, sizeof (r));
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 456 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); in zio_crypt_key_wrap() 629 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 742 random_get_pseudo_bytes(uint8_t *ptr, size_t len) in random_get_pseudo_bytes() function
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 494 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); in zio_crypt_key_wrap() 659 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv()
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 7916 VERIFY0(random_get_pseudo_bytes(lbuf2, lsize)); in zdb_decompress_block()
|