Home
last modified time | relevance | path

Searched refs:tempCtx (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dhmac.c71 FillpHmacSha256Ctx *tempCtx = (FillpHmacSha256Ctx *)ctx; in FillpHmacSha256Init() local
82 if (tempCtx == FILLP_NULL_PTR) { in FillpHmacSha256Init()
116 FillpSha256Set(tempCtx->hashki); in FillpHmacSha256Init()
118 FillpSha256Set(tempCtx->hashko); in FillpHmacSha256Init()
132 if (tempCtx == FILLP_NULL_PTR) { in FillpHmacSha256Update()
139 FillpSha256Upd(tempCtx->hashki, &x, 0); in FillpHmacSha256Update()
145 FillpSha256Upd(tempCtx->hashki, data, dlen); in FillpHmacSha256Update()
153 if (tempCtx == FILLP_NULL_PTR) { in FillpHmacSha256Final()
163 FillpSha256Fin(tempCtx->hashki, digest, size); in FillpHmacSha256Final()
164 FillpSha256Upd(tempCtx->hashko, digest, size); in FillpHmacSha256Final()
[all …]
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_s_server_test.cpp189 DhcpServerContext tempCtx; variable
190 tempCtx.instance = nullptr;
191 ASSERT_TRUE(memset_s(&tempCtx, sizeof(DhcpServerContext), 0, sizeof(DhcpServerContext)) == EOK);
193 EXPECT_EQ(RET_FAILED, SaveLease(&tempCtx));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp657 KeyContext tempCtx = {}; in StoreKey() local
658 DoTempStore(keyContext_, tempCtx); in StoreKey()
659 if (!HuksMaster::GetInstance().DecryptKeyEx(tempCtx, mUserAuth, keyInfo_.key)) { in StoreKey()
661 ClearKeyContext(tempCtx); in StoreKey()
664 ClearKeyContext(tempCtx); in StoreKey()