Home
last modified time | relevance | path

Searched refs:modlen (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dmodule_signing.c23 size_t sig_len, modlen = info->len; in mod_verify_sig() local
26 pr_devel("==>%s(,%zu)\n", __func__, modlen); in mod_verify_sig()
28 if (modlen <= sizeof(ms)) in mod_verify_sig()
31 memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms)); in mod_verify_sig()
33 ret = mod_check_sig(&ms, modlen, "module"); in mod_verify_sig()
38 modlen -= sig_len + sizeof(ms); in mod_verify_sig()
39 info->len = modlen; in mod_verify_sig()
41 return verify_pkcs7_signature(mod, modlen, mod + modlen, sig_len, in mod_verify_sig()