Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/verity/
Dsignature.c46 const u32 sig_size = le32_to_cpu(desc->sig_size); in fsverity_verify_signature() local
50 if (sig_size == 0) { in fsverity_verify_signature()
59 if (sig_size > desc_size - sizeof(*desc)) { in fsverity_verify_signature()
73 desc->signature, sig_size, in fsverity_verify_signature()
Denable.c205 size_t desc_size = sizeof(*desc) + arg->sig_size; in enable_verity()
227 if (arg->sig_size && in enable_verity()
229 arg->sig_size)) { in enable_verity()
233 desc->sig_size = cpu_to_le32(arg->sig_size); in enable_verity()
290 if (arg->sig_size) in enable_verity()
292 arg->sig_size); in enable_verity()
362 if (arg.sig_size > FS_VERITY_MAX_SIGNATURE_SIZE) in fsverity_ioctl_enable()
Dopen.c134 __le32 sig_size = desc->sig_size; in compute_file_measurement() local
137 desc->sig_size = 0; in compute_file_measurement()
139 desc->sig_size = sig_size; in compute_file_measurement()
Dfsverity_private.h89 __le32 sig_size; /* size of signature in bytes; 0 if none */ member
/kernel/linux/linux-5.10/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()
132 sig_opts->sig_size = 0; in verity_verify_sig_opts_cleanup()
Ddm-verity-verify-sig.h15 unsigned int sig_size; member
Ddm-verity-target.c1179 verify_args.sig_size); in verity_ctr()
/kernel/linux/linux-5.10/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()
392 fw_info->sig_size = s3fwrn5_fw_is_custom(&bootinfo) ? in s3fwrn5_fw_setup()
393 fw_info->fw.custom_sig_size : fw_info->fw.sig_size; in s3fwrn5_fw_setup()
454 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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/uapi/linux/
Dfsverity.h25 __u32 sig_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfsverity.h31 __u32 sig_size; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/security/integrity/
Ddigsig_asymmetric.c95 if (siglen != be16_to_cpu(hdr->sig_size)) in asymmetric_verify()
Dintegrity.h121 __be16 sig_size; /* signature size */ member
/kernel/linux/linux-5.10/arch/x86/um/
Dsignal.c458 int sig_size = (_NSIG_WORDS - 1) * sizeof(unsigned long); in sys_sigreturn() local
461 copy_from_user(&set.sig[1], frame->extramask, sig_size)) in sys_sigreturn()
/kernel/linux/linux-5.10/drivers/net/wireless/
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()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dfsverity.rst96 __u32 sig_size;
120 - ``sig_size`` is the size of the signature in bytes, or 0 if no
337 __le32 sig_size; /* must be 0 */
344 Note that the ``sig_size`` field must be set to 0 for the purpose of