Searched refs:signMethod (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/linkkit/ota/ |
A D | iotx_ota.c | 103 &h_ota->sign, &h_ota->signMethod, &h_ota->cota_url, in ota_callback() 143 &h_ota->sign, &h_ota->signMethod, &h_ota->cota_url, in ota_callback() 317 if (NULL != h_ota->signMethod) { in IOT_OTA_Deinit() 318 OTA_FREE(h_ota->signMethod); in IOT_OTA_Deinit() 780 if (value == NULL || *value != NULL || h_ota->signMethod == NULL) { in IOT_OTA_Ioctl() 785 *value = OTA_API_MALLOC(strlen(h_ota->signMethod) + 1); in IOT_OTA_Ioctl() 790 memset(*value, 0, strlen(h_ota->signMethod) + 1); in IOT_OTA_Ioctl() 791 memcpy(*value, h_ota->signMethod, strlen(h_ota->signMethod)); in IOT_OTA_Ioctl() 916 strncmp(h_ota->signMethod, "Md5", strlen(h_ota->signMethod))) { in IOT_OTA_Ioctl() 926 if (0 == strncmp(h_ota->signMethod, "Sha256", in IOT_OTA_Ioctl() [all …]
|
A D | iotx_ota.h | 33 char *signMethod; member
|
A D | ota_lib.c | 188 char **signMethod, char **url, char **getType) in otalib_GetConfigParams() argument 218 signMethod)) { in otalib_GetConfigParams()
|
A D | iotx_ota_internal.h | 111 char **signMethod, char **url, char **getType);
|
/AliOS-Things-master/components/ota/ota_agent/transport/ |
A D | ota_transport_mqtt.c | 74 cJSON *signMethod = cJSON_GetObjectItem(json_obj, "signMethod"); in ota_sevice_parse_msg() local 75 if (signMethod != NULL) { in ota_sevice_parse_msg() 77 ret = ota_to_capital(signMethod->valuestring, strlen(signMethod->valuestring)); in ota_sevice_parse_msg() 82 if (0 == strncmp(signMethod->valuestring, "MD5", strlen("MD5"))) { in ota_sevice_parse_msg() 95 } else if (0 == strncmp(signMethod->valuestring, "SHA256", strlen("SHA256"))) { in ota_sevice_parse_msg()
|
Completed in 6 milliseconds