Home
last modified time | relevance | path

Searched refs:content (Results 1 - 8 of 8) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Diot_hmac.c47 int HmacGeneratePwd(unsigned char *content, int contentLen, unsigned char *key, int keyLen, in HmacGeneratePwd() argument
54 if (key == NULL || content == NULL || buf == NULL || keyLen == 0 || contentLen == 0 || in HmacGeneratePwd()
72 (void)mbedtls_md_hmac_update(&mbedtls_md_ctx, content, contentLen); in HmacGeneratePwd()
H A Diot_hmac.h26 * @param content: This is the content for the hmac,and usually it is the device passwd set or get from the Iot Platform
27 * @param content_len: The length of the content
35 int HmacGeneratePwd(unsigned char *content, int contentLen, unsigned char *key, int keyLen,
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_hmac.c58 int HmacGeneratePwd(const unsigned char *content, int contentLen, const unsigned char *key, in HmacGeneratePwd() argument
66 if ((key == NULL)||(content == NULL)||(buf == NULL)|| in HmacGeneratePwd()
85 (void)mbedtls_md_hmac_update(&mbedtls_md_ctx, content, contentLen); in HmacGeneratePwd()
H A Diot_hmac.h20 * @param content: This is the content for the hmac,
22 * @param content_len: The length of the content
30 int HmacGeneratePwd(const unsigned char *content, int contentLen, const unsigned char *key,
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_hmac.c58 int HmacGeneratePwd(const unsigned char *content, int contentLen, const unsigned char *key, in HmacGeneratePwd() argument
66 if ((key == NULL)||(content == NULL)||(buf == NULL)|| in HmacGeneratePwd()
85 (void)mbedtls_md_hmac_update(&mbedtls_md_ctx, content, contentLen); in HmacGeneratePwd()
H A Diot_hmac.h20 * @param content: This is the content for the hmac,
22 * @param content_len: The length of the content
30 int HmacGeneratePwd(const unsigned char *content, int contentLen, const unsigned char *key,
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Diot_hmac.c61 int HmacGeneratePwd(unsigned char *content, int contentLen, unsigned char *key, int keyLen, in HmacGeneratePwd() argument
68 if (key == NULL || content == NULL || buf == NULL || keyLen == 0 || contentLen == 0 || in HmacGeneratePwd()
86 (void)mbedtls_md_hmac_update(&mbedtls_md_ctx, content, contentLen); in HmacGeneratePwd()
H A Diot_hmac.h26 * @param content: This is the content for the hmac,and usually it is the device passwd set or get from the Iot Platform
27 * @param content_len: The length of the content
35 int HmacGeneratePwd(unsigned char *content, int contentLen, unsigned char *key, int keyLen,

Completed in 3 milliseconds