Home
last modified time | relevance | path

Searched refs:bufin (Results 1 - 4 of 4) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Diot_hmac.c32 static int Byte2hexstr(unsigned char *bufin, int len, char *bufout) in Byte2hexstr() argument
34 if ((bufin == NULL) || (len <= 0) || (bufout == NULL)) { in Byte2hexstr()
38 unsigned char tmpH = (bufin[i] >> 4) & 0X0F; /* 高字节前4位保存到tmpH */ in Byte2hexstr()
39 unsigned char tmpL = bufin[i] & 0x0F; in Byte2hexstr()
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_hmac.c37 static int byte2hexstr(unsigned char *bufin, int len, char *bufout) in byte2hexstr() argument
42 if ((bufin == NULL)||(len <= 0)||(bufout == NULL)) { in byte2hexstr()
46 tmp_h = (bufin[i] >> RIGHT_MOVE_BIT_4) & 0X0F; in byte2hexstr()
47 tmp_l = bufin[i] & 0x0F; in byte2hexstr()
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_hmac.c37 static int byte2hexstr(unsigned char *bufin, int len, char *bufout) in byte2hexstr() argument
42 if ((bufin == NULL)||(len <= 0)||(bufout == NULL)) { in byte2hexstr()
46 tmp_h = (bufin[i] >> RIGHT_MOVE_BIT_4) & 0X0F; in byte2hexstr()
47 tmp_l = bufin[i] & 0x0F; in byte2hexstr()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Diot_hmac.c38 static int Byte2HexStr(unsigned char *bufin, int len, char *bufout) in Byte2HexStr() argument
43 if ((bufin == NULL) || (len <= 0) || (bufout == NULL)) { in Byte2HexStr()
47 tmp_h = (bufin[i] >> IOT_BIT_4) & LOW_BIT_4; in Byte2HexStr()
48 tmp_l = bufin[i] & LOW_BIT_4; in Byte2HexStr()

Completed in 1 milliseconds