Home
last modified time | relevance | path

Searched defs:auth (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dbase_key_mock.cpp39 bool BaseKey::StoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey()
47 bool BaseKey::StoreKey(const UserAuth &auth) in StoreKey()
72 bool BaseKey::RestoreKey(const UserAuth &auth, bool needSyncCandidate) in RestoreKey()
88 bool BaseKey::DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in DecryptKeyBlob()
97 bool BaseKey::EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in EncryptKeyBlob()
H A Dfscrypt_key_v2_mock.cpp102 bool FscryptKeyV2::DecryptClassE(const UserAuth &auth, bool &isSupport, in DecryptClassE()
111 bool FscryptKeyV2::EncryptClassE(const UserAuth &auth, bool &isSupport, uint32_t user, uint32_t sta… in EncryptClassE()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_manager.c96 static AuthManager *DupAuthManager(const AuthManager *auth) in DupAuthManager()
113 void DelDupAuthManager(AuthManager *auth) in DelDupAuthManager()
120 void DelAuthManager(AuthManager *auth, int32_t type) in DelAuthManager()
274 AuthManager *auth = FindAuthManagerByAuthId(authId); in UpdateAuthManagerByAuthId() local
294 AuthManager *auth = FindAuthManagerByAuthId(authId); in RemoveAuthSessionKeyByIndex() local
347 static bool HasAuthPassed(AuthManager *auth) in HasAuthPassed()
394 AuthManager *auth = FindAuthManagerByUuid(uuid, type, false); in GetAuthConnInfoByUuid() local
418 AuthManager *auth = FindAuthManagerByUuid(uuid, type, false); in GetAvailableAuthConnInfoByUuid() local
487 AuthManager *auth = FindAuthManagerByConnId(connId, isServer); in GetAuthIdByConnId() local
989 AuthManager *auth = NULL; in AuthManagerSetAuthFailed() local
[all …]
H A Dauth_device.c184 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthDevicePostTransData() local
221 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthDeviceEncrypt() local
244 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthDeviceDecrypt() local
269 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthDeviceGetConnInfo() local
284 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthDeviceGetServerSide() local
299 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthDeviceGetDeviceUuid() local
318 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthDeviceGetVersion() local
353 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthNotifyDeviceVerifyPassed() local
615 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthStartReconnectDevice() local
647 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthCheckSessionKey() local
[all …]
H A Dauth_interface.c230 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthCheckSessionKeyValidByAuthHandle() local
265 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthPostTransData() local
279 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthCloseConn() local
459 AuthManager *auth = GetAuthManagerByConnInfo(&info->connInfo, info->isServer); in AuthDirectOnlineProcessSessionKey() local
536 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthEncrypt() local
551 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthDecrypt() local
561 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthSetP2pMac() local
575 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthGetConnInfo() local
585 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthGetDeviceUuid() local
600 AuthManager *auth = GetAuthManagerByAuthId(authId); in AuthGetServerSide() local
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp193 bool BaseKey::StoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey()
227 bool BaseKey::DoStoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey()
329 bool BaseKey::LoadAndSaveShield(const UserAuth &auth, const std::string &pathShield, in StoreKey()
421 bool BaseKey::EncryptDe(const UserAuth &auth, const std::string &path) in StoreKey()
481 bool BaseKey::RestoreKey(const UserAuth &auth, bool needSyncCandidate) in StoreKey()
520 bool BaseKey::DoRestoreKeyEx(const UserAuth &auth, const std::string &keyPath) in StoreKey()
564 bool BaseKey::DoRestoreKeyOld(const UserAuth &auth, const std::string &path) in StoreKey()
597 bool BaseKey::DoRestoreKeyDe(const UserAuth &auth, const std::string &path) in StoreKey()
672 bool BaseKey::DoRestoreKey(const UserAuth &auth, const std::string &path) in StoreKey()
700 bool BaseKey::DoUpdateRestore(const UserAuth &auth, const std::string &keyPath) in StoreKey()
[all …]
H A Dhuks_master.cpp354 static int AppendSecureAccessParams(const UserAuth &auth, HksParamSet *paramSet) in AppendSecureAccessParams()
389 bool HuksMaster::GenerateKey(const UserAuth &auth, KeyBlob &keyOut) in GenerateKey()
490 static int AppendNonceAadTokenEx(KeyContext &ctx, const UserAuth &auth, HksParamSet *paramSet, bool… in AppendNonceAadTokenEx()
509 static int AppendNewNonceAadToken(KeyContext &ctx, const UserAuth &auth, HksParamSet *paramSet, con… in AppendNewNonceAadToken()
530 static int AppendNonceAadToken(KeyContext &ctx, const UserAuth &auth, HksParamSet *paramSet) in AppendNonceAadToken()
559 static HksParamSet *GenHuksOptionParamEx(KeyContext &ctx, const UserAuth &auth, const bool isEncryp… in GenHuksOptionParamEx()
611 const UserAuth &auth, in GenHuksOptionParam()
698 bool HuksMaster::EncryptKeyEx(const UserAuth &auth, const KeyBlob &rnd, KeyContext &ctx) in EncryptKeyEx()
732 bool HuksMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedN… in EncryptKey()
765 bool HuksMaster::DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonc… in DecryptKey()
[all …]
H A Dkey_manager.cpp188 …enerateAndInstallUserKey(uint32_t userId, const std::string &dir, const UserAuth &auth, KeyType ty… in GenerateAndInstallUserKey()
230 …KeyManager::GenerateAndInstallEl5Key(uint32_t userId, const std::string &dir, const UserAuth &auth) in GenerateAndInstallEl5Key()
269 int KeyManager::RestoreUserKey(uint32_t userId, const std::string &dir, const UserAuth &auth, KeyTy… in RestoreUserKey()
676 UserAuth auth = { .token = token, .secret = secret, .secureUid = secureUid }; in GenerateUserKeyByType() local
869 …UserAuth auth = { .token = tokenSecret.token, .secret = tokenSecret.newSecret, .secureUid = tokenS… in UpdateESecret() local
899 UserAuth auth = { {}, userTokenSecret.oldSecret, userTokenSecret.secureUid }; in UpdateCeEceSeceUserAuth() local
1225 UserAuth auth = { .token = token, .secret = secret }; in UpdateCeEceSeceUserAuth() local
1250 UserAuth auth = { token, secret }; in UpdateCeEceSeceUserAuth() local
1344 UserAuth auth = {.token = token, .secret = secret}; in UpdateCeEceSeceUserAuth() local
1804 UserAuth auth = { .token = token, .secret = secret, .secureUid = secureUid }; in UpdateCeEceSeceUserAuth() local
[all …]
H A Dfscrypt_key_v2.cpp179 bool FscryptKeyV2::DecryptClassE(const UserAuth &auth, bool &isSupport, in DecryptClassE()
191 bool FscryptKeyV2::EncryptClassE(const UserAuth &auth, bool &isSupport, uint32_t user, uint32_t sta… in EncryptClassE()
H A Dfscrypt_key_v1.cpp227 bool FscryptKeyV1::DoDecryptClassE(const UserAuth &auth, KeyBlob &eSecretFBE, KeyBlob &decryptedKey, in DoDecryptClassE()
267 bool FscryptKeyV1::DecryptClassE(const UserAuth &auth, bool &isSupport, bool &eBufferStatue, in DecryptClassE()
306 bool FscryptKeyV1::EncryptClassE(const UserAuth &auth, bool &isSupport, uint32_t user, uint32_t sta… in EncryptClassE()
H A Dkey_backup.cpp109 int32_t KeyBackup::TryRestoreKey(const std::shared_ptr<BaseKey> &baseKey, const UserAuth &auth) in TryRestoreKey()
135 const UserAuth &auth, in TryRestoreUeceKey()
206 int32_t KeyBackup::DoResotreKeyMix(std::shared_ptr<BaseKey> &baseKey, const UserAuth &auth, const s… in DoResotreKeyMix()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_lane_test.cpp284 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
330 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
374 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
414 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
460 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
507 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
550 AuthManager *auth = FindAuthManagerByConnInfo(&connInfo, false); variable
H A Dauth_manager_test.cpp129 AuthManager *auth = NewAuthManager(AUTH_SEQ, &info); variable
189 AuthManager *auth = FindAuthManagerByConnId(CONN_ID, true); variable
226 AuthManager *auth = GetAuthManagerByConnInfo(&connInfo, false); variable
259 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_4, &info, &isNewCreated, AUTH_SEQ_4); variable
287 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_5, &info, &isNewCreated, AUTH_SEQ_5); variable
329 AuthManager *auth = GetDeviceAuthManager(AUTH_SEQ_1, &info, &isNewCreated, AUTH_SEQ_1); variable
591 AuthManager *auth = NewAuthManager(authHandle.authId, &info); variable
734 AuthManager *auth = NewAuthManager(AUTH_SEQ, &info); variable
762 AuthManager *auth = NewAuthManager(AUTH_SEQ, &info); variable
924 AuthManager *auth = NewAuthManager(AUTH_SEQ, &info); variable
[all …]
H A Dauth_test.cpp577 AuthManager auth = { 0 }; variable
596 const AuthManager *auth = nullptr; variable
929 AuthManager *auth = NewAuthManager(authId, &info); variable
1090 AuthManager *auth = NewAuthManager(authId, &info); variable
1180 AuthManager *auth = NewAuthManager(authId, &info); variable
1216 AuthManager *auth = NewAuthManager(authId, &info); variable
1249 AuthManager *auth = NewAuthManager(authId, &info); variable
1276 AuthManager *auth = NewAuthManager(authId, &info); variable
1299 AuthManager *auth = NewAuthManager(authId, &info); variable
1343 AuthManager *auth = NewAuthManager(authId, &info); variable
[all …]
H A Dauth_other_test.cpp222 AuthManager *auth = NewAuthManager(authSeq, &info); variable
255 AuthManager *auth = NewAuthManager(authId, &info); variable
282 AuthManager *auth = NewAuthManager(authSeq, &info); variable
314 AuthManager *auth = NewAuthManager(authId, &info); variable
357 AuthManager *auth = NewAuthManager(authId, &info); variable
/ohos5.0/base/msdp/device_status/utils/common/src/
H A Ddevicestatus_permission.cpp33 …int32_t auth = Security::AccessToken::AccessTokenKit::VerifyAccessToken(callingToken, permissionNa… in CheckCallingPermission() local
/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_factory.cpp39 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateSimpleAuthContext() local
92 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateRemoteAuthContext() local
H A Dsimple_auth_context.cpp121 SimpleAuthContext::SimpleAuthContext(uint64_t contextId, std::shared_ptr<Authentication> auth, in SimpleAuthContext()
128 …impleAuthContext(const std::string &type, uint64_t contextId, std::shared_ptr<Authentication> auth, in SimpleAuthContext()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp628 UserAuth auth; variable
673 UserAuth auth; variable
717 UserAuth auth; variable
759 UserAuth auth; variable
794 UserAuth auth; variable
838 UserAuth auth; variable
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_process_skeleton.cpp1305 const std::string &deviceId, const std::shared_ptr<CommAuthInfo> &auth) in IsSameRemoteObject()
1316 const std::shared_ptr<CommAuthInfo> &auth) in IsSameRemoteObject()
1368 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { in DetachCommAuthInfoBySocketId()
1380 auto check = [&pid, &uid, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in QueryCommAuthInfo()
1404 auto check = [&pid, &uid, &deviceId, this](const std::shared_ptr<CommAuthInfo> &auth) { in UpdateCommAuthSocketInfo()
1444 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in AttachOrUpdateAppAuthInfo()
1486 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfo()
1506 auto check = [&stub](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfoByStub()
1529 auto check = [&socketId](const std::shared_ptr<CommAuthInfo> &auth) { in DetachAppAuthInfoBySocketId()
1564 auto check = [&appAuthInfo, this](const std::shared_ptr<CommAuthInfo> &auth) { in QueryCommAuthInfo()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_process_skeleton_unittest.cpp1383 std::shared_ptr<CommAuthInfo> auth = variable
1405 std::shared_ptr<CommAuthInfo> auth = variable
1427 std::shared_ptr<CommAuthInfo> auth = variable
1449 std::shared_ptr<CommAuthInfo> auth = variable
1471 std::shared_ptr<CommAuthInfo> auth = variable
1493 std::shared_ptr<CommAuthInfo> auth = variable
1516 std::shared_ptr<CommAuthInfo> auth = variable
1562 std::shared_ptr<CommAuthInfo> auth = variable
1588 std::shared_ptr<CommAuthInfo> auth = variable
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/include/
H A Dnapi_app_account_authenticator.h41 napi_ref auth = nullptr; member
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs77 let auth = encode(format!("{username}:{password}").as_bytes()); in basic_auth() localVariable
80 let mut auth = HeaderValue::from_bytes(auth.as_slice()).unwrap(); in basic_auth() localVariable
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
H A Dpinning.rs97 let auth = match (parsed.host(), parsed.port()) { in add() localVariable
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_socket.cpp364 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth) in impl()
390 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth, in impl()
405 …ientSocket::ClientSocket(const BluetoothRemoteDevice &bda, UUID uuid, BtSocketType type, bool auth) in ClientSocket()
413 …ientSocket::ClientSocket(const BluetoothRemoteDevice &bda, UUID uuid, BtSocketType type, bool auth, in ClientSocket()

12