Searched refs:test_key (Results 1 – 3 of 3) sorted by relevance
| /linux/lib/ |
| H A D | test_static_keys.c | 35 struct test_key { struct 38 bool (*test_key)(void); argument 55 static void invert_keys(struct test_key *keys, int size) in invert_keys() 68 static int verify_keys(struct test_key *keys, int size, bool invert) in verify_keys() 78 ret = keys[i].test_key(); in verify_keys() 114 struct test_key static_key_tests[] = { in test_key_func() 119 .test_key = &old_true_key_static_key_true, in test_key_func() 124 .test_key = &old_false_key_static_key_false, in test_key_func() 130 .test_key = &true_key_static_branch_likely, in test_key_func() 135 .test_key = &true_key_static_branch_unlikely, in test_key_func() [all …]
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | key-management.c | 404 struct test_key { struct 423 struct test_key *keys; argument 443 struct test_key *key = &collection.keys[index]; in init_key_in_collection() 499 static void test_key_error(const char *msg, struct test_key *key) in test_key_error() 579 struct test_key *key = &collection.keys[i]; in key_collection_socket() 625 struct test_key *key = &collection.keys[i]; in verify_counters() 686 struct test_key *key = &collection.keys[i]; in verify_keys() 956 struct test_key *key; in try_unmatched_keys()
|
| /linux/fs/crypto/ |
| H A D | keyring.c | 800 static u8 test_key[FSCRYPT_MAX_RAW_KEY_SIZE]; in fscrypt_get_test_dummy_secret() local 802 get_random_once(test_key, sizeof(test_key)); in fscrypt_get_test_dummy_secret() 805 secret->size = sizeof(test_key); in fscrypt_get_test_dummy_secret() 806 memcpy(secret->bytes, test_key, sizeof(test_key)); in fscrypt_get_test_dummy_secret()
|