Home
last modified time | relevance | path

Searched refs:signature (Results 1 - 25 of 700) sorted by relevance

12345678910>>...28

/kernel/linux/linux-6.6/tools/crypto/ccp/
H A Ddbc.c21 int get_nonce(int fd, void *nonce_out, void *signature) in get_nonce() argument
24 .auth_needed = !!signature, in get_nonce()
29 if (signature) in get_nonce()
30 memcpy(tmp.signature, signature, sizeof(tmp.signature)); in get_nonce()
39 int set_uid(int fd, __u8 *uid, __u8 *signature) in set_uid() argument
44 assert(signature); in set_uid()
47 memcpy(tmp.signature, signature, sizeo in set_uid()
54 process_param(int fd, int msg_index, __u8 *signature, int *data) process_param() argument
[all...]
H A Dtest_dbc.py36 self.signature = b"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
142 get_nonce(self.d, self.signature)
148 set_uid(self.d, self.uid, self.signature)
154 process_param(self.d, PARAM_GET_SOC_PWR_CUR, self.signature)
160 process_param(self.d, PARAM_SET_PWR_CAP, self.signature, 1000)
173 set_uid(self.d, self.uid, self.signature)
177 get_nonce(self.d, self.signature)
193 soc_power_max = process_param(self.d, PARAM_GET_SOC_PWR_MAX, self.signature)
194 soc_power_min = process_param(self.d, PARAM_GET_SOC_PWR_MIN, self.signature)
198 fmax_max = process_param(self.d, PARAM_GET_FMAX_MAX, self.signature)
[all...]
H A Ddbc.py33 def get_nonce(device, signature):
37 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature)
43 def set_uid(device, new_uid, signature):
44 if not signature:
48 ret = lib.set_uid(device.fileno(), new_uid, signature)
54 def process_param(device, message, signature, data=None):
55 if not signature:
60 sig = ctypes.create_string_buffer(signature, len(signature))
H A Ddbc_cli.py50 parser.add_argument("--signature", help="File containing signature for command")
71 if args.signature:
72 if not os.path.exists(args.signature):
73 raise ValueError("Invalid signature file %s" % args.signature)
74 with open(args.signature, "rb") as f:
78 "Invalid signature length %d (expected %d)" % (len(sig), DBC_SIG_SIZE)
113 param, signature = process_param(d, messages[args.message], sig)
115 "Parameter: {par}, response signature {si
[all...]
/kernel/linux/linux-5.10/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c22 char signature[ACPI_NAMESEG_SIZE]; member
31 osl_table_name_from_file(char *filename, char *signature, u32 *instance);
33 static acpi_status osl_add_table_to_list(char *signature, u32 instance);
42 char *signature, struct acpi_table_header **table);
57 char *signature,
65 osl_get_bios_table(char *signature,
203 * PARAMETERS: signature - ACPI Signature for desired table. Must be
212 * AE_NOT_FOUND: A table with the signature was not found
214 * NOTE: Assumes the input signature is uppercase.
219 acpi_os_get_table_by_name(char *signature, in acpi_os_get_table_by_name() argument
277 osl_add_table_to_list(char *signature, u32 instance) osl_add_table_to_list() argument
766 osl_get_bios_table(char *signature, u32 instance, struct acpi_table_header **table, acpi_physical_address *address) osl_get_bios_table() argument
1054 osl_map_table(acpi_size address, char *signature, struct acpi_table_header **table) osl_map_table() argument
1156 osl_table_name_from_file(char *filename, char *signature, u32 *instance) osl_table_name_from_file() argument
1307 osl_get_customized_table(char *pathname, char *signature, u32 instance, struct acpi_table_header **table, acpi_physical_address *address) osl_get_customized_table() argument
[all...]
/kernel/linux/linux-6.6/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c22 char signature[ACPI_NAMESEG_SIZE]; member
31 osl_table_name_from_file(char *filename, char *signature, u32 *instance);
33 static acpi_status osl_add_table_to_list(char *signature, u32 instance);
42 char *signature, struct acpi_table_header **table);
57 char *signature,
65 osl_get_bios_table(char *signature,
203 * PARAMETERS: signature - ACPI Signature for desired table. Must be
212 * AE_NOT_FOUND: A table with the signature was not found
214 * NOTE: Assumes the input signature is uppercase.
219 acpi_os_get_table_by_name(char *signature, in acpi_os_get_table_by_name() argument
277 osl_add_table_to_list(char *signature, u32 instance) osl_add_table_to_list() argument
766 osl_get_bios_table(char *signature, u32 instance, struct acpi_table_header **table, acpi_physical_address *address) osl_get_bios_table() argument
1054 osl_map_table(acpi_size address, char *signature, struct acpi_table_header **table) osl_map_table() argument
1156 osl_table_name_from_file(char *filename, char *signature, u32 *instance) osl_table_name_from_file() argument
1307 osl_get_customized_table(char *pathname, char *signature, u32 instance, struct acpi_table_header **table, acpi_physical_address *address) osl_get_customized_table() argument
[all...]
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidump/
H A Dapdump.c33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
35 /* Make sure signature is all ASCII and a valid ACPI name */ in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header()
39 "Table signature (0x%8.8X) is invalid\n", in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
73 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_checksum()
86 table->signature); in ap_is_valid_checksum()
100 * DESCRIPTION: Obtain table length according to table signature.
114 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_get_table_length()
166 table->signature, ACPI_FORMAT_UINT6 in ap_dump_table_buffer()
290 ap_dump_table_by_name(char *signature) ap_dump_table_by_name() argument
[all...]
/kernel/linux/linux-6.6/tools/power/acpi/tools/acpidump/
H A Dapdump.c33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
35 /* Make sure signature is all ASCII and a valid ACPI name */ in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header()
39 "Table signature (0x%8.8X) is invalid\n", in ap_is_valid_header()
40 *(u32 *)table->signature); in ap_is_valid_header()
73 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_checksum()
88 table->signature); in ap_is_valid_checksum()
102 * DESCRIPTION: Obtain table length according to table signature.
116 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_get_table_length()
168 table->signature, ACPI_FORMAT_UINT6 in ap_dump_table_buffer()
292 ap_dump_table_by_name(char *signature) ap_dump_table_by_name() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dsfi_acpi.h66 extern int sfi_acpi_table_parse(char *signature, char *oem_id,
70 static inline int __init acpi_sfi_table_parse(char *signature, in acpi_sfi_table_parse() argument
73 if (!acpi_table_parse(signature, handler)) in acpi_sfi_table_parse()
76 return sfi_acpi_table_parse(signature, NULL, NULL, handler); in acpi_sfi_table_parse()
79 static inline int sfi_acpi_table_parse(char *signature, char *oem_id, in sfi_acpi_table_parse() argument
86 static inline int __init acpi_sfi_table_parse(char *signature, in acpi_sfi_table_parse() argument
89 return acpi_table_parse(signature, handler); in acpi_sfi_table_parse()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dtbfind.c21 * PARAMETERS: signature - String with ACPI table signature
34 acpi_tb_find_table(char *signature, in acpi_tb_find_table() argument
43 /* Validate the input table signature */ in acpi_tb_find_table()
45 if (!acpi_ut_valid_nameseg(signature)) { in acpi_tb_find_table()
59 ACPI_COPY_NAMESEG(header.signature, signature); in acpi_tb_find_table()
67 if (memcmp(&(acpi_gbl_root_table_list.tables[i].signature), in acpi_tb_find_table()
68 header.signature, ACPI_NAMESEG_SIZE)) { in acpi_tb_find_table()
75 /* Table with matching signature ha in acpi_tb_find_table()
[all...]
H A Dtbprint.c72 acpi_tb_fix_string(out_header->signature, ACPI_NAMESEG_SIZE); in acpi_tb_cleanup_table_header()
97 if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_FACS)) { in acpi_tb_print_table_header()
99 /* FACS only has signature and length fields */ in acpi_tb_print_table_header()
102 header->signature, ACPI_FORMAT_UINT64(address), in acpi_tb_print_table_header()
104 } else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) { in acpi_tb_print_table_header()
129 local_header.signature, ACPI_FORMAT_UINT64(address), in acpi_tb_print_table_header()
161 if (ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_S3PT) || in acpi_tb_verify_checksum()
162 ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_FACS)) { in acpi_tb_verify_checksum()
176 table->signature, table->checksum, in acpi_tb_verify_checksum()
H A Dtbxface.c165 table_desc->signature.ascii)); in ACPI_EXPORT_SYMBOL_INIT()
203 * PARAMETERS: signature - ACPI signature of needed table in ACPI_EXPORT_SYMBOL_INIT()
216 acpi_get_table_header(char *signature, in ACPI_EXPORT_SYMBOL_INIT()
225 if (!signature || !out_table_header) { in ACPI_EXPORT_SYMBOL_INIT()
234 (&(acpi_gbl_root_table_list.tables[i].signature), in ACPI_EXPORT_SYMBOL_INIT()
235 signature)) { in ACPI_EXPORT_SYMBOL_INIT()
281 * PARAMETERS: signature - ACPI signature of needed table in ACPI_EXPORT_SYMBOL()
297 acpi_get_table(char *signature, in ACPI_EXPORT_SYMBOL()
[all...]
H A Dtbxfload.c121 !ACPI_COMPARE_NAMESEG(table->signature.ascii, ACPI_SIG_DSDT) || in ACPI_EXPORT_SYMBOL_INIT()
174 (table->signature.ascii, ACPI_SIG_SSDT) in ACPI_EXPORT_SYMBOL_INIT()
175 && !ACPI_COMPARE_NAMESEG(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
177 && !ACPI_COMPARE_NAMESEG(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
191 table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
198 table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
382 (acpi_gbl_root_table_list.tables[i].signature.ascii, in ACPI_EXPORT_SYMBOL()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dtbfind.c21 * PARAMETERS: signature - String with ACPI table signature
34 acpi_tb_find_table(char *signature, in acpi_tb_find_table() argument
43 /* Validate the input table signature */ in acpi_tb_find_table()
45 if (!acpi_ut_valid_nameseg(signature)) { in acpi_tb_find_table()
59 ACPI_COPY_NAMESEG(header.signature, signature); in acpi_tb_find_table()
67 if (memcmp(&(acpi_gbl_root_table_list.tables[i].signature), in acpi_tb_find_table()
68 header.signature, ACPI_NAMESEG_SIZE)) { in acpi_tb_find_table()
75 /* Table with matching signature ha in acpi_tb_find_table()
[all...]
H A Dtbxface.c165 table_desc->signature.ascii)); in ACPI_EXPORT_SYMBOL_INIT()
203 * PARAMETERS: signature - ACPI signature of needed table in ACPI_EXPORT_SYMBOL_INIT()
216 acpi_get_table_header(char *signature, in ACPI_EXPORT_SYMBOL_INIT()
225 if (!signature || !out_table_header) { in ACPI_EXPORT_SYMBOL_INIT()
234 (&(acpi_gbl_root_table_list.tables[i].signature), in ACPI_EXPORT_SYMBOL_INIT()
235 signature)) { in ACPI_EXPORT_SYMBOL_INIT()
281 * PARAMETERS: signature - ACPI signature of needed table in ACPI_EXPORT_SYMBOL()
297 acpi_get_table(char *signature, in ACPI_EXPORT_SYMBOL()
[all...]
H A Dtbprint.c73 acpi_tb_fix_string(out_header->signature, ACPI_NAMESEG_SIZE); in acpi_tb_cleanup_table_header()
98 if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_FACS)) { in acpi_tb_print_table_header()
100 /* FACS only has signature and length fields */ in acpi_tb_print_table_header()
103 header->signature, ACPI_FORMAT_UINT64(address), in acpi_tb_print_table_header()
106 header)->signature)) { in acpi_tb_print_table_header()
131 local_header.signature, ACPI_FORMAT_UINT64(address), in acpi_tb_print_table_header()
H A Dtbxfload.c121 !ACPI_COMPARE_NAMESEG(table->signature.ascii, ACPI_SIG_DSDT) || in ACPI_EXPORT_SYMBOL_INIT()
174 (table->signature.ascii, ACPI_SIG_SSDT) in ACPI_EXPORT_SYMBOL_INIT()
175 && !ACPI_COMPARE_NAMESEG(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
177 && !ACPI_COMPARE_NAMESEG(table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
191 table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
198 table->signature.ascii, in ACPI_EXPORT_SYMBOL_INIT()
406 (acpi_gbl_root_table_list.tables[i].signature.ascii, in ACPI_EXPORT_SYMBOL()
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.h90 * @signature: Signature of the Command Header.
101 __le32 signature; member
113 * @signature: Signature of the Aggregated Command Block Header.
120 __le32 signature; member
129 * @signature: Signature of the Aggregated Data Block Header.
137 __le32 signature; member
146 * @signature: Signature of the Aggregated Datagram Table Header.
158 __le32 signature; member
169 * @signature: Signature of the Aggregated Datagram Header(0x48474441)
183 __le32 signature; member
207 __le32 signature; global() member
235 __le32 signature; global() member
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dflcn.c71 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_dump()
72 hdr->signature[3]); in flcn_bl_dmem_desc_dump()
95 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_v1_dump()
96 hdr->signature[3]); in flcn_bl_dmem_desc_v1_dump()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dflcn.c71 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_dump()
72 hdr->signature[3]); in flcn_bl_dmem_desc_dump()
95 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_v1_dump()
96 hdr->signature[3]); in flcn_bl_dmem_desc_v1_dump()
/kernel/linux/linux-6.6/kernel/module/
H A Ddecompress.c59 * Calculate length of the header which consists of signature, header
65 const u8 signature[] = { 0x1f, 0x8b, 0x08 }; in module_gzip_header_len() local
68 if (size < len || memcmp(buf, signature, sizeof(signature))) in module_gzip_header_len()
152 static const u8 signature[] = { 0xfd, '7', 'z', 'X', 'Z', 0 }; in module_xz_decompress() local
159 if (size < sizeof(signature) || in module_xz_decompress()
160 memcmp(buf, signature, sizeof(signature))) { in module_xz_decompress()
210 static const u8 signature[] = { 0x28, 0xb5, 0x2f, 0xfd }; in module_zstd_decompress() local
221 if (size < sizeof(signature) || in module_zstd_decompress()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dcheck_signature.c8 * @signature: signature block
9 * @length: length of signature
11 * Perform a signature comparison with the mmio address io_addr. This
17 const unsigned char *signature, int length) in check_signature()
20 if (readb(io_addr) != *signature) in check_signature()
23 signature++; in check_signature()
16 check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length) check_signature() argument
/kernel/linux/linux-6.6/lib/
H A Dcheck_signature.c8 * @signature: signature block
9 * @length: length of signature
11 * Perform a signature comparison with the mmio address io_addr. This
17 const unsigned char *signature, int length) in check_signature()
20 if (readb(io_addr) != *signature) in check_signature()
23 signature++; in check_signature()
16 check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length) check_signature() argument
/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_fpdt.c35 u32 signature; member
167 char *signature = (subtable_type == SUBTABLE_FBPT ? "FBPT" : "S3PT"); in fpdt_process_subtable() local
180 if (strncmp((char *)&subtable_header->signature, signature, 4)) { in fpdt_process_subtable()
181 pr_info(FW_BUG "subtable signature and type mismatch!\n"); in fpdt_process_subtable()
207 record_header->type, signature); in fpdt_process_subtable()
223 record_header->type, signature); in fpdt_process_subtable()
238 record_header->type, signature); in fpdt_process_subtable()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dcpuid.h158 uint32_t base, eax, signature[3]; in hypervisor_cpuid_base() local
161 cpuid(base, &eax, &signature[0], &signature[1], &signature[2]); in hypervisor_cpuid_base()
163 if (!memcmp(sig, signature, 12) && in hypervisor_cpuid_base()

Completed in 10 milliseconds

12345678910>>...28