| /base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
| D | hex_string_test.cpp | 54 …EXPECT_EQ(ByteToHexString(nullptr, 0, hexStrBuffer, sizeof(hexStrBuffer)), DLP_SERVICE_ERROR_VALUE… 57 …EXPECT_EQ(ByteToHexString(byteBuffer, sizeof(byteBuffer), nullptr, 1), DLP_SERVICE_ERROR_VALUE_INV… 60 …EXPECT_EQ(ByteToHexString(byteBuffer, sizeof(byteBuffer), hexStrBuffer, 1), DLP_SERVICE_ERROR_VALU… 63 …EXPECT_EQ(ByteToHexString(byteBuffer, sizeof(byteBuffer), hexStrBuffer, sizeof(hexStrBuffer)), DLP…
|
| /base/security/device_security_level/baselib/utils/include/ |
| D | utils_hexstring.h | 25 void ByteToHexString(const uint8_t *hex, uint32_t hexLen, uint8_t *str, uint32_t strLen);
|
| /base/security/dlp_permission_service/frameworks/common/include/ |
| D | hex_string.h | 25 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen);
|
| /base/security/device_auth/common_lib/interfaces/ |
| D | string_util.h | 48 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen);
|
| /base/security/dlp_permission_service/frameworks/common/src/ |
| D | hex_string.cpp | 29 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function
|
| /base/security/device_security_level/baselib/utils/src/ |
| D | utils_hexstring.c | 37 void ByteToHexString(const uint8_t *hex, uint32_t hexLen, uint8_t *str, uint32_t strLen) in ByteToHexString() function
|
| /base/security/device_security_level/test/dslm_unit_test/ |
| D | dslm_baselib_utils_test.cpp | 454 ByteToHexString(nullptr, 0, str, strLen); 457 ByteToHexString(hex, hexLen, nullptr, 0); 460 ByteToHexString(hex, hexLen, str, strLen - 1);
|
| /base/security/device_security_level/services/dslm/ |
| D | dslm_msg_utils.c | 57 …ByteToHexString((uint8_t *)&challenge, sizeof(challenge), (uint8_t *)nonce, CHALLENGE_STRING_LENGT… in GenerateSecInfoResponseJson() 94 …ByteToHexString((uint8_t *)&challenge, sizeof(challenge), (uint8_t *)nonce, CHALLENGE_STRING_LENGT… in GenerateSecInfoRequestJson()
|
| /base/security/device_auth/services/mk_agree/src/ |
| D | key_manager.c | 44 …int32_t res = ByteToHexString(keyAliasHash->val, keyAliasHash->length, keyAliasHex, keyAliasHexLen… in ConvertHashToAlias() 67 …int32_t res = ByteToHexString(keyAliasHash->val, keyAliasHash->length, keyAliasHex, keyAliasHexLen… in ConvertHashToAliasWithPrefix() 353 res = ByteToHexString(pseudonymIdBuff.val, pseudonymIdBuff.length, pdid, pdidLen); in GenerateAndSavePseudonymId()
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
| D | dlp_permission_serializer.cpp | 264 int32_t res = ByteToHexString(policy.GetAeskey(), policy.GetAeskeyLen(), keyHex, keyHexLen); in SerializeDlpPermission() 278 res = ByteToHexString(policy.GetIv(), policy.GetIvLen(), ivHex, ivHexLen); in SerializeDlpPermission() 443 int32_t res = ByteToHexString(encData.data, encData.dataLen, encDataHex, encDataHexLen); in SerializeEncPolicyData() 457 …res = ByteToHexString(encData.options.extraInfo, encData.options.extraInfoLen, extraInfoHex, extra… in SerializeEncPolicyData()
|
| /base/security/device_security_level/oem_property/ohos/common/ |
| D | dslm_ohos_request.c | 67 ByteToHexString((uint8_t *)&(obj->challenge), sizeof(obj->challenge), (uint8_t *)challengeStr, in GenerateDslmCertChain()
|
| /base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
| D | pake_v1_protocol_task_common.c | 117 if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)params->baseParams.psk.val, in ConvertPsk()
|
| /base/security/device_auth/common_lib/impl/src/ |
| D | string_util.c | 48 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function
|
| D | json_utils.c | 428 int32_t ret = ByteToHexString(byte, len, hexStr, hexLen); in AddByteToJson()
|
| /base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
| D | common_lib_test.cpp | 492 int32_t ret = ByteToHexString(nullptr, byteSize, hexStr, TEST_BUFFER_SIZE); 494 ret = ByteToHexString(byteData, byteSize, hexStr, TEST_LENGTH_ZERO); 496 ret = ByteToHexString(byteData, byteSize, hexStr, TEST_BUFFER_SIZE);
|
| /base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
| D | cert_manager_auth_mgr.c | 56 static int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function 271 ret = ByteToHexString(mac->data, mac->size, macHex, macHexLen); in ConstructAuthUri()
|
| /base/security/device_auth/services/authenticators/src/account_unrelated/ |
| D | das_task_common.c | 284 res = ByteToHexString(keyAliasHash.val, keyAliasHash.length, outKeyAliasHex, outKeyAliasHexLen); in CombineKeyAliasForPake()
|
| /base/security/device_auth/test/unittest/deviceauth/source/ |
| D | json_utils_mock.c | 486 int32_t ret = ByteToHexString(byte, len, hexStr, hexLen); in AddByteToJson()
|
| /base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
| D | pub_key_exchange.c | 210 …if (ByteToHexString(keyAliasByte.val, keyAliasByte.length, keyAliasHexStr, keyAliasHexStrLen) != H… in GenerateKeyAlias()
|
| /base/security/device_auth/services/creds_manager/src/ |
| D | creds_manager.c | 579 …if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)sharedSecret->val, len + 1) != HC_SUCCESS… in ConvertPsk()
|
| /base/security/device_auth/services/ |
| D | device_auth.c | 70 ret = ByteToHexString(udidHashByte, SHA256_LEN, udidHash, udidHashLen); in IsDeviceIdHashMatch()
|
| /base/security/device_auth/services/group_manager/src/group_operation/ |
| D | group_operation_common.c | 1223 if (ByteToHexString(infoHash.val, infoHash.length, hash, hashLen) != HAL_SUCCESS) { in GetHashResult()
|