Lines Matching refs:sig_len
95 uint32_t sig_len; /* Length of signature data (big endian) */ member
99 const struct module_signature *modsig, size_t sig_len, in fill_default() argument
102 size -= sig_len; in fill_default()
104 sig_info->sig_len = sig_len; in fill_default()
195 const struct module_signature *modsig, size_t sig_len, in fill_pkcs7() argument
217 size -= sig_len; in fill_pkcs7()
220 in = BIO_new_mem_buf(pkcs7_raw, sig_len); in fill_pkcs7()
249 sig_info->sig_len = ASN1_STRING_length(sig); in fill_pkcs7()
299 const struct module_signature *modsig, size_t sig_len, in fill_pkcs7() argument
327 size_t sig_len; in kmod_module_signature_info() local
345 sig_len = be32toh(get_unaligned(&modsig->sig_len)); in kmod_module_signature_info()
346 if (sig_len == 0 || in kmod_module_signature_info()
347 size < (int64_t)(modsig->signer_len + modsig->key_id_len + sig_len)) in kmod_module_signature_info()
352 return fill_pkcs7(mem, size, modsig, sig_len, sig_info); in kmod_module_signature_info()
354 return fill_default(mem, size, modsig, sig_len, sig_info); in kmod_module_signature_info()