Home
last modified time | relevance | path

Searched refs:genuine_random_bytes (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/test/
Dtest-random-util.c18 assert_se(genuine_random_bytes(buf, i, flags) == 0); in test_genuine_random_bytes_one()
26 TEST(genuine_random_bytes) { in TEST() argument
Dtest-alloc-util.c148 assert_se(genuine_random_bytes(p1, 4703, RANDOM_BLOCK) == 0); in TEST()
/systemd-251/src/basic/
Drandom-util.c38 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()
Drandom-util.h12 int genuine_random_bytes(void *p, size_t n, RandomFlags flags); /* returns "genuine" randomness, op…
Drecovery-key.c86 r = genuine_random_bytes(key, RECOVERY_KEY_MODHEX_RAW_LENGTH, RANDOM_BLOCK); in make_recovery_key()
/systemd-251/src/cryptenroll/
Dcryptenroll-pkcs11.c53 r = genuine_random_bytes(decrypted_key, decrypted_key_size, RANDOM_BLOCK); in enroll_pkcs11()
/systemd-251/src/shared/
Dlibcrypt-util.c79 r = genuine_random_bytes(raw, sizeof(raw), RANDOM_BLOCK); in make_salt()
Dcreds-util.c161 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()
Dlibfido2-util.c599 r = genuine_random_bytes(salt, FIDO2_SALT_SIZE, RANDOM_BLOCK); in fido2_generate_hmac_hash()
Dtpm2-util.c933 …r = genuine_random_bytes(hmac_sensitive.sensitive.data.buffer, hmac_sensitive.sensitive.data.size,… in tpm2_seal()
/systemd-251/src/home/
Dhomectl-pkcs11.c187 r = genuine_random_bytes(decrypted_key, decrypted_key_size, RANDOM_BLOCK); in identity_add_pkcs11_key_data()
Dhomework-fscrypt.c412 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()
Dhomework-luks.c952 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/
Dsd-id128.c279 r = genuine_random_bytes(&t, sizeof(t), 0); in sd_id128_randomize()
/systemd-251/src/boot/
Dbootctl.c1763 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/
Dlink-config.c626 r = genuine_random_bytes(p, len, 0); in link_generate_new_hw_addr()
/systemd-251/src/journal/
Djournalctl.c1912 r = genuine_random_bytes(seed, seed_size, RANDOM_BLOCK); in setup_keys()
/systemd-251/src/partition/
Drepart.c2597 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in partition_encrypt()