/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
H A 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…
|
/ohos5.0/base/security/dlp_permission_service/frameworks/common/include/ |
H A D | hex_string.h | 25 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen);
|
/ohos5.0/base/security/device_auth/common_lib/interfaces/ |
H A D | string_util.h | 48 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen);
|
/ohos5.0/base/security/device_auth/services/mk_agree/src/ |
H A 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()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/mock/ |
H A D | mock_utils.cpp | 37 …int32_t res = OHOS::Security::DlpPermission::ByteToHexString(dataIn, dataInLen, encDataHex, encDat… in ModifyParseData()
|
/ohos5.0/base/security/dlp_permission_service/frameworks/common/src/ |
H A D | hex_string.cpp | 31 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
H A D | dlp_permission_serializer.cpp | 275 … int32_t res = ByteToHexString(policy.GetAeskey(), policy.GetAeskeyLen(), keyHex.get(), keyHexLen); in SerializeDlpPermission() 283 res = ByteToHexString(policy.GetIv(), policy.GetIvLen(), ivHex.get(), ivHexLen); in SerializeDlpPermission() 291 …res = ByteToHexString(policy.GetHmacKey(), policy.GetHmacKeyLen(), hmacKeyHex.get(), hmacKeyHexLen… in SerializeDlpPermission() 510 int32_t res = ByteToHexString(encData.data, encData.dataLen, encDataHex, encDataHexLen); in SerializeEncPolicyData()
|
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/parsecertstub_fuzzer/ |
H A D | parsecertstub_fuzzer.cpp | 48 int res = ByteToHexString(byteBuffer, sizeof(byteBuffer), hexStrBuffer, sizeof(hexStrBuffer)); in InitCertJson()
|
/ohos5.0/base/security/device_auth/common_lib/impl/src/ |
H A D | string_util.c | 34 int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function
|
H A D | json_utils.c | 453 int32_t ret = ByteToHexString(byte, len, hexStr, hexLen); in AddByteToJson()
|
/ohos5.0/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_common.c | 40 …if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)sharedSecret->val, len + 1) != HC_SUCCESS… in ConvertPsk()
|
H A D | credential_operator.c | 133 res = ByteToHexString(keyAliasHash.val, keyAliasHash.length, outKeyAliasHex, outKeyAliasHexLen); in CombineKeyAliasForPake() 337 …res = ByteToHexString(returnPkBuff.val, returnPkBuff.length, returnPkHexStr, sizeof(returnPkHexStr… in PackPublicKeyToJson()
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
H A D | common_lib_test.cpp | 493 int32_t ret = ByteToHexString(nullptr, byteSize, hexStr, TEST_BUFFER_SIZE); 495 ret = ByteToHexString(byteData, byteSize, hexStr, TEST_LENGTH_ZERO); 497 ret = ByteToHexString(byteData, byteSize, hexStr, TEST_BUFFER_SIZE);
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/ |
H A D | das_task_common.c | 331 res = ByteToHexString(keyAliasHash.val, keyAliasHash.length, outKeyAliasHex, outKeyAliasHexLen); in CombineKeyAliasForPake() 446 res = ByteToHexString(keyAliasHash.val, keyAliasHash.length, outKeyAliasHex, outKeyAliasHexLen); in GeneratePseudonymPskAlias()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
H A D | pake_v1_protocol_task_common.c | 252 if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)params->baseParams.psk.val, in ConvertPakeV1Psk() 496 int32_t res = ByteToHexString(pseudonymIdBuff->val, pseudonymIdBuff->length, hexStr, hexLen); in AddPseudonymIdToPayload() 529 … int32_t res = ByteToHexString(pseudonymChlgBuff->val, pseudonymChlgBuff->length, hexStr, hexLen); in AddPseudonymChallengeToPayload()
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_auth_mgr.c | 57 static int32_t ByteToHexString(const uint8_t *byte, uint32_t byteLen, char *hexStr, uint32_t hexLen) in ByteToHexString() function 274 ret = ByteToHexString(mac->data, mac->size, macHex, macHexLen); in ConstructAuthUri()
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | json_utils_mock.c | 486 int32_t ret = ByteToHexString(byte, len, hexStr, hexLen); in AddByteToJson()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_dh_asy_key_generator_test.cpp | 1214 static char *ByteToHexString(unsigned char *byteArray, int byteArrayLen) in ByteToHexString() function 1288 char *hexString = ByteToHexString(returnBigInteger.data, returnBigInteger.len); in DhPrimeValueCompareWithOpenssl()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
H A D | pub_key_exchange.c | 204 …if (ByteToHexString(keyAliasByte.val, keyAliasByte.length, keyAliasHexStr, keyAliasHexStrLen) != H… in GenerateKeyAlias()
|
/ohos5.0/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/ |
H A D | account_related_group_auth.c | 475 res = ByteToHexString(hashBuff.val, hashBuff.length, *peerUserId, hexLen); in GetPeerUserIdFromReceivedData()
|
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/group_operation/group_operation_common/ |
H A D | group_operation_common.c | 1116 if (ByteToHexString(infoHash.val, infoHash.length, hash, hashLen) != HAL_SUCCESS) { in GetHashResult()
|
/ohos5.0/base/security/device_auth/services/ |
H A D | device_auth.c | 80 ret = ByteToHexString(udidHashByte, SHA256_LEN, udidHash, udidHashLen); in IsDeviceIdHashMatch()
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_file.cpp | 1075 int ret = ByteToHexString(hmac_.data, hmac_.size, hmacHex, hmacHexLen); in GetHmacVal()
|