1. 08 Sep, 2021 2 commits
    • Alexandru Gagniuc's avatar
      lib: Drop SHA512_ALGO in lieu of SHA512 · e60e4499
      Alexandru Gagniuc authored and Tom Rini's avatar Tom Rini committed
      SHA512_ALGO was used as a "either SHA512 or SHA384", although the
      implementations of these two algorithms share a majority of code.
      From a Kconfig interface perspective, it makes sense to present two
      distinct options. This requires #ifdefing out the SHA512
      implementation from sha512.c. The latter doesn't make any sense.
      It's reasonable to say in Kconfig that SHA384 depends on SHA512, and
      seems to be the more polite way to handle the selection.
      Thus, automatically select SHA512 when SHA384 is enabled.
      Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
    • Alexandru Gagniuc's avatar
      common: Remove unused CONFIG_FIT_SHAxxx selectors · eb5171dd
      Alexandru Gagniuc authored and Tom Rini's avatar Tom Rini committed
      Originally CONFIG_FIT_SHAxxx enabled specific SHA algos for and only
      for hash_calculate() in common/image-fit.c. However, since commit
       ("image: Drop IMAGE_ENABLE_SHAxxx"),
      the correct selector was changed to CONFIG_SHAxxx.
      The extra "_FIT_" variants are neither used, nor needed. Remove them.
      One defconfig disables FIT_SHA256, which is now changed to 'SHA256'.
      CMD_MVEBU_BUBT needs to select select SHA256 to avoid undefined
      references to "sha256_*()". bubt.c needs sha256, so this selection is
      correct. It is not clear why this problem did not manifest before.
      Note that SHA selection in SPL is broken for this exact reason. There
      is no corresponding SPL_SHAxxx. Fixing this is is beyond the scope of
      this change.
      Also note that we make CONFIG_FIT now imply SHA256, to make up for
      FIT_SHA256 previously being a default y option.
      Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
      [trini: Add imply SHA256 to FIT]
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
  2. 07 Sep, 2021 10 commits
  3. 06 Sep, 2021 2 commits
  4. 04 Sep, 2021 10 commits
  5. 03 Sep, 2021 4 commits
  6. 01 Sep, 2021 12 commits