You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.1 KiB
27 lines
1.1 KiB
/*
|
|
* fscrypto_knox_private.h
|
|
*
|
|
* Created on: Oct 11, 2018
|
|
* Author: olic.moon
|
|
*/
|
|
|
|
#ifndef FS_CRYPTO_FSCRYPT_KNOX_PRIVATE_H_
|
|
#define FS_CRYPTO_FSCRYPT_KNOX_PRIVATE_H_
|
|
|
|
#define FSCRYPT_KNOX_FLG_SDP_MASK 0xFFFF0000
|
|
#define FSCRYPT_KNOX_FLG_SDP_ENABLED 0x00100000
|
|
#define FSCRYPT_KNOX_FLG_SDP_IS_SENSITIVE 0x00200000
|
|
#define FSCRYPT_KNOX_FLG_SDP_MULTI_ENGINE 0x00400000// eCryptfs header contains engine id.
|
|
#define FSCRYPT_KNOX_FLG_SDP_TO_SET_SENSITIVE 0x00800000
|
|
#define FSCRYPT_KNOX_FLG_SDP_TO_SET_PROTECTED 0x01000000
|
|
#define FSCRYPT_KNOX_FLG_SDP_DECRYPTED_FEK_SET 0x02000000// Be careful, this flag must be avoided to be set to xattr.
|
|
#define FSCRYPT_KNOX_FLG_SDP_IS_EMPTY_CTFM_SET 0x04000000
|
|
#define FSCRYPT_KNOX_FLG_SDP_TO_CLEAR_NONCE 0x08000000
|
|
//#define FSCRYPT_KNOX_FLG_SDP_TO_CLEAR_CACHE 0x10000000
|
|
#define FSCRYPT_KNOX_FLG_SDP_IS_CHAMBER_DIR 0x20000000
|
|
#define FSCRYPT_KNOX_FLG_SDP_IS_DIRECTORY 0x40000000
|
|
#define FSCRYPT_KNOX_FLG_SDP_IS_PROTECTED 0x80000000
|
|
|
|
union fscrypt_context;
|
|
|
|
#endif /* FS_CRYPTO_FSCRYPT_KNOX_PRIVATE_H_ */
|
|
|