Searched refs:peerDevPkLen (Results 1 – 2 of 2) sorted by relevance
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | mk_agree_test.cpp | 91 uint32_t peerDevPkLen = HcStrlen(TEST_DEV_PK) / BYTE_TO_HEX_OPER_LENGTH; variable 92 uint8_t *peerDevPkVal = static_cast<uint8_t *>(HcMalloc(peerDevPkLen, 0)); 94 int32_t ret = HexStringToByte(TEST_DEV_PK, peerDevPkVal, peerDevPkLen); 96 Uint8Buff peerPkBuff = { peerDevPkVal, peerDevPkLen }; 106 uint32_t peerDevPkLen = HcStrlen(TEST_DEV_PK) / BYTE_TO_HEX_OPER_LENGTH; variable 107 Uint8Buff peerPkBuff = { nullptr, peerDevPkLen }; 114 uint32_t peerDevPkLen = HcStrlen(TEST_DEV_PK) / BYTE_TO_HEX_OPER_LENGTH; variable 115 uint8_t *peerDevPkVal = static_cast<uint8_t *>(HcMalloc(peerDevPkLen, 0)); 117 int32_t ret = HexStringToByte(TEST_DEV_PK, peerDevPkVal, peerDevPkLen); 127 uint32_t peerDevPkLen = HcStrlen(TEST_DEV_PK) / BYTE_TO_HEX_OPER_LENGTH; variable [all …]
|
/base/security/device_auth/services/mk_agree/src/ |
D | mk_agree_task.c | 295 uint32_t peerDevPkLen = HcStrlen(peerDevPkStr) / BYTE_TO_HEX_OPER_LENGTH; in GenerateMkByPeer() local 296 uint8_t *peerDevPkVal = (uint8_t *)HcMalloc(peerDevPkLen, 0); in GenerateMkByPeer() 301 int32_t res = HexStringToByte(peerDevPkStr, peerDevPkVal, peerDevPkLen); in GenerateMkByPeer() 307 Uint8Buff peerPkBuff = { peerDevPkVal, peerDevPkLen }; in GenerateMkByPeer()
|