Home
last modified time | relevance | path

Searched refs:km (Results 1 – 8 of 8) sorted by relevance

/system/vold/
DKeymaster.h38 namespace km = ::aidl::android::hardware::security::keymint; variable
54 km::ErrorCode getErrorCode() const { return errorCode; } in getErrorCode()
71 KeymasterOperation() { errorCode = km::ErrorCode::UNKNOWN_ERROR; } in KeymasterOperation()
81 rhs.errorCode = km::ErrorCode::UNKNOWN_ERROR;
89 : ks2Operation{ks2Op}, errorCode{km::ErrorCode::OK} { in KeymasterOperation()
96 KeymasterOperation(km::ErrorCode errCode) : errorCode{errCode} {} in KeymasterOperation()
103 km::ErrorCode errorCode;
115 bool generateKey(const km::AuthorizationSet& inParams, std::string* key);
123 KeymasterOperation begin(const std::string& key, const km::AuthorizationSet& inParams,
124 km::AuthorizationSet* outParams);
DKeyStorage.cpp128 const km::AuthorizationSetBuilder& paramBuilder, in generateKeymasterKey()
131 paramsWithRollback.Authorization(km::TAG_ROLLBACK_RESISTANCE); in generateKeymasterKey()
144 auto paramBuilder = km::AuthorizationSetBuilder() in generateKeyStorageKey()
147 .Authorization(km::TAG_APPLICATION_ID, appId) in generateKeyStorageKey()
148 .Authorization(km::TAG_NO_AUTH_REQUIRED); in generateKeyStorageKey()
157 auto paramBuilder = km::AuthorizationSetBuilder().AesEncryptionKey(AES_KEY_BYTES * 8); in generateWrappedStorageKey()
158 paramBuilder.Authorization(km::TAG_STORAGE_KEY); in generateWrappedStorageKey()
176 static km::AuthorizationSet beginParams(const std::string& appId) { in beginParams()
177 return km::AuthorizationSetBuilder() in beginParams()
179 .Authorization(km::TAG_APPLICATION_ID, appId); in beginParams()
[all …]
DKeymaster.cpp124 auto rc = keystore2Service->getSecurityLevel(km::SecurityLevel::TRUSTED_ENVIRONMENT, in Keymaster()
130 bool Keymaster::generateKey(const km::AuthorizationSet& inParams, std::string* key) { in generateKey()
191 KeymasterOperation Keymaster::begin(const std::string& key, const km::AuthorizationSet& inParams, in begin()
192 km::AuthorizationSet* outParams) { in begin()
205 return KeymasterOperation((km::ErrorCode)rc.getServiceSpecificError()); in begin()
Dcryptfs.cpp357 auto keyParams = km::AuthorizationSetBuilder() in keymaster_create_key_for_cryptfs_scrypt()
360 .Authorization(km::TAG_NO_AUTH_REQUIRED) in keymaster_create_key_for_cryptfs_scrypt()
361 .Authorization(km::TAG_MIN_SECONDS_BETWEEN_OPS, ratelimit); in keymaster_create_key_for_cryptfs_scrypt()
404 km::AuthorizationSet outParams; in keymaster_sign_object_for_cryptfs_scrypt()
410 auto paramBuilder = km::AuthorizationSetBuilder().NoDigestOrPadding().Authorization( in keymaster_sign_object_for_cryptfs_scrypt()
411 km::TAG_PURPOSE, km::KeyPurpose::SIGN); in keymaster_sign_object_for_cryptfs_scrypt()
414 if (op.getErrorCode() == km::ErrorCode::KEY_RATE_LIMIT_EXCEEDED) { in keymaster_sign_object_for_cryptfs_scrypt()
/system/sepolicy/tools/
Dcheck_seapp.c348 static bool compile_regex(key_map *km, int *errcode, PCRE2_SIZE *erroff) { in compile_regex() argument
358 size = strlen(km->data) + 3; in compile_regex()
360 sprintf(anchored, "^%s$", km->data); in compile_regex()
362 km->regex.compiled = pcre2_compile((PCRE2_SPTR) anchored, in compile_regex()
367 if (!km->regex.compiled) { in compile_regex()
371 km->regex.match_data = pcre2_match_data_create_from_pattern( in compile_regex()
372 km->regex.compiled, NULL); in compile_regex()
373 if (!km->regex.match_data) { in compile_regex()
374 pcre2_code_free(km->regex.compiled); in compile_regex()
/system/timezone/output_data/android/
Dtzids.prototxt1024 isoCode: "km"
/system/timezone/input_data/android/
Dcountryzones.txt1806 isoCode:"km"
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641 …aWnlFy61IjdXj1G+f1nr/36/zrJYgGMyflnn5t0CQAAHBvCXwAAAAAARqD16uvqvfcdVWUVXK3+km+1v+Hr9ReSi+dLPz8bytX…