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
107 be32_to_cpus(&header.crypt_method); in qcow_open()
114 if (header.crypt_method > QCOW_CRYPT_AES) in qcow_open()
116 s->crypt_method_header = header.crypt_method; in qcow_open()
187 s->crypt_method = s->crypt_method_header; in qcow_set_key()
347 if (s->crypt_method && in get_cluster_offset()
476 if (s->crypt_method) {
560 if (s->crypt_method) { in qcow_aio_read_cb()
682 if (s->crypt_method) { in qcow_aio_write_cb()
[all …]
Dqcow2.h61 uint32_t crypt_method; member
111 uint32_t crypt_method; /* current crypt method, 0 if no key yet */ member
Dqcow2.c154 be32_to_cpus(&header.crypt_method); in qcow_open()
167 if (header.crypt_method > QCOW_CRYPT_AES) in qcow_open()
169 s->crypt_method_header = header.crypt_method; in qcow_open()
269 s->crypt_method = s->crypt_method_header; in qcow_set_key()
399 if (s->crypt_method) { in qcow_aio_read_cb()
586 if (s->crypt_method && in qcow_aio_write_cb()
607 if (s->crypt_method) { in qcow_aio_write_cb()
901 header.crypt_method = cpu_to_be32(QCOW_CRYPT_AES); in qcow_create2()
903 header.crypt_method = cpu_to_be32(QCOW_CRYPT_NONE); in qcow_create2()
Dqcow2-cluster.c384 if (s->crypt_method) { in qcow_read()
409 if (s->crypt_method) { in copy_sectors()