Searched refs:hashMessage (Results 1 – 5 of 5) sorted by relevance
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | group_operation_common_test.cpp | 191 uint8_t *hashMessage = NULL; variable 193 int32_t ret = GetHashMessage(nullptr, &NORMAL_BUFF, &hashMessage, &messageSize); 199 uint8_t *hashMessage = NULL; variable 201 int32_t ret = GetHashMessage(&NORMAL_BUFF, nullptr, &hashMessage, &messageSize); 214 uint8_t *hashMessage = NULL; variable 215 int32_t ret = GetHashMessage(&NORMAL_BUFF, &NORMAL_BUFF, &hashMessage, nullptr);
|
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/ |
D | peer_to_peer_group.c | 71 uint8_t *hashMessage = NULL; in GenerateGroupId() local 75 int32_t result = GetHashMessage(&groupNameBuff, &appIdBuff, &hashMessage, &messageSize); in GenerateGroupId() 83 HcFree(hashMessage); in GenerateGroupId() 86 result = GetHashResult(hashMessage, messageSize, *returnGroupId, hashStrLen); in GenerateGroupId() 87 HcFree(hashMessage); in GenerateGroupId()
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation_common.c | 474 int32_t GetHashMessage(const Uint8Buff *first, const Uint8Buff *second, uint8_t **hashMessage, uint… in GetHashMessage() argument 476 if ((first == NULL) || (second == NULL) || (hashMessage == NULL) || (messageSize == NULL)) { in GetHashMessage() 485 *hashMessage = (uint8_t *)HcMalloc(totalSize, 0); in GetHashMessage() 486 if (*hashMessage == NULL) { in GetHashMessage() 492 if (memcpy_s((*hashMessage), totalSize, first->val, firstSize) != HC_SUCCESS) { in GetHashMessage() 497 …if (memcpy_s((*hashMessage) + firstSize, totalSize - firstSize, separator, separatorSize) != HC_SU… in GetHashMessage() 502 …if (memcpy_s((*hashMessage) + firstSize + separatorSize, secondSize, second->val, secondSize) != H… in GetHashMessage() 508 HcFree(*hashMessage); in GetHashMessage() 509 *hashMessage = NULL; in GetHashMessage()
|
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/ |
D | across_account_group.c | 57 uint8_t *hashMessage = NULL; in GenerateGroupId() local 67 … int32_t result = GetHashMessage(&firstUserIdBuff, &secondUserIdBuff, &hashMessage, &messageSize); in GenerateGroupId() 75 HcFree(hashMessage); in GenerateGroupId() 78 result = GetHashResult(hashMessage, messageSize, *returnGroupId, hashStrLen); in GenerateGroupId() 79 HcFree(hashMessage); in GenerateGroupId()
|
/base/security/device_auth/services/group_manager/inc/ |
D | group_operation_common.h | 37 int32_t GetHashMessage(const Uint8Buff *first, const Uint8Buff *second, uint8_t **hashMessage, uint…
|