commit | 6218dc5dc915b91019e9e0ff404c683c822d7920 | [log] [tgz] |
---|---|---|
author | John Wedig <johnwedig@google.com> | Fri Dec 03 09:36:35 2021 -0800 |
committer | John Wedig <johnwedig@google.com> | Tue Dec 14 13:05:24 2021 -0800 |
tree | ce709aaf06c3689b6837ee240ee19ec07b4190a5 | |
parent | e6ffe7040eb28d8ea2a242177d2780516b6f5cf0 [diff] |
Add get() function to CryptHandle class This commit modifies the CryptHandle class so that the crypt_device struct is managed internally. This way, the caller does not need to provide it's own crypt_device pointer. The caller can use the new get() function when it needs access to the crypt_device struct. Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: I82c2f96d74cc2714de5a656432cbaa2f6ee1244a
This daemon serves as an abstraction for an encrypted storage device, encapsulating the security functionality and providing a D-Bus interface to manage the encrypted filesystem on the device. Using the D-Bus interface, other software components can interact with eStoraged to do things like create a new encrypted filesystem, wipe its contents, lock/unlock the device, or change the password.