this method returns true if inode is de facto ecrypted. semantics of "enabled" is a bit confusing since it may mean "enabled but not encrypted de facto".
| 190 | // semantics of "enabled" is a bit confusing since it may mean |
| 191 | // "enabled but not encrypted de facto". |
| 192 | bool is_fscrypt_enabled() { |
| 193 | return !!fscrypt_auth.size(); |
| 194 | } |
| 195 | #if defined(__linux__) |
| 196 | |
| 197 | FSCryptContextRef init_fscrypt_ctx(FSCrypt *fscrypt); |
no test coverage detected