Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_ima.c43 static u64 ima_hash_from_bpf[MAX_SAMPLES]; variable
51 ima_hash_from_bpf[ima_hash_from_bpf_idx++] = *((u64 *)data); in process_sample()
110 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima()
125 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima()
126 ASSERT_NEQ(ima_hash_from_bpf[1], 0, "ima_hash"); in test_test_ima()
127 bin_true_sample = ima_hash_from_bpf[1]; in test_test_ima()
157 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima()
158 ASSERT_EQ(ima_hash_from_bpf[0], bin_true_sample, in test_test_ima()
163 ASSERT_NEQ(ima_hash_from_bpf[fresh_digest_idx], 0, "ima_hash"); in test_test_ima()
165 ASSERT_NEQ(ima_hash_from_bpf[fresh_digest_idx], bin_true_sample, in test_test_ima()
[all …]