Home
last modified time | relevance | path

Searched refs:sig_size (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c38 FLCNFW_DBG(fw, "patching sigs:%d size:%d", fw->sig_nr, fw->sig_size); in nvkm_falcon_fw_patch()
45 src = idx * fw->sig_size; in nvkm_falcon_fw_patch()
47 len = fw->sig_size / 4; in nvkm_falcon_fw_patch()
168 nvkm_falcon_fw_sign(struct nvkm_falcon_fw *fw, u32 sig_base_img, u32 sig_size, const u8 *sigs, in nvkm_falcon_fw_sign() argument
174 fw->sig_size = sig_size; in nvkm_falcon_fw_sign()
177 fw->sigs = kmalloc_array(fw->sig_nr, fw->sig_size, GFP_KERNEL); in nvkm_falcon_fw_sign()
181 memcpy(fw->sigs, sigs + sig_base_prd, sig_nr_prd * fw->sig_size); in nvkm_falcon_fw_sign()
183 memcpy(fw->sigs + sig_size, sigs + sig_base_dbg, sig_nr_dbg * fw->sig_size); in nvkm_falcon_fw_sign()
/linux-6.6.21/fs/verity/
Dopen.c165 __le32 sig_size = desc->sig_size; in compute_file_digest() local
168 desc->sig_size = 0; in compute_file_digest()
170 desc->sig_size = sig_size; in compute_file_digest()
212 le32_to_cpu(desc->sig_size)); in fsverity_create_info()
313 if (le32_to_cpu(desc->sig_size) > desc_size - sizeof(*desc)) { in validate_fsverity_descriptor()
Dsignature.c49 const u8 *signature, size_t sig_size) in fsverity_verify_signature() argument
56 if (sig_size == 0) { in fsverity_verify_signature()
90 signature, sig_size, fsverity_keyring, in fsverity_verify_signature()
Denable.c190 size_t desc_size = struct_size(desc, signature, arg->sig_size); in enable_verity()
212 if (arg->sig_size && in enable_verity()
214 arg->sig_size)) { in enable_verity()
218 desc->sig_size = cpu_to_le32(arg->sig_size); in enable_verity()
340 if (arg.sig_size > FS_VERITY_MAX_SIGNATURE_SIZE) in fsverity_ioctl_enable()
Dread_metadata.c110 desc->sig_size = 0; in fsverity_read_descriptor()
128 if (desc->sig_size == 0) { in fsverity_read_signature()
138 le32_to_cpu(desc->sig_size)); in fsverity_read_signature()
Dfsverity_private.h128 const u8 *signature, size_t sig_size);
134 const u8 *signature, size_t sig_size) in fsverity_verify_signature() argument
/linux-6.6.21/drivers/md/
Ddm-verity-verify-sig.c56 sig_opts->sig_size = ukp->datalen; in verity_verify_get_sig_from_key()
58 memcpy(sig_opts->sig, ukp->data, sig_opts->sig_size); in verity_verify_get_sig_from_key()
137 sig_opts->sig_size = 0; in verity_verify_sig_opts_cleanup()
Ddm-verity-verify-sig.h15 unsigned int sig_size; member
Ddm-verity-target.c1405 verify_args.sig_size); in verity_ctr()
/linux-6.6.21/drivers/nfc/s3fwrn5/
Dfirmware.c111 const void *sig_data, u16 sig_size) in s3fwrn5_fw_enter_update_mode() argument
121 args.signature_size = sig_size; in s3fwrn5_fw_enter_update_mode()
164 sig_data, sig_size); in s3fwrn5_fw_enter_update_mode()
308 memcpy(&fw->sig_size, fw->fw->data + 0x18, 4); in s3fwrn5_fw_request_firmware()
382 fw_info->sig_size = s3fwrn5_fw_is_custom(&bootinfo) ? in s3fwrn5_fw_setup()
383 fw_info->fw.custom_sig_size : fw_info->fw.sig_size; in s3fwrn5_fw_setup()
441 SHA1_DIGEST_SIZE, fw_info->sig, fw_info->sig_size); in s3fwrn5_fw_download()
Dfirmware.h70 u32 sig_size; member
83 u32 sig_size; member
/linux-6.6.21/include/uapi/linux/
Dfsverity.h25 __u32 sig_size; member
53 __le32 sig_size; member
/linux-6.6.21/crypto/
Drsa-pkcs1pad.c439 const unsigned int sig_size = req->src_len; in pkcs1pad_verify_complete() local
494 sg_nents_for_len(req->src, sig_size + digest_size), in pkcs1pad_verify_complete()
496 digest_size, sig_size); in pkcs1pad_verify_complete()
533 const unsigned int sig_size = req->src_len; in pkcs1pad_verify() local
538 !ctx->key_size || sig_size != ctx->key_size) in pkcs1pad_verify()
554 req_ctx->out_sg, sig_size, ctx->key_size); in pkcs1pad_verify()
/linux-6.6.21/scripts/
Dsign-file.c226 unsigned long module_size, sig_size; in main() local
394 sig_size = BIO_number_written(bd) - module_size; in main()
395 sig_info.sig_len = htonl(sig_size); in main()
/linux-6.6.21/drivers/media/rc/
Dredrat3.c166 __be16 sig_size; member
343 unsigned int i, sig_size, offset, val; in redrat3_process_ir_data() local
360 sig_size = be16_to_cpu(rr3->irdata.sig_size); in redrat3_process_ir_data()
361 for (i = 0; i < sig_size; i++) { in redrat3_process_ir_data()
824 irdata->sig_size = cpu_to_be16(count + RR3_TX_TRAILER_LEN); in redrat3_transmit_ir()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/
Dfalcon.h101 u32 sig_size; member
140 int nvkm_falcon_fw_sign(struct nvkm_falcon_fw *, u32 sig_base_img, u32 sig_size, const u8 *sigs,
/linux-6.6.21/security/integrity/
Ddigsig_asymmetric.c96 if (siglen != be16_to_cpu(hdr->sig_size)) in asymmetric_verify()
Dintegrity.h140 __be16 sig_size; /* signature size */ member
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dga102.c103 .sig_size = lsfw->sig_size, in ga102_acr_wpr_build_lsb()
Dlsfw.c237 lsfw->sig_size = hshdr->sig_prod_size / cnt; in nvkm_acr_lsfw_load_sig_image_desc_v2()
240 lsfw->sig_nr * lsfw->sig_size, GFP_KERNEL); in nvkm_acr_lsfw_load_sig_image_desc_v2()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dacr.h103 u32 sig_size; member
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvfw/
Dacr.h117 u32 sig_size; member
/linux-6.6.21/arch/x86/um/
Dsignal.c459 int sig_size = (_NSIG_WORDS - 1) * sizeof(unsigned long); in sys_sigreturn() local
462 copy_from_user(&set.sig[1], frame->extramask, sig_size)) in sys_sigreturn()
/linux-6.6.21/drivers/net/wireless/legacy/
Dwl3501_cs.c369 static int wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size) in wl3501_esbq_exec() argument
374 u16 ptr = wl3501_get_tx_buffer(this, sig_size); in wl3501_esbq_exec()
376 wl3501_set_to_wla(this, ptr, sig, sig_size); in wl3501_esbq_exec()
/linux-6.6.21/Documentation/filesystems/
Dfsverity.rst108 __u32 sig_size;
132 - ``sig_size`` is the size of the builtin signature in bytes, or 0 if no

12