/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | update.rs | 22 let secret = function!().as_bytes(); in update_same_secret() localVariable 39 let secret = function!().as_bytes(); in update_different_secret() localVariable 62 let secret = function!().as_bytes(); in update_attr_normal() localVariable
|
H A D | add.rs | 90 let secret = "中文"; in add_chinese_secret() localVariable
|
/ohos5.0/base/security/asset/services/core_service/src/operations/ |
H A D | operation_query.rs | 44 let secret = db_data.get_bytes_attr(&column::SECRET)?; in upgrade_version() localVariable 63 let secret = db_data.get_bytes_attr(&column::SECRET)?; in decrypt_secret() localVariable 65 let secret = Crypto::decrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in decrypt_secret() localVariable 75 let secret = db_data.get_bytes_attr(&column::SECRET)?; in exec_crypto() localVariable 80 let secret = crypto.exec_crypt(secret, &common::build_aad(db_data)?, auth_token)?; in exec_crypto() localVariable
|
H A D | operation_update.rs | 31 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt() localVariable
|
H A D | operation_add.rs | 39 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt_secret() localVariable
|
/ohos5.0/base/security/asset/test/unittest/kits_ndk/src/ |
H A D | asset_add_test.cpp | 103 …Asset_Blob secret = { .size = 0, .data = reinterpret_cast<uint8_t*>(const_cast<char*>(__func__)) }; variable 137 …Asset_Blob secret = { .size = 0, .data = reinterpret_cast<uint8_t*>(const_cast<char*>(__func__)) }; variable 156 …Asset_Blob secret = { .size = 0, .data = reinterpret_cast<uint8_t*>(const_cast<char*>(__func__)) }; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 47 const std::vector<uint8_t> &secret) in ActiveUserKey() 63 const std::vector<uint8_t> &secret) in UnlockUserScreen() 101 const std::vector<uint8_t> &secret) in GenerateUserKeyByType() 108 const std::vector<uint8_t> &secret) in ActiveCeSceSeceUserKey()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/ |
H A D | key_manager_test.cpp | 260 const std::vector<uint8_t> secret = {1}; variable 277 std::vector<uint8_t> secret = {}; variable 357 const std::vector<uint8_t> secret = {}; variable 380 const std::vector<uint8_t> secret = {}; variable 1361 std::string secret = "bad_secret"; variable 1403 std::string secret = "bad_secret"; variable 1446 std::string secret = "bad_secret"; variable 1656 std::string secret = "bad_secret"; variable 1677 std::string secret = "bad_secret"; variable
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_dl_common_mock/ |
H A D | pake_protocol_dl_common_mock.c | 28 int32_t GenerateDlPakeParams(PakeBaseParams *params, const Uint8Buff *secret) in GenerateDlPakeParams()
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common_mock/ |
H A D | pake_protocol_ec_common_mock.c | 28 int32_t GenerateEcPakeParams(PakeBaseParams *params, Uint8Buff *secret) in GenerateEcPakeParams()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_manager.cpp | 652 const std::vector<uint8_t> &secret) in GenerateUserKeyByType() 931 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1092 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1216 … const std::vector<uint8_t> &secret, std::shared_ptr<BaseKey> elKey) in UpdateCeEceSeceUserAuth() 1244 const std::vector<uint8_t> &secret, std::shared_ptr<BaseKey> elKey) in UpdateCeEceSeceUserAuth() 1277 …ockUserScreen(uint32_t user, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1319 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1342 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1776 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() 1790 const std::vector<uint8_t> &secret) in UpdateCeEceSeceUserAuth() [all …]
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_dl_common/ |
H A D | pake_protocol_dl_common.c | 125 int32_t GenerateDlPakeParams(PakeBaseParams *params, const Uint8Buff *secret) in GenerateDlPakeParams()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/ |
H A D | storage_manager_client.cpp | 102 const std::vector<uint8_t> &secret) in ActiveUserKey() 148 const std::vector<uint8_t> &secret) in UnlockUserScreen()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/crypto/ |
H A D | filesystem_crypto.cpp | 94 const std::vector<uint8_t> &secret) in ActiveUserKey() 137 const std::vector<uint8_t> &secret) in UnlockUserScreen()
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/ |
H A D | pake_protocol_ec_common.c | 77 int32_t GenerateEcPakeParams(PakeBaseParams *params, Uint8Buff *secret) in GenerateEcPakeParams()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ |
H A D | sdc.cpp | 156 std::vector<uint8_t> secret(args[INDEX_4].begin(), args[INDEX_4].end()); in ActiveUserKey() local 206 std::vector<uint8_t> secret(args[INDEX_4].begin(), args[INDEX_4].end()); in UnlockUserScreen() local
|
/ohos5.0/base/account/os_account/services/accountmgr/src/account_iam/ |
H A D | inner_account_iam_manager.cpp | 426 … InnerAccountIAMManager::HandleFileKeyException(int32_t userId, const std::vector<uint8_t> &secret, in HandleFileKeyException() 638 int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in UnlockUserScreen() 655 int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in InnerUnlockUserScreen() 673 int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in ActivateUserKey() 690 int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in InnerActivateUserKey()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon.cpp | 522 const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in PrepareUserDirsAndUpdateUserAuth() 603 const std::vector<uint8_t> &secret) in GenerateKeyAndPrepareUserDirs() 640 const std::vector<uint8_t> &secret) in ActiveUserKeyAndPrepare() 678 const std::vector<uint8_t> &secret) in ActiveUserKeyAndPrepareElX() 705 const std::vector<uint8_t> &secret) in ActiveUserKey() 830 const std::vector<uint8_t> &secret) in UnlockUserScreen()
|
/ohos5.0/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/ |
H A D | storagemanagerproxy_fuzzer.cpp | 41 std::vector<uint8_t> secret; in StorageManagerProxyFuzzTest() local
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db.c | 345 static ResultCode WriteAddPinInfo(const Buffer *secret, const Buffer *pinCredentialData, uint8_t *s… in WriteAddPinInfo() 534 Buffer *secret = CreateBufferBySize(SECRET_SIZE); in CreateSecretBuffer() local 548 static ResultCode ProcessAddPin(const Buffer *deviceKey, const Buffer *secret, PinEnrollParam *pinE… in ProcessAddPin() 600 Buffer *secret = CreateSecretBuffer(); in AddPin() local 946 Buffer *secret = CreateBufferBySize(SECRET_SIZE); in ProcessAuthPin() local
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_service_mock.h | 138 const std::vector<uint8_t> &secret) override in ActiveUserKey() 155 const std::vector<uint8_t> &secret) override in UnlockUserScreen()
|
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/adaptor/src/ |
H A D | adaptor_algorithm_test.cpp | 233 Buffer *secret = CreateBufferBySize(SECRET_SIZE); variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
H A D | storage_daemon_client.cpp | 276 const std::vector<uint8_t> &secret) in ActiveUserKey() 325 const std::vector<uint8_t> &secret) in UnlockUserScreen()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 119 const std::vector<uint8_t> &secret) in ActiveUserKey() 136 const std::vector<uint8_t> &secret) in UnlockUserScreen()
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
H A D | pake_v1_protocol_common.c | 180 Uint8Buff secret = { secretVal, PAKE_SECRET_LEN }; in GeneratePakeParams() local
|