Searched refs:memcmp_nn (Results 1 – 13 of 13) sorted by relevance
/systemd-251/src/cryptenroll/ |
D | cryptenroll-tpm2.c | 56 if (memcmp_nn(hash, hash_size, thash, thash_size) == 0) in search_policy_hash() 181 if (memcmp_nn(secret, secret_size, secret2, secret2_size) != 0) in enroll_tpm2()
|
/systemd-251/src/test/ |
D | test-user-util.c | 417 assert_se(memcmp_nn(res1, nresult, result1, ELEMENTSOF(result1)) == 0); in TEST() 421 assert_se(memcmp_nn(res2, nresult, l2, ELEMENTSOF(l2)) == 0); in TEST() 425 assert_se(memcmp_nn(l1, ELEMENTSOF(l1), res3, nresult) == 0); in TEST() 429 assert_se(memcmp_nn(result2, ELEMENTSOF(result2), res4, nresult) == 0); in TEST()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-cache.c | 40 if (item && memcmp_nn(item->data, item->size, data, size) == 0) in web_cache_add_item()
|
/systemd-251/src/basic/ |
D | memory-util.h | 44 static inline int memcmp_nn(const void *s1, size_t n1, const void *s2, size_t n2) { in memcmp_nn() function
|
D | efivars.c | 176 return a == attr && memcmp_nn(buf, n, value, size) == 0; in efi_verify_variable()
|
D | virt.c | 82 if (memcmp_nn(sig.text, sizeof(sig.text), in detect_vm_cpuid()
|
D | unit-name.c | 904 return memcmp_nn(a, p - a, b, q - b) == 0; in unit_name_prefix_equal()
|
/systemd-251/src/libsystemd-network/ |
D | lldp-neighbor.c | 27 return memcmp_nn(x->chassis_id, x->chassis_id_size, y->chassis_id, y->chassis_id_size) in lldp_neighbor_id_compare_func() 28 ?: memcmp_nn(x->port_id, x->port_id_size, y->port_id, y->port_id_size); in lldp_neighbor_id_compare_func()
|
D | test-dhcp6-client.c | 766 assert_se(memcmp_nn(id, len, client_id, sizeof(client_id)) == 0); in test_lease_common() 802 assert_se(memcmp_nn(id, len, server_id, sizeof(server_id)) == 0); in test_lease_managed()
|
D | sd-dhcp6-lease.c | 624 if (memcmp_nn(clientid, clientid_len, &client->duid, client->duid_len) != 0) in dhcp6_lease_parse_message()
|
/systemd-251/src/shared/ |
D | tpm2-util.c | 1112 …memcmp_nn(policy_digest->buffer, policy_digest->size, known_policy_hash, known_policy_hash_size) !… in tpm2_unseal()
|
D | dissect-image.c | 2513 memcmp_nn(verity->root_hash, verity->root_hash_size, root_hash, root_hash_size) != 0) { in dissected_image_load_verity_sig_partition()
|
/systemd-251/src/core/ |
D | load-fragment.c | 172 if (memcmp_nn(p, q - p, "%i", strlen("%i")) == 0) in contains_instance_specifier_superset()
|