Home
last modified time | relevance | path

Searched refs:bufin (Results 1 - 7 of 7) 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()
/third_party/libcoap/src/
H A Dcoap_ws.c96 const uint8_t *bufin; in coap_base64_decode_buffer() local
119 bufin = (const uint8_t *)bufcoded; in coap_base64_decode_buffer()
120 while (pr2six[*(bufin++)] <= 63); in coap_base64_decode_buffer()
121 nprbytes = (bufin - (const unsigned char *) bufcoded) - 1; in coap_base64_decode_buffer()
127 bufin = (const uint8_t *)bufcoded; in coap_base64_decode_buffer()
131 (uint8_t)(pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4); in coap_base64_decode_buffer()
133 (uint8_t)(pr2six[bufin[1]] << 4 | pr2six[bufin[2]] >> 2); in coap_base64_decode_buffer()
135 (uint8_t)(pr2six[bufin[ in coap_base64_decode_buffer()
[all...]
/third_party/libwebsockets/lib/roles/ws/
H A Dclient-ws.c72 unsigned char *bufin = *buf; in lws_ws_handshake_client() local
107 *buf = bufin; in lws_ws_handshake_client()
H A Dserver-ws.c992 unsigned char *bufin = *buf; in lws_parse_ws() local
1027 *buf = bufin; in lws_parse_ws()

Completed in 5 milliseconds