Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c86 TEST(add_key("user", "test2", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
102 TEST(add_key("user", "test_inv", buf, invalid_plen, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
113 TEST(add_key("user", "test3", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
118 TEST(add_key("user", "test4", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
125 TEST(add_key("user", "test_max", buf, plen, KEY_SPEC_THREAD_KEYRING)); in verify_max_bytes()
149 TEST(add_key("user", desc, user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_keys()
156 TEST(add_key("user", "test_invalid_key", user_buf, 64, KEY_SPEC_THREAD_KEYRING)); in verify_max_keys()
187 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/test/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/e2fsprogs/tests/f_bad_encryption/
Dmkimage.sh82 echo password | e4crypt add_key $dir
151 echo password | e4crypt add_key $dir2
161 echo password | e4crypt add_key $dir3
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl02.c66 key = add_key("user", "ltptestkey", "foo", 3, in do_test()
94 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/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c55 TEST(add_key(type, "desc", payload, strlen(payload), in test_with_key_type()
92 TEST(add_key(type, "desc", payload, strlen(payload), in test_with_key_type()
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/grpc/src/core/lib/avl/
Davl.cc205 static grpc_avl_node* add_key(const grpc_avl_vtable* vtable, in add_key() function
218 add_key(vtable, node->left, key, value, user_data), in add_key()
224 add_key(vtable, node->right, key, value, user_data), user_data); in add_key()
230 avl.root = add_key(avl.vtable, avl.root, key, value, user_data); in grpc_avl_add()
/third_party/toybox/toys/posix/
Dsort.c163 static struct sort_key *add_key(void) in add_key() function
321 struct sort_key *key = add_key(); in sort_main()
370 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/mindspore/mindspore/ccsrc/fl/armour/cipher/
Dcipher_meta_storage.cc183 keys.add_key()->assign(cur_public_key[0].begin(), cur_public_key[0].end()); in UpdateClientKeyToServer()
184 keys.add_key()->assign(cur_public_key[1].begin(), cur_public_key[1].end()); in UpdateClientKeyToServer()
246 keys.add_key()->assign(cur_public_key[0].begin(), cur_public_key[0].end()); in UpdateClientKeyToServer()
247 keys.add_key()->assign(cur_public_key[1].begin(), cur_public_key[1].end()); in UpdateClientKeyToServer()
/third_party/ltp/include/lapi/
Dkeyctl.h23 static inline key_serial_t add_key(const char *type, in add_key() function
/third_party/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh97 echo | e4crypt add_key $dir
/third_party/e2fsprogs/misc/
De4crypt.c97 static key_serial_t add_key(const char *type, const char *description, in add_key() function
598 rc = add_key(EXT2FS_KEY_TYPE_LOGON, key_ref_full, (void *)&key, in insert_key_into_keyring()
839 CMD(add_key),
/third_party/f2fs-tools/tools/
Df2fscrypt.c146 static key_serial_t add_key(const char *type, const char *description, in add_key() function
634 rc = add_key(F2FS_KEY_TYPE_LOGON, key_ref_full, (void *)&key, in insert_key_into_keyring()
870 CMD(add_key),
/third_party/ltp/include/lapi/syscalls/
Daarch64.in219 add_key 217

12