Home | History | Annotate | Download | only in add_key

Lines Matching defs:type

25  * before (depending on the key type).  This is a regression test for commit
30 * can, in the hope of catching one. We also test with the "user" key type for
43 const char *type;
47 * The payload length we test for each key type needs to pass initial
48 * validation but is otherwise arbitrary. Note: the "rxrpc_s" key type
63 TEST(add_key(tcases[i].type,
68 "add_key() with key type '%s' unexpectedly succeeded",
69 tcases[i].type);
74 tst_res(TPASS, "received expected EFAULT with key type '%s'",
75 tcases[i].type);
80 tst_res(TCONF, "kernel doesn't support key type '%s'",
81 tcases[i].type);
86 * It's possible for the "asymmetric" key type to be supported, but with
88 * add a key of type asymmetric will fail with EBADMSG.
90 if (TEST_ERRNO == EBADMSG && !strcmp(tcases[i].type, "asymmetric")) {
95 tst_res(TFAIL | TTERRNO, "unexpected error with key type '%s'",
96 tcases[i].type);