Searched refs:keyIn (Results 1 - 5 of 5) sorted by relevance
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | base_key.cpp | 1010 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 D | huks_master.cpp | 183 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 D | fscrypt_key_v2_test.cpp | 363 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 D | base_key.h | 113 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 D | huks_master.h | 64 const KeyBlob &keyIn, KeyBlob &keyOut);
|
Completed in 5 milliseconds