[Feature][ZXW-65]merged P49 base code

Change-Id: I3e09c0c3d47483bc645f02310380ecb7fc6f4041
diff --git a/ap/lib/libupi_ab/inc/upi_hash.h b/ap/lib/libupi_ab/inc/upi_hash.h
index 9d8bc29..f511e53 100755
--- a/ap/lib/libupi_ab/inc/upi_hash.h
+++ b/ap/lib/libupi_ab/inc/upi_hash.h
@@ -36,9 +36,10 @@
  *                             Type definitions                                *
  ******************************************************************************/
 
-typedef enum E_HASH_TYPE{
-	HASH_SHA512 = 0,
-	HASH_SHA526 = 1
+typedef enum E_HASH_TYPE
+{
+    HASH_SHA512 = 0,
+    HASH_SHA526 = 1
 } hash_type_e;
 
 /*******************************************************************************
@@ -51,9 +52,11 @@
  ******************************************************************************/
 int check_image_hash(partition_mtd_info_t *mtd_info, int len, char * digest);
 
-int get_hash_from_fd(int hash_type, int fd, unsigned int offset, unsigned int len, unsigned int read_size_per_time, unsigned char* digest);
+int get_hash_from_fd(int hash_type, int fd, unsigned int offset, unsigned int len, unsigned int read_size_per_time,
+                     unsigned char* digest);
 
-int get_hash_from_file_path_segment(int hash_type, const char* file_path, unsigned int offset, unsigned int len, unsigned char* digest);
+int get_hash_from_file_path_segment(int hash_type, const char* file_path, unsigned int offset, unsigned int len,
+                                    unsigned char* digest);
 
 
 /*******************************************************************************