Lines Matching +full:0 +full:ms
17 * @ms: Signature to check.
18 * @file_len: Size of the file to which @ms is appended.
21 int mod_check_sig(const struct module_signature *ms, size_t file_len, in mod_check_sig() argument
24 if (be32_to_cpu(ms->sig_len) >= file_len - sizeof(*ms)) in mod_check_sig()
27 if (ms->id_type != PKEY_ID_PKCS7) { in mod_check_sig()
33 if (ms->algo != 0 || in mod_check_sig()
34 ms->hash != 0 || in mod_check_sig()
35 ms->signer_len != 0 || in mod_check_sig()
36 ms->key_id_len != 0 || in mod_check_sig()
37 ms->__pad[0] != 0 || in mod_check_sig()
38 ms->__pad[1] != 0 || in mod_check_sig()
39 ms->__pad[2] != 0) { in mod_check_sig()
45 return 0; in mod_check_sig()