Home
last modified time | relevance | path

Searched defs:secret (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dupdate.rs22 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 Dadd.rs90 let secret = "中文"; in add_chinese_secret() localVariable
/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Doperation_query.rs44 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 Doperation_update.rs31 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt() localVariable
H A Doperation_add.rs39 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 Dasset_add_test.cpp103 …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 Dkey_manager_mock.cpp47 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 Dkey_manager_test.cpp260 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 Dpake_protocol_dl_common_mock.c28 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 Dpake_protocol_ec_common_mock.c28 int32_t GenerateEcPakeParams(PakeBaseParams *params, Uint8Buff *secret) in GenerateEcPakeParams()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp652 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()
1216const 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 Dpake_protocol_dl_common.c125 int32_t GenerateDlPakeParams(PakeBaseParams *params, const Uint8Buff *secret) in GenerateDlPakeParams()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/
H A Dstorage_manager_client.cpp102 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 Dfilesystem_crypto.cpp94 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 Dpake_protocol_ec_common.c77 int32_t GenerateEcPakeParams(PakeBaseParams *params, Uint8Buff *secret) in GenerateEcPakeParams()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/
H A Dsdc.cpp156 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 Dinner_account_iam_manager.cpp426 … 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 Dstorage_daemon.cpp522 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 Dstoragemanagerproxy_fuzzer.cpp41 std::vector<uint8_t> secret; in StorageManagerProxyFuzzTest() local
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c345 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 Dstorage_daemon_service_mock.h138 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 Dadaptor_algorithm_test.cpp233 Buffer *secret = CreateBufferBySize(SECRET_SIZE); variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp276 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 Dstorage_daemon_proxy_mock.cpp119 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 Dpake_v1_protocol_common.c180 Uint8Buff secret = { secretVal, PAKE_SECRET_LEN }; in GeneratePakeParams() local

12