Searched refs:SHA256_SIGN_LEN (Results 1 – 5 of 5) sorted by relevance
25 #define SHA256_SIGN_LEN 32 macro28 #define AUTH_TOKEN_DATA_LEN (AUTH_TOKEN_LEN - SHA256_SIGN_LEN)
469 uint32_t authTokenDataSize = sizeof(struct HksUserAuthToken) - SHA256_SIGN_LEN; in HksVerifyAuthTokenSign()472 uint8_t computedMac[SHA256_SIGN_LEN] = {0}; in HksVerifyAuthTokenSign()473 struct HksBlob macBlob = { SHA256_SIGN_LEN, computedMac }; in HksVerifyAuthTokenSign()478 ret = HksMemCmp(computedMac, (uint8_t *)authToken + authTokenDataSize, SHA256_SIGN_LEN); in HksVerifyAuthTokenSign()
62 #define SHA256_SIGN_LEN 32 macro626 uint8_t sign[SHA256_SIGN_LEN];
60 #define SHA256_SIGN_LEN 32 macro
130 struct HksBlob outData = { SHA256_SIGN_LEN, authTokenHal->sign }; in AuthTokenSign()140 for (uint32_t i = 0; i < SHA256_SIGN_LEN; i++) { in AuthTokenSign()