Home
last modified time | relevance | path

Searched refs:oldRootSecret (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dupdate_pin_param_impl.cpp21 …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 Dupdate_pin_param_impl.h28 UpdatePinParamImpl(uint64_t oldCredentialId, const std::vector<uint8_t> &oldRootSecret,
H A Denrollment_impl.cpp185 …= Common::MakeShared<UpdatePinParamImpl>(resultInfo.oldInfo.credentialId, resultInfo.oldRootSecret, in Update()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dupdate_pin_param_test.cpp46 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 Denroll_context.cpp160 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 Duser_auth_interface_service.cpp939 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 Duser_idm_funcs.c485 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 Duser_idm_funcs.h44 Buffer *oldRootSecret; member
/ohos5.0/drivers/interface/user_auth/v2_0/
H A DUserAuthTypes.idl315 unsigned char[] oldRootSecret;
/ohos5.0/drivers/interface/user_auth/v3_0/
H A DUserAuthTypes.idl325 unsigned char[] oldRootSecret;