Searched refs:policy_length (Results 1 - 2 of 2) sorted by relevance

/system/extras/ext4_utils/
H A Dext4_crypt.h25 int e4crypt_policy_ensure(const char *directory, const char* policy, size_t policy_length);
H A Dext4_crypt.cpp102 static bool e4crypt_policy_set(const char *directory, const char *policy, size_t policy_length) { argument
103 if (policy_length != EXT4_KEY_DESCRIPTOR_SIZE) {
104 LOG(ERROR) << "Policy wrong length: " << policy_length;
132 static bool e4crypt_policy_get(const char *directory, char *policy, size_t policy_length) { argument
133 if (policy_length != EXT4_KEY_DESCRIPTOR_SIZE) {
134 LOG(ERROR) << "Policy wrong length: " << policy_length;
165 static bool e4crypt_policy_check(const char *directory, const char *policy, size_t policy_length) { argument
166 if (policy_length != EXT4_KEY_DESCRIPTOR_SIZE) {
167 LOG(ERROR) << "Policy wrong length: " << policy_length;
188 int e4crypt_policy_ensure(const char *directory, const char *policy, size_t policy_length) { argument
[all...]

Completed in 149 milliseconds