Home
last modified time | relevance | path

Searched refs:keyIn (Results 1 - 5 of 5) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp1010 void BaseKey::SplitKeyBlob(const KeyBlob &keyIn, KeyBlob &encAad, KeyBlob &nonce, uint32_t start) in StoreKey() argument
1012 std::vector<uint8_t> inVct(keyIn.data.get(), keyIn.data.get() + keyIn.size); in StoreKey()
1014 nonce.Alloc(keyIn.size - start); in StoreKey()
1072 bool BaseKey::SplitKeyCtx(const KeyBlob &keyIn, KeyBlob &nonce, KeyBlob &rndEnc, KeyBlob &aad) in StoreKey() argument
1075 if (keyIn.size < (nonce.size + aad.size)) { in StoreKey()
1076 LOGE("Invalid keyIn size is too small"); in StoreKey()
1079 std::vector<uint8_t> keyInVct(keyIn.data.get(), keyIn in StoreKey()
[all...]
H A Dhuks_master.cpp183 HksBlob keyIn = {1, &data}; in HdiGenerateKey() local
184 auto ret = halDevice_->HuksHdiGenerateKey(&keyAlias, paramSetIn, &keyIn, &keyOut); in HdiGenerateKey()
197 retryRet = halDevice_->HuksHdiGenerateKey(&keyAlias, paramSetIn, &keyIn, &keyOut); in HdiGenerateKey()
642 const KeyBlob &keyIn, KeyBlob &keyOut) in HuksHalTripleStage()
646 HksBlob hksIn = keyIn.ToHksBlob(); in HuksHalTripleStage()
641 HuksHalTripleStage(HksParamSet *paramSet1, const HksParamSet *paramSet2, const KeyBlob &keyIn, KeyBlob &keyOut) HuksHalTripleStage() argument
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v2_test/
H A Dfscrypt_key_v2_test.cpp363 KeyBlob keyIn; in HWTEST_F() local
365 EXPECT_FALSE(g_testKeyV2.SplitKeyCtx(keyIn, nonce, rndEnc, aad)); in HWTEST_F()
411 KeyBlob keyIn(keyInVct); in HWTEST_F()
414 g_testKeyV2.SplitKeyBlob(keyIn, encAad, nonce, start); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h113 bool SplitKeyCtx(const KeyBlob &keyIn, KeyBlob &nonce, KeyBlob &rndEnc, KeyBlob &aad);
115 void SplitKeyBlob(const KeyBlob &keyIn, KeyBlob &encAad, KeyBlob &nonce, uint32_t start);
H A Dhuks_master.h64 const KeyBlob &keyIn, KeyBlob &keyOut);

Completed in 5 milliseconds