Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 26) sorted by relevance

12

/system/vold/
DKeyStorage.cpp108 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey() argument
114 if (auth.token.empty()) { in generateKeymasterKey()
119 if (auth.token.size() != sizeof(hw_auth_token_t)) { in generateKeymasterKey()
121 << auth.token.size() << " bytes"; in generateKeymasterKey()
124 const hw_auth_token_t* at = reinterpret_cast<const hw_auth_token_t*>(auth.token.data()); in generateKeymasterKey()
164 const KeyAuthentication& auth, const std::string& appId) { in beginParams() argument
169 if (!auth.token.empty()) { in beginParams()
171 authToken = km::support::hidlVec2AuthToken(km::support::blob2hidlVec(auth.token)); in beginParams()
314 static std::string getStretching(const KeyAuthentication& auth) { in getStretching() argument
315 if (!auth.usesKeymaster()) { in getStretching()
[all …]
DKeyStorage.h54 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key);
61 const KeyAuthentication& auth, const KeyBuffer& key);
64 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key,
DFsCrypt.cpp191 const android::vold::KeyAuthentication& auth, in read_and_fixate_user_ce_key() argument
197 if (retrieveKey(ce_key_path, auth, ce_key)) { in read_and_fixate_user_ce_key()
287 const android::vold::KeyAuthentication& auth) { in read_and_install_user_ce_key() argument
292 if (!read_and_fixate_user_ce_key(user_id, auth, &ce_key)) return false; in read_and_install_user_ce_key()
661 android::vold::KeyAuthentication auth("", secdiscardable_hash); in read_or_create_volkey() local
666 if (!retrieveOrGenerateKey(key_path, key_path + "_tmp", auth, makeGen(options), &key)) in read_or_create_volkey()
710 auto auth = authentication_from_hex(token_hex, secret_hex); in fscrypt_add_user_key_auth() local
711 if (!auth) return false; in fscrypt_add_user_key_auth()
712 return fscrypt_rewrap_user_key(user_id, serial, kEmptyAuthentication, *auth); in fscrypt_add_user_key_auth()
720 auto auth = authentication_from_hex(token_hex, secret_hex); in fscrypt_clear_user_key_auth() local
[all …]
/system/nfc/src/nfc/tags/
Drw_mfc.cc237 p_mfc->next_block.auth = true; in rw_mfc_handle_format_rsp()
238 p_mfc->last_block_accessed.auth = true; in rw_mfc_handle_format_rsp()
248 p_mfc->next_block.auth = false; in rw_mfc_handle_format_rsp()
249 p_mfc->last_block_accessed.auth = false; in rw_mfc_handle_format_rsp()
440 p_mfc->next_block.auth = true; in rw_mfc_handle_write_rsp()
441 p_mfc->last_block_accessed.auth = true; in rw_mfc_handle_write_rsp()
451 p_mfc->next_block.auth = false; in rw_mfc_handle_write_rsp()
452 p_mfc->last_block_accessed.auth = false; in rw_mfc_handle_write_rsp()
565 p_mfc->last_block_accessed.auth = false; in rw_mfc_select()
567 p_mfc->next_block.auth = false; in rw_mfc_select()
[all …]
/system/security/keystore/
Dkey_config.proto34 // What auth types does this key require? If none, then no auth required.
Doperation_config.proto35 // What auth types does this op require? If none, then no auth required.
/system/sepolicy/prebuilts/api/28.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te24 # Need to add auth tokens to KeyStore
/system/sepolicy/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te23 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/30.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te23 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/29.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te23 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/26.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te24 # Need to add auth tokens to KeyStore
/system/sepolicy/prebuilts/api/27.0/public/
Dfingerprintd.te18 # Need to add auth tokens to KeyStore
Dgatekeeperd.te24 # Need to add auth tokens to KeyStore
/system/netd/server/
DXfrmController.cpp561 saInfo.auth = XfrmAlgo{ in ipSecAddSecurityAssociation()
881 nlattr_algo_auth auth{}; in updateSecurityAssociation() local
914 {&auth, 0}, // adjust size if auth algo is present in updateSecurityAssociation()
928 if (!record.aead.name.empty() && (!record.auth.name.empty() || !record.crypt.name.empty())) { in updateSecurityAssociation()
934 if (record.aead.key.size() > MAX_KEY_LENGTH || record.auth.key.size() > MAX_KEY_LENGTH || in updateSecurityAssociation()
955 len = iov[AUTH].iov_len = fillNlAttrXfrmAlgoAuth(record.auth, &auth); in updateSecurityAssociation()
998 strncpy(algo->auth.alg_name, inAlgo.name.c_str(), sizeof(algo->auth.alg_name)); in fillNlAttrXfrmAlgoAuth()
999 algo->auth.alg_key_len = inAlgo.key.size() * 8; // bits in fillNlAttrXfrmAlgoAuth()
1002 algo->auth.alg_trunc_len = inAlgo.truncLenBits; in fillNlAttrXfrmAlgoAuth()
DXfrmController.h122 XfrmAlgo auth; member
286 xfrm_algo_auth auth; member
/system/bt/doc/
Dpts_guide.md39 - `PTS_SmpOptions` sets SMP Pair options (formatted as hex bytes) `auth, io,
/system/core/adb/
DAndroid.bp214 "client/auth.cpp",
398 "daemon/auth.cpp",
/system/nfc/src/nfc/include/
Drw_int.h612 bool auth; member
/system/sepolicy/prebuilts/api/30.0/private/
Dservice_contexts31 auth u:object_r:auth_service:s0
/system/sepolicy/private/
Dservice_contexts31 auth u:object_r:auth_service:s0

12