Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsha256.c104 ctx->wbuf[] at this point is such that low address bytes in
116 FILLP_UINT32 *buf = ctx->wbuf; in FillpSha256Compile()
191 err = memcpy_s(((FILLP_UINT8 *)ctx->wbuf) + offset, freeSize, dataPtr, freeSize); in FillpSha256Upd()
201 FILLP_SWAP_32_ARRAY(ctx->wbuf, FILLP_SHA256_BLOCK_SIZE >> FILLP_SHA_TWO_PAR); in FillpSha256Upd()
206 err = memcpy_s(((FILLP_UINT8 *)ctx->wbuf) + offset, freeSize, dataPtr, (FILLP_UINT32)len); in FillpSha256Upd()
219 FILLP_SWAP_32_ARRAY(ctx->wbuf, (offset + FILLP_SHA_THREE_PAR) >> FILLP_SHA_TWO_PAR); in FillpSha256Fin()
224 ctx->wbuf[offset >> FILLP_SHA_TWO_PAR] &= (FILLP_UINT32)0xffffff80 << shfBits; in FillpSha256Fin()
225 ctx->wbuf[offset >> FILLP_SHA_TWO_PAR] |= (FILLP_UINT32)0x00000080 << shfBits; in FillpSha256Fin()
231 ctx->wbuf[FILLP_SHAWK_ARRAY_SZ_MOD] = 0; in FillpSha256Fin()
242 ctx->wbuf[offse in FillpSha256Fin()
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dsha256.h26 #define FILLP_SHA256_BLOCK_SIZE 64 /* wbuf size in bytes 16 * sizeof(FILLP_UINT32) */
31 FILLP_UINT32 wbuf[16]; member

Completed in 1 milliseconds