Searched refs:genuine_random_bytes (Results 1 – 18 of 18) sorted by relevance
/systemd-251/src/test/ |
D | test-random-util.c | 18 assert_se(genuine_random_bytes(buf, i, flags) == 0); in test_genuine_random_bytes_one() 26 TEST(genuine_random_bytes) { in TEST() argument
|
D | test-alloc-util.c | 148 assert_se(genuine_random_bytes(p1, 4703, RANDOM_BLOCK) == 0); in TEST()
|
/systemd-251/src/basic/ |
D | random-util.c | 38 int genuine_random_bytes(void *p, size_t n, RandomFlags flags) { in genuine_random_bytes() function 205 if (genuine_random_bytes(p, n, 0) >= 0) in random_bytes()
|
D | random-util.h | 12 int genuine_random_bytes(void *p, size_t n, RandomFlags flags); /* returns "genuine" randomness, op…
|
D | recovery-key.c | 86 r = genuine_random_bytes(key, RECOVERY_KEY_MODHEX_RAW_LENGTH, RANDOM_BLOCK); in make_recovery_key()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-pkcs11.c | 53 r = genuine_random_bytes(decrypted_key, decrypted_key_size, RANDOM_BLOCK); in enroll_pkcs11()
|
/systemd-251/src/shared/ |
D | libcrypt-util.c | 79 r = genuine_random_bytes(raw, sizeof(raw), RANDOM_BLOCK); in make_salt()
|
D | creds-util.c | 161 r = genuine_random_bytes(buf.data, sizeof(buf.data), RANDOM_BLOCK); in make_credential_host_secret() 645 r = genuine_random_bytes(iv, ivsz, RANDOM_BLOCK); in encrypt_credential_and_warn()
|
D | libfido2-util.c | 599 r = genuine_random_bytes(salt, FIDO2_SALT_SIZE, RANDOM_BLOCK); in fido2_generate_hmac_hash()
|
D | tpm2-util.c | 933 …r = genuine_random_bytes(hmac_sensitive.sensitive.data.buffer, hmac_sensitive.sensitive.data.size,… in tpm2_seal()
|
/systemd-251/src/home/ |
D | homectl-pkcs11.c | 187 r = genuine_random_bytes(decrypted_key, decrypted_key_size, RANDOM_BLOCK); in identity_add_pkcs11_key_data()
|
D | homework-fscrypt.c | 412 r = genuine_random_bytes(salt, sizeof(salt), RANDOM_BLOCK); in fscrypt_slot_set() 543 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in home_create_fscrypt()
|
D | homework-luks.c | 952 r = genuine_random_bytes(iv, iv_size, RANDOM_BLOCK); in format_luks_token_text() 1741 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in luks_format()
|
/systemd-251/src/libsystemd/sd-id128/ |
D | sd-id128.c | 279 r = genuine_random_bytes(&t, sizeof(t), 0); in sd_id128_randomize()
|
/systemd-251/src/boot/ |
D | bootctl.c | 1763 r = genuine_random_bytes(buffer, sz, RANDOM_BLOCK); in install_random_seed() 1850 r = genuine_random_bytes(buffer, sz, RANDOM_BLOCK); in install_random_seed()
|
/systemd-251/src/udev/net/ |
D | link-config.c | 626 r = genuine_random_bytes(p, len, 0); in link_generate_new_hw_addr()
|
/systemd-251/src/journal/ |
D | journalctl.c | 1912 r = genuine_random_bytes(seed, seed_size, RANDOM_BLOCK); in setup_keys()
|
/systemd-251/src/partition/ |
D | repart.c | 2597 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in partition_encrypt()
|