enable md5sum digest verification

all (well I just checked LOS, aoscp and aicp) ROM scripts use
"md5sum" as extension but TWRP checks only for the extension
"md5".
This change will also expects md5sum as the default digest extension
and only if not found falling back to md5.

Change-Id: Ia1dd072d77d53ed6c6ff13c6db730abdcdb56bb3
1 file changed
tree: 20f78a874aa9cf87c47b962a28a9ea84475e0d8c
  1. .github/
  2. adbbu/
  3. applypatch/
  4. attr/
  5. bmlutils/
  6. boot_control/
  7. bootloader_message/
  8. bootloader_message_twrp/
  9. crypto/
  10. dosfstools/
  11. edify/
  12. etc/
  13. exfat/
  14. fb2png/
  15. flashutils/
  16. fonts/
  17. fuse/
  18. gpt/
  19. gui/
  20. htcdumlock/
  21. injecttwrp/
  22. libblkid/
  23. libcrecovery/
  24. libmincrypt/
  25. libpixelflinger/
  26. libtar/
  27. minadbd/
  28. minadbd21/
  29. minui/
  30. minui21/
  31. minuitwrp/
  32. minzip/
  33. mmcutils/
  34. mtdutils/
  35. mtp/
  36. openaes/
  37. orscmd/
  38. otafault/
  39. otautil/
  40. pigz/
  41. prebuilt/
  42. private/
  43. res/
  44. res-hdpi/
  45. res-mdpi/
  46. res-xhdpi/
  47. res-xxhdpi/
  48. res-xxxhdpi/
  49. scripts/
  50. sepolicy/
  51. simg2img/
  52. tests/
  53. toolbox/
  54. tools/
  55. toybox/
  56. twrpDigest/
  57. twrpTarMain/
  58. uncrypt/
  59. update_verifier/
  60. updater/
  61. verifier24/
  62. .clang-format
  63. .gitignore
  64. adb_install.cpp
  65. adb_install.h
  66. Android.bp
  67. Android.mk
  68. asn1_decoder.cpp
  69. asn1_decoder.h
  70. bootloader.h
  71. CleanSpec.mk
  72. common.h
  73. data.cpp
  74. data.hpp
  75. default_device.cpp
  76. device.cpp
  77. device.h
  78. error_code.h
  79. exclude.cpp
  80. exclude.hpp
  81. find_file.cpp
  82. find_file.hpp
  83. fixContexts.cpp
  84. fixContexts.hpp
  85. fuse.h
  86. fuse_sdcard_provider.cpp
  87. fuse_sdcard_provider.h
  88. fuse_sideload.cpp
  89. fuse_sideload.h
  90. infomanager.cpp
  91. infomanager.hpp
  92. install.cpp
  93. install.h
  94. installcommand.cpp
  95. installcommand.h
  96. interlace-frames.py
  97. legacy_properties.h
  98. legacy_property_service.cpp
  99. legacy_property_service.h
  100. mounts.c
  101. mounts.cpp
  102. mounts.h
  103. mounts.h~HEAD
  104. NOTICE
  105. openrecoveryscript.cpp
  106. openrecoveryscript.hpp
  107. OWNERS
  108. partition.cpp
  109. partitionmanager.cpp
  110. partitions.hpp
  111. print_sha1.h
  112. progresstracking.cpp
  113. progresstracking.hpp
  114. README.md
  115. recovery-persist.cpp
  116. recovery-persist.rc
  117. recovery-refresh.cpp
  118. recovery-refresh.rc
  119. recovery.cpp
  120. recovery_ui.h
  121. roots.cpp
  122. roots.h
  123. rotate_logs.cpp
  124. rotate_logs.h
  125. screen_ui.cpp
  126. screen_ui.h
  127. set_metadata.cpp
  128. set_metadata.h
  129. stub_ui.h
  130. tarWrite.c
  131. tarWrite.h
  132. tw_atomic.cpp
  133. tw_atomic.hpp
  134. twcommon.h
  135. twinstall.cpp
  136. twinstall.h
  137. twinstallorig.cpp
  138. twinstallorig.h
  139. twrp-functions.cpp
  140. twrp-functions.hpp
  141. twrp.cpp
  142. twrpAdbBuFifo.cpp
  143. twrpAdbBuFifo.hpp
  144. twrpDigestDriver.cpp
  145. twrpDigestDriver.hpp
  146. twrpTar.cpp
  147. twrpTar.h
  148. twrpTar.hpp
  149. ui.cpp
  150. ui.h
  151. variables.h
  152. verifier.cpp
  153. verifier.h
  154. vr_device.cpp
  155. vr_ui.cpp
  156. vr_ui.h
  157. wear_device.cpp
  158. wear_ui.cpp
  159. wear_ui.h
  160. zipwrap.cpp
  161. zipwrap.hpp
README.md

Team Win Recovery Project (TWRP)

You can find a compiling guide here.