• Home
  • Raw
  • Download

Lines Matching refs:sig_info

100 			 struct kmod_signature_info *sig_info)  in fill_default()  argument
103 sig_info->sig = mem + size; in fill_default()
104 sig_info->sig_len = sig_len; in fill_default()
107 sig_info->key_id = mem + size; in fill_default()
108 sig_info->key_id_len = modsig->key_id_len; in fill_default()
111 sig_info->signer = mem + size; in fill_default()
112 sig_info->signer_len = modsig->signer_len; in fill_default()
114 sig_info->algo = pkey_algo[modsig->algo]; in fill_default()
115 sig_info->hash_algo = pkey_hash_algo[modsig->hash]; in fill_default()
116 sig_info->id_type = pkey_id_type[modsig->id_type]; in fill_default()
196 struct kmod_signature_info *sig_info) in fill_pkcs7() argument
248 sig_info->sig = (const char *)ASN1_STRING_get0_data(sig); in fill_pkcs7()
249 sig_info->sig_len = ASN1_STRING_length(sig); in fill_pkcs7()
261 sig_info->key_id = (const char *)key_id_str; in fill_pkcs7()
262 sig_info->key_id_len = len; in fill_pkcs7()
266 sig_info->signer = issuer_str; in fill_pkcs7()
267 sig_info->signer_len = strlen(issuer_str); in fill_pkcs7()
272 sig_info->hash_algo = pkey_hash_algo[obj_to_hash_algo(o)]; in fill_pkcs7()
273 sig_info->id_type = pkey_id_type[modsig->id_type]; in fill_pkcs7()
282 sig_info->private = pvt; in fill_pkcs7()
284 sig_info->free = pkcs7_free; in fill_pkcs7()
300 struct kmod_signature_info *sig_info) in fill_pkcs7() argument
302 sig_info->hash_algo = "unknown"; in fill_pkcs7()
303 sig_info->id_type = pkey_id_type[modsig->id_type]; in fill_pkcs7()
322 bool kmod_module_signature_info(const struct kmod_file *file, struct kmod_signature_info *sig_info) in kmod_module_signature_info() argument
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()
358 void kmod_module_signature_info_free(struct kmod_signature_info *sig_info) in kmod_module_signature_info_free() argument
360 if (sig_info->free) in kmod_module_signature_info_free()
361 sig_info->free(sig_info); in kmod_module_signature_info_free()