Home
last modified time | relevance | path

Searched refs:encAad (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h111 void CombKeyBlob(const KeyBlob &encAad, const KeyBlob &end, KeyBlob &keyOut);
112 void SplitKeyBlob(const KeyBlob &keyIn, KeyBlob &encAad, KeyBlob &nonce, uint32_t start);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp972 void BaseKey::CombKeyBlob(const KeyBlob &encAad, const KeyBlob &end, KeyBlob &keyOut) in StoreKey() argument
974 std::vector<uint8_t> startVct(encAad.data.get(), encAad.data.get() + encAad.size); in StoreKey()
982 void BaseKey::SplitKeyBlob(const KeyBlob &keyIn, KeyBlob &encAad, KeyBlob &nonce, uint32_t start) in StoreKey() argument
985 encAad.Alloc(start); in StoreKey()
987 std::copy(inVct.begin(), inVct.begin() + start, encAad.data.get()); in StoreKey()