Lines Matching defs:keyring
23 * be loaded into a temporary keyring for the duration of the testing.
181 struct key *keyring;
186 keyring = keyring_alloc(".certs_selftest",
193 if (IS_ERR(keyring))
194 panic("Can't allocate certs selftest keyring: %ld\n",
195 PTR_ERR(keyring));
198 sizeof(certs_selftest_keys) - 1, keyring);
200 panic("Can't allocate certs selftest keyring: %d\n", ret);
216 ret = pkcs7_validate_trust(pkcs7, keyring);
223 key_put(keyring);