Home
last modified time | relevance | path

Searched refs:SHA256_SIGN_LEN (Results 1 – 5 of 5) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_access_control_test_common.h25 #define SHA256_SIGN_LEN 32 macro
28 #define AUTH_TOKEN_DATA_LEN (AUTH_TOKEN_LEN - SHA256_SIGN_LEN)
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob.c469 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()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h62 #define SHA256_SIGN_LEN 32 macro
626 uint8_t sign[SHA256_SIGN_LEN];
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h60 #define SHA256_SIGN_LEN 32 macro
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_test_common.cpp130 struct HksBlob outData = { SHA256_SIGN_LEN, authTokenHal->sign }; in AuthTokenSign()
140 for (uint32_t i = 0; i < SHA256_SIGN_LEN; i++) { in AuthTokenSign()