Home
last modified time | relevance | path

Searched refs:crypt_method (Results 1 – 4 of 4) sorted by relevance

/external/qemu/block/
Dqcow.c50 uint32_t crypt_method; member
73 uint32_t crypt_method; /* current crypt method, 0 if no key yet */ member
110 be32_to_cpus(&header.crypt_method); in qcow_open()
117 if (header.crypt_method > QCOW_CRYPT_AES) in qcow_open()
119 s->crypt_method_header = header.crypt_method; in qcow_open()
191 s->crypt_method = s->crypt_method_header; in qcow_set_key()
350 if (s->crypt_method && in get_cluster_offset()
478 if (s->crypt_method) {
562 if (s->crypt_method) { in qcow_aio_read_cb()
684 if (s->crypt_method) { in qcow_aio_write_cb()
[all …]
Dqcow2.c171 be32_to_cpus(&header.crypt_method); in qcow_open()
185 if (header.crypt_method > QCOW_CRYPT_AES) in qcow_open()
187 s->crypt_method_header = header.crypt_method; in qcow_open()
284 s->crypt_method = s->crypt_method_header; in qcow_set_key()
407 if (s->crypt_method) { in qcow_aio_read_cb()
562 if (s->crypt_method && in qcow_aio_write_cb()
573 if (s->crypt_method) { in qcow_aio_write_cb()
705 header.crypt_method = cpu_to_be32(QCOW_CRYPT_AES); in qcow_create2()
707 header.crypt_method = cpu_to_be32(QCOW_CRYPT_NONE); in qcow_create2()
Dqcow2.h57 uint32_t crypt_method; member
106 uint32_t crypt_method; /* current crypt method, 0 if no key yet */ member
Dqcow2-cluster.c340 if (s->crypt_method) { in qcow_read()
364 if (s->crypt_method) { in copy_sectors()