Home
last modified time | relevance | path

Searched refs:add_key (Results 1 – 25 of 41) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c91 TEST(add_key("user", "test2", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
107 TEST(add_key("user", "test_inv", buf, invalid_plen, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
118 TEST(add_key("user", "test3", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
123 TEST(add_key("user", "test4", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
130 TEST(add_key("user", "test_max", buf, plen, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
154 TEST(add_key("user", desc, user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_keys()
161 TEST(add_key("user", "test_invalid_key", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_keys()
192 TEST(add_key("user", "test1", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in do_test()
Dadd_key01.c74 TEST(add_key(tc->type, tc->desc, *tc->buf, tc->plen, KEY_SPEC_THREAD_KEYRING)); in verify_add_key()
96 TEST(add_key("logon", "test:sup_logon", buf, sizeof(buf), KEY_SPEC_THREAD_KEYRING)); in setup()
100 TEST(add_key("big_key", "sup_big_key", buf, sizeof(buf), KEY_SPEC_THREAD_KEYRING)); in setup()
Dadd_key04.c53 TEST(add_key("keyring", description, NULL, 0, in do_test()
61 TEST(add_key("user", "userkey", payload, sizeof(PAYLOAD), in do_test()
Dadd_key02.c48 TEST(add_key(tcases[i].type, in verify_add_key()
Dadd_key03.c27 TEST(add_key("keyring", description, NULL, 0, in create_keyring()
/third_party/json/tests/thirdparty/fifo_map/
Dfifo_map.hpp79 void add_key(const Key& key) in add_key() function in nlohmann::fifo_map_compare
171 m_compare.add_key(key); in operator []()
178 m_compare.add_key(key); in operator []()
297 m_compare.add_key(value.first); in insert()
305 m_compare.add_key(value.first); in insert()
312 m_compare.add_key(value.first); in insert()
319 m_compare.add_key(value.first); in insert()
329 m_compare.add_key(it->first); in insert()
340 m_compare.add_key(value.first); in insert()
351 m_compare.add_key(value.first); in emplace()
[all …]
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl09.c23 TST_EXP_POSITIVE(add_key("user", "user:masterkey", "foo", 3, in do_test()
29 TST_EXP_POSITIVE(add_key("encrypted", "ltptestkey1", in do_test()
42 TST_EXP_FAIL2(add_key("encrypted", "ltptestkey2", in do_test()
Dkeyctl02.c66 key = add_key("user", "ltptestkey", "foo", 3, in do_test()
99 key_inv = add_key("user", "ltptestkey", "foo", 3, in do_test()
Dkeyctl05.c92 TEST(add_key(type, "desc", payload, plen, KEY_SPEC_SESSION_KEYRING)); in test_update_nonupdatable()
159 TEST(add_key("user", "desc", payload, sizeof(payload), in test_update_setperm_race()
Dkeyctl03.c29 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING); in do_test()
Dkeyctl06.c26 TEST(add_key("user", description, "payload", 7, in add_test_key()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Ddata_structures.py47 def add_key(self, k): member in DictOfStringSets
53 self.add_key(k)
/third_party/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c90 TEST(add_key(type, "desc", payload, strlen(payload), in run_child_add()
145 TEST(add_key(tc->type, "desc", tc->payload, strlen(tc->payload), in do_test()
Drequest_key01.c44 key = add_key("keyring", "ltp", NULL, 0, KEY_SPEC_THREAD_KEYRING); in setup()
Drequest_key02.c66 n = add_key("keyring", name, NULL, 0, KEY_SPEC_THREAD_KEYRING); in init_key()
/third_party/ltp/pan/
Dsymbol.c137 static int add_key(SYM sym, char *key, void *data) in add_key() function
247 add_key(csym, *kk, (void *)(ncsym = newsym())); in sym_put()
250 add_key(csym, *kk, data); /* last key */ in sym_put()
/third_party/toybox/toys/posix/
Dsort.c162 static struct sort_key *add_key(void) in add_key() function
320 struct sort_key *key = add_key(); in sort_main()
369 if (!TT.key_list) add_key()->range[0] = 1; in sort_main()
/third_party/ltp/m4/
Dltp-keyutils.m47 AC_CHECK_LIB([keyutils], [add_key],
/third_party/ltp/testcases/cve/
Dcve-2016-7042.c33 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING); in do_test()
/third_party/ltp/include/lapi/
Dkeyctl.h23 static inline key_serial_t add_key(const char *type, in add_key() function
/third_party/ltp/testcases/kernel/watchqueue/
Dcommon.h84 key = add_key("user", "ltptestkey", "a", 1, KEY_SPEC_SESSION_KEYRING); in wqueue_add_key()
/third_party/f2fs-tools/tools/
Df2fscrypt.c155 static key_serial_t add_key(const char *type, const char *description, in add_key() function
647 rc = add_key(F2FS_KEY_TYPE_LOGON, key_ref_full, (void *)&key, in insert_key_into_keyring()
884 CMD(add_key),
/third_party/ltp/include/lapi/syscalls/
Daarch64.in219 add_key 217
Dloongarch.in219 add_key 217
Darc.in219 add_key 217

12