/qemu/block/ |
H A D | vhdx-endian.c | 37 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 D | vhdx.h | 65 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 D | vhdx-log.c | 223 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 D | vdi.c | 152 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 D | vhdx.c | 454 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 D | test-crypto-akcipher.c | 688 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 D | pkix_asn1_tab.c.inc | 493 {"signature", 6, 0}, 499 {"signature", 1073741826, "AlgorithmIdentifier"}, 536 {"signature", 6, 0}, 539 {"signature", 1073741826, "AlgorithmIdentifier"}, 895 {"signature", 6, 0},
|
/qemu/tests/qtest/ |
H A D | prom-env-test.c | 31 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 D | boot-sector.c | 139 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 D | riscv_htif.c | 178 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 D | benchmark-crypto-akcipher.c | 48 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 D | dbusparser.py | 32 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 D | chrp_nvram.c | 59 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 D | dump.h | 46 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 D | whpx-internal.h | 92 #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 D | uefi.json | 35 # @digest: variable certificate digest. Used to verify the signature 38 # 'KEK', 'db' and 'dbx') have hard coded signature checking rules.
|
H A D | acpi.json | 31 # @sig: table signature / identifier (4 bytes) 33 # @rev: table revision number (dependent on signature, 1 byte)
|
/qemu/crypto/ |
H A D | akcipher-nettle.c.inc | 257 * 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 D | akcipher-gcrypt.c.inc | 430 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 D | pdb.h | 27 char signature[32]; member 152 uint32_t signature; member
|
/qemu/include/hw/nvram/ |
H A D | chrp_nvram.h | 25 uint8_t signature; member
|
/qemu/docs/devel/ |
H A D | control-flow-integrity.rst | 18 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 D | xen_pt_graphics.c | 142 uint16_t signature; member 151 uint32_t signature; member
|
/qemu/include/hw/loongarch/ |
H A D | boot.h | 48 uint64_t signature; member
|
/qemu/include/hw/uefi/ |
H A D | var-service-edk2.h | 129 uint32_t signature; member
|