Home
last modified time | relevance | path

Searched refs:FILLP_KEYSIZE (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dfillp_cookie.h26 #define FILLP_KEYSIZE 32u macro
37 FILLP_UINT8 digest[FILLP_KEYSIZE]; /* * HMAC-SHA256 Digest * */
59 FILLP_UINT8 digest[FILLP_KEYSIZE]; /* * HMAC-SHA256 Digest * */
83 FILLP_UINT8 currentMacKey[FILLP_KEYSIZE];
84 FILLP_UINT8 oldMacKey[FILLP_KEYSIZE];
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_cookie.c42 for (counter = 0; counter < FILLP_KEYSIZE; counter += (FILLP_UINT32)sizeof(FILLP_UINT32)) { in FillpMacTimerExpire()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_conn.c1900 (void)memcpy_s(stateCookie->digest, FILLP_KEYSIZE, pcb->pcbInst->macInfo.currentMacKey, FILLP_KEYSIZE); in FillpGenerateCookie()
1933 FillpHmacSha256Init(&ctx, pcb->pcbInst->macInfo.currentMacKey, FILLP_KEYSIZE, pcb->pcbInst); in FillpGenerateCookie()
1934 cookieDataPtr = (void *)((uintptr_t)(&cookieCal) + FILLP_KEYSIZE); in FillpGenerateCookie()
1935 FillpHmacSha256Update(&ctx, cookieDataPtr, (sizeof(FillpCookieContentCalculate) - FILLP_KEYSIZE)); in FillpGenerateCookie()
1936 FillpHmacSha256Final(&ctx, stateCookie->digest, FILLP_KEYSIZE); in FillpGenerateCookie()
1942 FILLP_UINT8 key[FILLP_KEYSIZE]; in FillpValidateCookieHmac()
1943 FILLP_UINT8 outDigest[FILLP_KEYSIZE] = {0}; in FillpValidateCookieHmac()
1968 for (count = 0; count < FILLP_KEYSIZE; count++) { in FillpValidateCookieHmac()
1972 for (count = 0; count < FILLP_KEYSIZE; coun in FillpValidateCookieHmac()
[all...]

Completed in 4 milliseconds