Home
last modified time | relevance | path

Searched refs:cachePasswd (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dlocal_database_oper.cpp57 CipherPassword cachePasswd; in RekeyPreHandle() local
58 localKvDb_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle()
60 if (cachePasswd.GetSize() == 0 && passwd.GetSize() == 0) { in RekeyPreHandle()
66 if (cachePasswd.GetSize() > 0 && passwd.GetSize() > 0) { in RekeyPreHandle()
H A Dmulti_ver_database_oper.cpp68 CipherPassword cachePasswd; in RekeyPreHandle() local
69 multiVerNaturalStore_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle()
71 if (cachePasswd.GetSize() == 0 && passwd.GetSize() == 0) { in RekeyPreHandle()
H A Dsingle_ver_database_oper.cpp91 CipherPassword cachePasswd; in RekeyPreHandle() local
92 singleVerNaturalStore_->GetDbProperties().GetPassword(cipherType, cachePasswd); in RekeyPreHandle()
94 if (cachePasswd.GetSize() == 0 && passwd.GetSize() == 0) { in RekeyPreHandle()
100 if (cachePasswd.GetSize() > 0 && passwd.GetSize() > 0) { in RekeyPreHandle()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp1016 CipherPassword cachePasswd; in CheckKvDBProperties() local
1018 kvDB->GetMyProperties().GetPassword(cacheType, cachePasswd); in CheckKvDBProperties()
1020 if (isNeedCheckPasswd && (cachePasswd != inputPasswd || in CheckKvDBProperties()