Home
last modified time | relevance | path

Searched refs:tmp_h (Results 1 - 3 of 3) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_hmac.c41 unsigned char tmp_h = 0; in byte2hexstr() local
46 tmp_h = (bufin[i] >> RIGHT_MOVE_BIT_4) & 0X0F; in byte2hexstr()
48 bufout[STRING_LEN_TIMES * i] = (tmp_h > NUMBER_9) ? in byte2hexstr()
49 (tmp_h - DECIMAL_BASE + 'a'):(tmp_h +'0'); in byte2hexstr()
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_hmac.c41 unsigned char tmp_h = 0; in byte2hexstr() local
46 tmp_h = (bufin[i] >> RIGHT_MOVE_BIT_4) & 0X0F; in byte2hexstr()
48 bufout[STRING_LEN_TIMES * i] = (tmp_h > NUMBER_9) ? in byte2hexstr()
49 (tmp_h - DECIMAL_BASE + 'a'):(tmp_h +'0'); in byte2hexstr()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Diot_hmac.c42 unsigned char tmp_h; in Byte2HexStr() local
47 tmp_h = (bufin[i] >> IOT_BIT_4) & LOW_BIT_4; in Byte2HexStr()
49 bufout[BUF_OUT_LEN_2 * i] = (tmp_h > IOT_HEX_TO_STRING_1) ? \ in Byte2HexStr()
50 (tmp_h - IOT_HEX_TO_STRING_2 + 'a') : (tmp_h +'0'); in Byte2HexStr()

Completed in 2 milliseconds