class DdkVolume
Defined at line 17 of file ../../src/security/lib/zxcrypt/ddk-volume.h
Public Methods
void DdkVolume (zx_device_t * dev)
Defined at line 106 of file ../../src/security/lib/zxcrypt/ddk-volume.cc
zx_status_t Unlock (zx_device_t * dev, const crypto::Secret & key, key_slot_t slot, std::unique_ptr<DdkVolume> * out)
Unlocks a zxcrypt volume on the block device described by |dev| using the |key| corresponding
to given key |slot|.
Defined at line 127 of file ../../src/security/lib/zxcrypt/ddk-volume.cc
zx_status_t OpenOpaque (zx_device_t * dev, std::unique_ptr<DdkVolume> * out)
Opens a zxcrypt volume on the block device described by |dev|, but does not
do any operations involving a key. This is to make it possible to call Shred()
without necessarily holding the key.
Defined at line 144 of file ../../src/security/lib/zxcrypt/ddk-volume.cc
zx_status_t Bind (crypto::Cipher::Direction direction, crypto::Cipher * cipher)
Uses the data key material to initialize |cipher| for the given |direction|.
Defined at line 108 of file ../../src/security/lib/zxcrypt/ddk-volume.cc