#include "pmutility.h"
#include "cacommonutil.h"
-#define TAG "CLOUD-ACL-GROUP"
+#define TAG "OIC_CLOUD_ACL_GROUP"
/**
* ACL create group request received data handler
#include "payload_logging.h"
#include "utlist.h"
-#define TAG "CLOUD-ACL-ID"
+#define TAG "OIC_CLOUD_ACL_ID"
/**
* ACL Id parse from received response
#include "pmutility.h"
#include "cacommonutil.h"
-#define TAG "CLOUD-ACL-INVITE"
+#define TAG "OIC_CLOUD_ACL_INVITE"
/**
* This helper function parses "name" : { "gid":[], "mid":[] } payload
#include "payload_logging.h"
#include "cacommonutil.h"
-#define TAG "CLOUD-CRL"
+#define TAG "OIC_CLOUD_CRL"
/**
* CRL GET request received data handler
#include <unistd.h>
#include <fcntl.h>
-#define TAG "CLOUD-CSR"
+#define TAG "OIC_CLOUD_CSR"
//TODO: is it required in CSR response?
static OCByteString privateKey = {0, 0};
#include "srmutility.h"
#include "pmutility.h"
-#define TAG "CLOUD-UTILS"
+#define TAG "OIC_CLOUD_UTILS"
typedef struct {
void *ctx;
#include "stdbool.h"
#include "securevirtualresourcetypes.h"
-#define TAG "SRPAPI-CG"
+#define TAG "OIC_SRPAPI_CG"
OCStackResult PMGeneratePairWiseCredentials(OicSecCredType_t type, size_t keySize,
const OicUuid_t *ptDeviceId, const OicUuid_t *firstDeviceId,
#include "oxmrandompin.h"
#include "otmcontextlist.h"
-#define TAG "MULTIPLE_OTM"
+#define TAG "OIC_MULTIPLE_OTM"
/**********************************************************************
* API for Super Owner
#include "aclresource.h" //Note: SRM internal header
#include "pconfresource.h"
-#define TAG "OCPMAPI"
+#define TAG "OIC_OCPMAPI"
typedef struct Linkdata Linkdata_t;
struct Linkdata
#include "ocpayload.h"
#include "payload_logging.h"
-#define TAG "OTM"
+#define TAG "OIC_OTM"
/**
* Variables for pointing the OTMContext to be used in the DTLS handshake result callback.
#include "pmtypes.h"
#include "ownershiptransfermanager.h"
-#define TAG "OXM_JustWorks"
+#define TAG "OIC_OXM_JustWorks"
OCStackResult CreateJustWorksSelectOxmPayload(OTMContext_t *otmCtx, uint8_t **payload, size_t *size)
{
#include "pinoxmcommon.h"
#include "srmresourcestrings.h"
-#define TAG "OXM_PreconfigPIN"
+#define TAG "OIC_OXM_PreconfigPIN"
OCStackResult CreatePreconfigPinBasedSelectOxmPayload(OTMContext_t *otmCtx, uint8_t **payload, size_t *size)
{
#include "ownershiptransfermanager.h"
#include "pinoxmcommon.h"
-#define TAG "OXM_RandomPIN"
+#define TAG "OIC_OXM_RandomPIN"
OCStackResult CreatePinBasedSelectOxmPayload(OTMContext_t* otmCtx, uint8_t **payload, size_t *size)
{
#include "srmutility.h"
-#define TAG ("PM-UTILITY")
+#define TAG ("OIC_PM_UTILITY")
typedef struct _DiscoveryInfo{
OCProvisionDev_t **ppDevicesList;
#define DB_FILE "PDM.db"
-#define TAG "PDM"
+#define TAG "OIC_PDM"
#define PDM_FIRST_INDEX 0
#define PDM_SECOND_INDEX 1
#include "crlresource.h"
#endif // WITH_X509__
-#define TAG "SRPAPI"
+#define TAG "OIC_SRPAPI"
/**
* Macro to verify argument is not equal to NULL.
#include "security_internals.h"
-#define TAG "SRM-ACL"
+#define TAG "OIC_SRM_ACL"
#define NUMBER_OF_SEC_PROV_RSCS 4
#define NUMBER_OF_DEFAULT_SEC_RSCS 2
#define STRING_UUID_SIZE (UUID_LENGTH * 2 + 5)
#include "srmutility.h"
#include "amaclresource.h"
-#define TAG "SRM-AMACL"
+#define TAG "OIC_SRM_AMACL"
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
* The value of payload size is increased until reaching belox max cbor size. */
#include "oic_string.h"
#include "caremotehandler.h"
-#define TAG "SRM-AMSMGR"
+#define TAG "OIC_SRM_AMSMGR"
//Callback for AMS service multicast discovery request.
static OCStackApplicationResult AmsMgrDiscoveryCallback(void *ctx, OCDoHandle handle,
#include "global.h"
#endif
-#define TAG "SRM-CREDL"
+#define TAG "OIC_SRM_CREDL"
/** Max credential types number used for TLS */
#define MAX_TYPE 2
#include "base64.h"
#include <time.h>
-#define TAG "SRM-CRL"
+#define TAG "OIC_SRM_CRL"
#define SEPARATOR ":"
#define SEPARATOR_LEN (1)
#endif
-#define TAG ("DP")
+#define TAG ("OIC_DP")
static const uint16_t CBOR_SIZE = 1024;
/**
#include "srmutility.h"
#include "pinoxmcommon.h"
-#define TAG "SRM-DOXM"
+#define TAG "OIC_SRM_DOXM"
#define CHAR_ZERO ('0')
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
#include "global.h"
#endif
-#define TAG "SRM-DPAIRING"
+#define TAG "OIC_SRM_DPAIRING"
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
* The value of payload size is increased until reaching belox max cbor size. */
#include "credresource.h"
#include "cainterface.h"
-#define TAG "PIN_OXM_COMMON"
+#define TAG "OIC_PIN_OXM_COMMON"
#define NUMBER_OF_PINNUM (10)
#define NUMBER_OF_ALPHABET (26)
#include "debug.h"
#include "logger.h"
-#define TAG "PBDKF2"
+#define TAG "OIC_PBDKF2"
#define XOR_BUF(in, out, bufSize)\
do \
{\
#include <strings.h>
#endif
-#define TAG "SRM-PCONF"
+#define TAG "OIC_SRM_PCONF"
static const uint16_t CBOR_SIZE = 1024;
static const uint64_t CBOR_MAX_SIZE = 4400;
#include "crlresource.h"
#include "logger.h"
-#define TAG "SRM-PKIX-INTERFACE"
+#define TAG "OIC_SRM_PKIX_INTERFACE"
void GetPkixInfo(PkiInfo_t * inf)
{
#include "amaclresource.h"
#include "credresource.h"
-#define TAG "SRM-PE"
+#define TAG "OIC_SRM_PE"
uint16_t GetPermissionFromCAMethod_t(const CAMethod_t method)
{
#include "pstatresource.h"
#include "doxmresource.h"
-#define TAG "SRM-PSI"
+#define TAG "OIC_SRM_PSI"
//SVR database buffer block size
#ifdef _WIN32
#include "srmresourcestrings.h"
#include "srmutility.h"
-#define TAG "SRM-PSTAT"
+#define TAG "OIC_SRM_PSTAT"
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
* The value of payload size is increased until reaching below max cbor size. */
//#endif // DIRECT_PAIRING
#include "verresource.h"
-#define TAG "SRM-RM"
+#define TAG "OIC_SRM_RM"
#if defined(__WITH_DTLS__) || defined(__WITH_TLS__)
#include "crlresource.h"
#if defined( __WITH_TLS__) || defined(__WITH_DTLS__)
#include "pkix_interface.h"
#endif //__WITH_TLS__ or __WITH_DTLS__
-#define TAG "SRM"
+#define TAG "OIC_SRM"
//Request Callback handler
static CARequestCallback gRequestHandler = NULL;
#include "oic_malloc.h"
#include "base64.h"
-#define TAG "SRM-UTILITY"
+#define TAG "OIC_SRM_UTILITY"
void ParseQueryIterInit(const unsigned char * query, OicParseQueryIter_t * parseIter)
{
#include "security_internals.h"
-#define TAG "SRM-SVC"
+#define TAG "OIC_SRM_SVC"
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
* The value of payload size is increased until reaching belox max cbor size. */
#include "securevirtualresourcetypes.h"
#include "srmutility.h"
-#define TAG "SEC-VER"
+#define TAG "OIC_SEC_VER"
/** Default cbor payload size. This value is increased in case of CborErrorOutOfMemory.
* The value of payload size is increased until reaching belox max cbor size. */
#include "svcresource.h"
#include "security_internals.h"
-#define TAG "JSON2CBOR"
+#define TAG "OIC_JSON2CBOR"
#define MAX_RANGE ((size_t)-1)
//SVR database buffer block size