/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | base_key_mock.cpp | 39 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 D | fscrypt_key_v2_mock.cpp | 102 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 D | auth_manager.c | 96 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 D | auth_device.c | 184 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 D | auth_interface.c | 230 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 D | base_key.cpp | 193 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 D | huks_master.cpp | 354 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 D | key_manager.cpp | 188 …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 D | fscrypt_key_v2.cpp | 179 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 D | fscrypt_key_v1.cpp | 227 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 D | key_backup.cpp | 109 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 D | auth_lane_test.cpp | 284 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 D | auth_manager_test.cpp | 129 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 D | auth_test.cpp | 577 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 D | auth_other_test.cpp | 222 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 D | devicestatus_permission.cpp | 33 …int32_t auth = Security::AccessToken::AccessTokenKit::VerifyAccessToken(callingToken, permissionNa… in CheckCallingPermission() local
|
/ohos5.0/base/useriam/user_auth_framework/services/context/src/ |
H A D | context_factory.cpp | 39 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateSimpleAuthContext() local 92 auto auth = Common::MakeShared<AuthenticationImpl>(newContextId, para); in CreateRemoteAuthContext() local
|
H A D | simple_auth_context.cpp | 121 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 D | key_manager_test.cpp | 628 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 D | ipc_process_skeleton.cpp | 1305 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 D | ipc_process_skeleton_unittest.cpp | 1383 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 D | napi_app_account_authenticator.h | 41 napi_ref auth = nullptr; member
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | proxy.rs | 77 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 D | pinning.rs | 97 let auth = match (parsed.host(), parsed.port()) { in add() localVariable
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_socket.cpp | 364 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()
|