Searched refs:oldRootSecret (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/useriam/user_auth_framework/services/core/src/ |
H A D | update_pin_param_impl.cpp | 21 …nParamImpl::UpdatePinParamImpl(uint64_t oldCredentialId, const std::vector<uint8_t> &oldRootSecret, in UpdatePinParamImpl() argument 23 …: oldCredentialId_(oldCredentialId), oldRootSecret_(oldRootSecret), rootSecret_(rootSecret), authT… in UpdatePinParamImpl()
|
H A D | update_pin_param_impl.h | 28 UpdatePinParamImpl(uint64_t oldCredentialId, const std::vector<uint8_t> &oldRootSecret,
|
H A D | enrollment_impl.cpp | 185 …= Common::MakeShared<UpdatePinParamImpl>(resultInfo.oldInfo.credentialId, resultInfo.oldRootSecret, in Update()
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | update_pin_param_test.cpp | 46 std::vector<uint8_t> oldRootSecret = { 2, 3, 4 }; variable 49 …auto pinInfo = Common::MakeShared<UpdatePinParamImpl>(credentialId, oldRootSecret, rootSecret, aut…
|
/ohos5.0/base/useriam/user_auth_framework/services/context/src/ |
H A D | enroll_context.cpp | 160 std::vector<uint8_t> oldRootSecret = pinInfo->GetOldRootSecret(); in InvokeResultCallback() local 161 if (oldRootSecret.size() != 0) { in InvokeResultCallback() 162 … bool setRet = finalResult.SetUint8ArrayValue(Attributes::ATTR_OLD_ROOT_SECRET, oldRootSecret); in InvokeResultCallback()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/service/ |
H A D | user_auth_interface_service.cpp | 939 info.oldRootSecret.resize(ROOT_SECRET_LEN); in GetUpdateResult() 940 …if (memcpy_s(info.oldRootSecret.data(), ROOT_SECRET_LEN, output.oldRootSecret->buf, ROOT_SECRET_LE… in GetUpdateResult() 959 …(void)memset_s(info.oldRootSecret.data(), info.oldRootSecret.size(), 0, info.oldRootSecret.size()); in GetUpdateResult() 960 info.oldRootSecret.clear(); in GetUpdateResult() 966 DestoryBuffer(output.oldRootSecret); in GetUpdateResult() 1143 Buffer *oldRootSecret = GetCacheRootSecret(userId); in DeleteUser() local 1144 if (!IsBufferValid(oldRootSecret)) { in DeleteUser() 1148 …if (memcpy_s(rootSecret.data(), rootSecret.size(), oldRootSecret->buf, oldRootSecret->contentSize)… in DeleteUser() 1153 DestoryBuffer(oldRootSecret); in DeleteUser()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/idm/src/ |
H A D | user_idm_funcs.c | 485 output->oldRootSecret = GetCacheRootSecret(userId); in GetUpdateCredentialOutput() 486 if (!IsBufferValid(output->oldRootSecret)) { in GetUpdateCredentialOutput() 500 DestoryBuffer(output->oldRootSecret); in GetUpdateCredentialOutput() 501 output->oldRootSecret = NULL; in GetUpdateCredentialOutput()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/idm/inc/ |
H A D | user_idm_funcs.h | 44 Buffer *oldRootSecret; member
|
/ohos5.0/drivers/interface/user_auth/v2_0/ |
H A D | UserAuthTypes.idl | 315 unsigned char[] oldRootSecret;
|
/ohos5.0/drivers/interface/user_auth/v3_0/ |
H A D | UserAuthTypes.idl | 325 unsigned char[] oldRootSecret;
|