Home
last modified time | relevance | path

Searched refs:_product_secret (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_PRODUCT_rhino.c23 char _product_secret[IOTX_PRODUCT_SECRET_LEN + 1] = { 0 }; variable
70 memset(_product_secret, 0x0, IOTX_PRODUCT_SECRET_LEN + 1); in HAL_SetProductSecret()
76 strncpy(_product_secret, product_secret, len); in HAL_SetProductSecret()
113 int len = strlen(_product_secret); in HAL_GetProductSecret()
117 aos_kv_get(DEVINFO_PS, _product_secret, &len); in HAL_GetProductSecret()
120 memcpy(_product_secret, "kvFuluNMSGaLXIT6", len + 1); in HAL_GetProductSecret()
125 strncpy(product_secret, _product_secret, len); in HAL_GetProductSecret()
187 res = infra_aes128_cfb_encrypt(aes_e_h, _product_secret, len, in HAL_SaveDeviceIdentity()
A DHAL_TLS_itls.c425 char _product_secret[IOTX_PRODUCT_SECRET_LEN + 1] = { 0 }; in HAL_SSL_Establish() local
432 HAL_GetProductSecret(_product_secret); in HAL_SSL_Establish()
444 _product_secret)) { in HAL_SSL_Establish()
/AliOS-Things-master/components/linkkit/wrappers/platform/os/
A DHAL_OS_yoc.c230 static char _product_secret[PRODUCT_SECRET_LEN + 1]; variable
309 int len = strlen(_product_secret); in HAL_GetProductSecret()
313 aos_kv_get(DEVINFO_PS, _product_secret, &len); in HAL_GetProductSecret()
316 memcpy(_product_secret, "kvFuluNMSGaLXIT6", len + 1); in HAL_GetProductSecret()
321 strncpy(product_secret, _product_secret, len); in HAL_GetProductSecret()
399 memset(_product_secret, 0x0, PRODUCT_SECRET_LEN + 1); in HAL_SetProductSecret()
408 strncpy(_product_secret, product_secret, len); in HAL_SetProductSecret()

Completed in 7 milliseconds