Lines Matching defs: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,
24 if (be32_to_cpu(ms->sig_len) >= file_len - sizeof(*ms))
27 if (ms->id_type != PKEY_ID_PKCS7) {
33 if (ms->algo != 0 ||
34 ms->hash != 0 ||
35 ms->signer_len != 0 ||
36 ms->key_id_len != 0 ||
37 ms->__pad[0] != 0 ||
38 ms->__pad[1] != 0 ||
39 ms->__pad[2] != 0) {