Home
last modified time | relevance | path

Searched refs:signature (Results 1 – 17 of 17) sorted by relevance

/tools/crypto/ccp/
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, sizeof(tmp.signature)); in set_uid()
54 int process_param(int fd, int msg_index, __u8 *signature, int *data) in process_param() argument
62 assert(signature); in process_param()
65 memcpy(tmp.signature, signature, sizeof(tmp.signature)); in process_param()
[all …]
Ddbc.py33 def get_nonce(device, signature): argument
37 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature)
43 def set_uid(device, new_uid, signature): argument
44 if not signature:
48 ret = lib.set_uid(device.fileno(), new_uid, signature)
54 def process_param(device, message, signature, data=None): argument
55 if not signature:
60 sig = ctypes.create_string_buffer(signature, len(signature))
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 …]
Ddbc_cli.py71 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:
113 param, signature = process_param(d, messages[args.message], sig) variable
117 sig=_pretty_buffer(bytes(signature)),
126 param, signature = process_param(d, messages[args.message], sig, data) variable
130 sig=_pretty_buffer(bytes(signature)),
/tools/power/acpi/os_specific/service_layers/
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,
219 acpi_os_get_table_by_name(char *signature, in acpi_os_get_table_by_name() argument
240 osl_get_bios_table(signature, instance, table, address); in acpi_os_get_table_by_name()
244 status = osl_get_customized_table(STATIC_TABLE_DIR, signature, in acpi_os_get_table_by_name()
255 signature, instance, table, in acpi_os_get_table_by_name()
[all …]
/tools/power/acpi/tools/acpidump/
Dapdump.c33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header()
37 if (!acpi_ut_valid_nameseg(table->signature)) { 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()
116 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_get_table_length()
168 table->signature, ACPI_FORMAT_UINT64(address)); in ap_dump_table_buffer()
292 int ap_dump_table_by_name(char *signature) in ap_dump_table_by_name() argument
301 if (strlen(signature) != ACPI_NAMESEG_SIZE) { in ap_dump_table_by_name()
304 signature); in ap_dump_table_by_name()
[all …]
Dapfiles.c118 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_write_to_binary_file()
121 ACPI_COPY_NAMESEG(filename, table->signature); in ap_write_to_binary_file()
142 table->signature, filename, table->length, in ap_write_to_binary_file()
Dacpidump.h65 int ap_dump_table_by_name(char *signature);
/tools/testing/selftests/filesystems/incfs/
Dutils.c156 void *signature; in crypto_emit_file() local
168 args.signature_size = format_signature(&signature, root_hash, add_data); in crypto_emit_file()
169 args.signature_info = ptr_to_u64(signature); in crypto_emit_file()
181 free(signature); in crypto_emit_file()
/tools/perf/util/
DPERF-VERSION-GEN22 CID=$(git log -1 --abbrev=12 --pretty=format:"%h" --no-show-signature 2>/dev/null) && CID="-g$CID"
/tools/testing/selftests/sgx/
Dsigstruct.c371 sigstruct->signature, &siglen, key)) in encl_measure()
374 if (!calc_q1q2(sigstruct->signature, sigstruct->modulus, sigstruct->q1, in encl_measure()
379 reverse_bytes(sigstruct->signature, SGX_MODULUS_SIZE); in encl_measure()
/tools/testing/selftests/kexec/
Dtest_kexec_file_load.sh64 pesign -i $KERNEL_IMAGE --show-signature | grep -q "No signatures"
/tools/power/cpupower/debug/i386/
Ddump_psb.c39 char signature[10]; member
/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c156 uint32_t signature; member
385 get_feature(mc->signature, name); in sdsi_meter_cert_show()
/tools/perf/Documentation/
DMakefile259 --date=short --no-show-signature $<)))
/tools/testing/cxl/test/
Dcxl.c161 .signature = "CEDT",
/tools/usb/usbip/
DCOPYING333 <signature of Ty Coon>, 1 April 1989