Lines Matching refs:trusted_keys
313 struct key *trusted_keys, in verify_pkcs7_message_sig() argument
339 if (!trusted_keys) { in verify_pkcs7_message_sig()
340 trusted_keys = builtin_trusted_keys; in verify_pkcs7_message_sig()
341 } else if (trusted_keys == VERIFY_USE_SECONDARY_KEYRING) { in verify_pkcs7_message_sig()
343 trusted_keys = secondary_trusted_keys; in verify_pkcs7_message_sig()
345 trusted_keys = builtin_trusted_keys; in verify_pkcs7_message_sig()
347 } else if (trusted_keys == VERIFY_USE_PLATFORM_KEYRING) { in verify_pkcs7_message_sig()
349 trusted_keys = platform_trusted_keys; in verify_pkcs7_message_sig()
351 trusted_keys = NULL; in verify_pkcs7_message_sig()
353 if (!trusted_keys) { in verify_pkcs7_message_sig()
359 ret = pkcs7_validate_trust(pkcs7, trusted_keys); in verify_pkcs7_message_sig()
398 struct key *trusted_keys, in verify_pkcs7_signature() argument
412 ret = verify_pkcs7_message_sig(data, len, pkcs7, trusted_keys, usage, in verify_pkcs7_signature()