Home
last modified time | relevance | path

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

123

/qemu/block/
H A Dvhdx-endian.c37 h->signature = le32_to_cpu(h->signature); in vhdx_header_le_import()
56 new_h->signature = cpu_to_le32(orig_h->signature); in vhdx_header_le_export()
82 d->signature = le32_to_cpu(d->signature); in vhdx_log_desc_le_import()
91 d->signature = cpu_to_le32(d->signature); in vhdx_log_desc_le_export()
120 hdr->signature = le32_to_cpu(hdr->signature); in vhdx_log_entry_hdr_le_import()
135 hdr->signature = cpu_to_le32(hdr->signature); in vhdx_log_entry_hdr_le_export()
152 hdr->signature = le32_to_cpu(hdr->signature); in vhdx_region_header_le_import()
161 hdr->signature = cpu_to_le32(hdr->signature); in vhdx_region_header_le_export()
192 hdr->signature = le64_to_cpu(hdr->signature); in vhdx_metadata_header_le_import()
200 hdr->signature = cpu_to_le64(hdr->signature); in vhdx_metadata_header_le_export()
H A Dvhdx.h65 uint64_t signature; /* "vhdxfile" in ASCII */ member
96 uint32_t signature; /* "head" in ASCII */ member
137 uint32_t signature; /* "regi" in ASCII */ member
167 uint32_t signature; /* "loge" in ASCII */ member
191 uint32_t signature; /* "zero" or "desc" in ASCII */ member
252 uint64_t signature; /* "metadata" in ASCII */ member
H A Dvhdx-log.c223 if (hdr->signature != VHDX_LOG_SIGNATURE) { in vhdx_log_hdr_is_valid()
287 if (desc->signature == VHDX_LOG_ZERO_SIGNATURE) { in vhdx_log_desc_is_valid()
292 } else if (desc->signature == VHDX_LOG_DESC_SIGNATURE) { in vhdx_log_desc_is_valid()
430 if (desc->signature == VHDX_LOG_DESC_SIGNATURE) { in vhdx_log_flush_desc()
458 } else if (desc->signature == VHDX_LOG_ZERO_SIGNATURE) { in vhdx_log_flush_desc()
464 desc->signature); in vhdx_log_flush_desc()
537 if (desc_entries->desc[i].signature == VHDX_LOG_DESC_SIGNATURE) { in vhdx_log_flush()
942 .signature = VHDX_LOG_SIGNATURE, in vhdx_log_write()
973 new_desc->signature = VHDX_LOG_DESC_SIGNATURE; in vhdx_log_write()
H A Dvdi.c152 uint32_t signature; member
196 header->signature = le32_to_cpu(header->signature); in vdi_header_to_cpu()
220 header->signature = cpu_to_le32(header->signature); in vdi_header_to_le()
247 logout("signature 0x%08x\n", header->signature); in vdi_header_print()
361 } else if (le32_to_cpu(header->signature) == VDI_SIGNATURE) { in vdi_probe()
421 if (header.signature != VDI_SIGNATURE) { in vdi_open()
423 ")", header.signature); in vdi_open()
831 header.signature = VDI_SIGNATURE; in vdi_co_do_create()
H A Dvhdx.c454 if (header1->signature == VHDX_HEADER_SIGNATURE && in vhdx_parse_header()
471 if (header2->signature == VHDX_HEADER_SIGNATURE && in vhdx_parse_header()
551 if (s->rt.signature != VHDX_REGION_SIGNATURE) { in vhdx_open_region_tables()
660 if (s->metadata_hdr.signature != VHDX_METADATA_SIGNATURE) { in vhdx_parse_metadata()
1004 uint64_t signature; in vhdx_open() local
1023 ret = bdrv_pread(bs->file, 0, sizeof(uint64_t), &signature, 0); in vhdx_open()
1027 if (memcmp(&signature, "vhdxfile", 8)) { in vhdx_open()
1529 hdr->signature = VHDX_HEADER_SIGNATURE; in vhdx_create_new_headers()
1628 md_table->signature = VHDX_METADATA_SIGNATURE; in vhdx_create_new_metadata()
1840 region_table->signature = VHDX_REGION_SIGNATURE; in vhdx_create_new_region_table()
[all …]
/qemu/tests/unit/
H A Dtest-crypto-akcipher.c688 const uint8_t *signature; member
825 .signature = exp_signature_rsa1024_pkcs1,
870 .signature = exp_signature_rsa2048_pkcs1,
881 g_autofree uint8_t *signature = NULL; in test_akcipher() local
918 if (data->signature != NULL) { in test_akcipher()
919 signature = g_new(uint8_t, data->slen); in test_akcipher()
921 signature, data->slen, in test_akcipher()
927 g_assert(qcrypto_akcipher_verify(pub_key, data->signature, data->slen, in test_akcipher()
930 g_assert(qcrypto_akcipher_verify(pub_key, signature, data->slen, in test_akcipher()
933 ++signature[0]; in test_akcipher()
[all …]
H A Dpkix_asn1_tab.c.inc493 {"signature", 6, 0},
499 {"signature", 1073741826, "AlgorithmIdentifier"},
536 {"signature", 6, 0},
539 {"signature", 1073741826, "AlgorithmIdentifier"},
895 {"signature", 6, 0},
/qemu/tests/qtest/
H A Dprom-env-test.c31 uint32_t signature; in check_guest_memory() local
36 signature = qtest_readl(qts, ADDRESS); in check_guest_memory()
37 if (signature == MAGIC) { in check_guest_memory()
43 g_assert_cmphex(signature, ==, MAGIC); in check_guest_memory()
H A Dboot-sector.c139 uint16_t signature; in boot_sector_test() local
154 signature = (signature_high << 8) | signature_low; in boot_sector_test()
155 if (signature == SIGNATURE) { in boot_sector_test()
173 g_assert_cmphex(signature, ==, SIGNATURE); in boot_sector_test()
/qemu/hw/char/
H A Driscv_htif.c178 FILE *signature = fopen(sig_file, "w"); in htif_handle_tohost_write() local
179 if (signature == NULL) { in htif_handle_tohost_write()
188 fprintf(signature, "%02x", in htif_handle_tohost_write()
191 fprintf(signature, "%02x", 0); in htif_handle_tohost_write()
194 fprintf(signature, "\n"); in htif_handle_tohost_write()
197 fclose(signature); in htif_handle_tohost_write()
/qemu/tests/bench/
H A Dbenchmark-crypto-akcipher.c48 g_autofree uint8_t *signature = NULL; in test_rsa_speed() local
53 signature = g_new0(uint8_t, key_size / BYTE); in test_rsa_speed()
61 signature, key_size / BYTE, in test_rsa_speed()
77 g_assert(qcrypto_akcipher_verify(rsa, signature, key_size / BYTE, in test_rsa_speed()
/qemu/docs/sphinx/
H A Ddbusparser.py32 def __init__(self, name, signature): argument
34 self.signature = signature
64 def __init__(self, name, signature, access): argument
66 self.signature = signature
69 self.arg = Arg("value", self.signature)
/qemu/hw/nvram/
H A Dchrp_nvram.c59 part_header->signature = CHRP_NVPART_SYSTEM; in chrp_nvram_create_system_partition()
96 part_header->signature = CHRP_NVPART_FREE; in chrp_nvram_create_free_partition()
/qemu/include/system/
H A Ddump.h46 char signature[16]; /* = "makedumpfile" */ member
66 char signature[SIG_LEN]; /* = "KDUMP " */ member
84 char signature[SIG_LEN]; /* = "KDUMP " */ member
/qemu/target/i386/whpx/
H A Dwhpx-internal.h92 #define WHP_DEFINE_TYPE(return_type, function_name, signature) \ argument
93 typedef return_type (WINAPI *function_name ## _t) signature;
95 #define WHP_DECLARE_MEMBER(return_type, function_name, signature) \ argument
/qemu/qapi/
H A Duefi.json35 # @digest: variable certificate digest. Used to verify the signature
38 # 'KEK', 'db' and 'dbx') have hard coded signature checking rules.
H A Dacpi.json31 # @sig: table signature / identifier (4 bytes)
33 # @rev: table revision number (dependent on signature, 1 byte)
/qemu/crypto/
H A Dakcipher-nettle.c.inc257 * The RSA algorithm cannot be used for signature/verification
261 error_setg(errp, "Try to make signature without padding");
301 error_setg(errp, "Failed to make signature");
324 * The RSA algorithm cannot be used for signature/verification
328 error_setg(errp, "Try to verify signature without padding");
366 error_setg(errp, "Failed to verify signature");
H A Dakcipher-gcrypt.c.inc430 error_setg(errp, "Failed to make signature: %s/%s",
435 /* S-expression of signature: (sig-val (rsa (s s-mpi))) */
438 error_setg(errp, "Invalid signature result");
444 error_setg(errp, "Invalid signature result");
493 error_setg(errp, "Failed to build signature: %s/%s",
510 error_setg(errp, "Failed to verify signature: %s/%s",
/qemu/contrib/elf2dmp/
H A Dpdb.h27 char signature[32]; member
152 uint32_t signature; member
/qemu/include/hw/nvram/
H A Dchrp_nvram.h25 uint8_t signature; member
/qemu/docs/devel/
H A Dcontrol-flow-integrity.rst18 function. A compatible function is a function with the same signature of the
22 the signature of every function and every function pointer used in the code.
100 * the CFI runtime has no way to verify its signature and would fail.
/qemu/hw/xen/
H A Dxen_pt_graphics.c142 uint16_t signature; member
151 uint32_t signature; member
/qemu/include/hw/loongarch/
H A Dboot.h48 uint64_t signature; member
/qemu/include/hw/uefi/
H A Dvar-service-edk2.h129 uint32_t signature; member

123