Lines Matching defs:volume
33 #include <zxcrypt/volume.h>
428 // Formats a block device as a zxcrypt volume.
443 // TODO(security): ZX-1864. The created volume must marked as needing key rotation.
451 fbl::unique_ptr<zxcrypt::Volume> volume;
452 if ((status = zxcrypt::Volume::Create(fbl::move(part->new_part), key, &volume)) != ZX_OK ||
453 (status = volume->Open(zx::sec(3), &part->new_part)) != ZX_OK) {
454 ERROR("Could not create zxcrypt volume\n");
459 size_t reserved = volume->reserved_slices();
476 ERROR("Failed to extend zxcrypt volume: %s\n", zx_status_get_string(status));
629 LOG("Creating zxcrypt volume\n");