Home
last modified time | relevance | path

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

/kernel/
Dmodule_signing.c45 unsigned long modlen) in mod_make_digest() argument
85 ret = crypto_shash_finup(desc, mod, modlen, pks->digest); in mod_make_digest()
193 size_t modlen = *_modlen, sig_len; in mod_verify_sig() local
196 pr_devel("==>%s(,%zu)\n", __func__, modlen); in mod_verify_sig()
198 if (modlen <= sizeof(ms)) in mod_verify_sig()
201 memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms)); in mod_verify_sig()
202 modlen -= sizeof(ms); in mod_verify_sig()
205 if (sig_len >= modlen) in mod_verify_sig()
207 modlen -= sig_len; in mod_verify_sig()
208 if ((size_t)ms.signer_len + ms.key_id_len >= modlen) in mod_verify_sig()
[all …]