1. 13 10月, 2020 1 次提交
  2. 19 5月, 2020 1 次提交
  3. 01 5月, 2020 1 次提交
  4. 27 4月, 2020 1 次提交
  5. 12 3月, 2020 1 次提交
  6. 24 10月, 2019 1 次提交
  7. 21 6月, 2019 1 次提交
  8. 03 12月, 2018 2 次提交
  9. 17 11月, 2018 1 次提交
  10. 11 7月, 2018 2 次提交
    • T
      vboot: Do not use hashed-strings offset · 7346c1e1
      Teddy Reed 提交于
      The hashed-strings signature property includes two uint32_t values.
      The first is unneeded as there should never be a start offset into the
      strings region. The second, the size, is needed because the added
      signature node appends to this region.
      
      See tools/image-host.c, where a static 0 value is used for the offset.
      Signed-off-by: NTeddy Reed <teddy.reed@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      7346c1e1
    • T
      vboot: Add FIT_SIGNATURE_MAX_SIZE protection · 72239fc8
      Teddy Reed 提交于
      This adds a new config value FIT_SIGNATURE_MAX_SIZE, which controls the
      max size of a FIT header's totalsize field. The field is checked before
      signature checks are applied to protect from reading past the intended
      FIT regions.
      
      This field is not part of the vboot signature so it should be sanity
      checked. If the field is corrupted then the structure or string region
      reads may have unintended behavior, such as reading from device memory.
      A default value of 256MB is set and intended to support most max storage
      sizes.
      Suggested-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTeddy Reed <teddy.reed@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      72239fc8
  11. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  12. 16 1月, 2018 1 次提交
  13. 06 11月, 2017 1 次提交
  14. 22 11月, 2016 3 次提交
  15. 14 10月, 2016 1 次提交
  16. 17 2月, 2015 1 次提交
  17. 30 1月, 2015 1 次提交
  18. 19 6月, 2014 2 次提交
  19. 22 3月, 2014 3 次提交
  20. 24 7月, 2013 1 次提交
  21. 26 6月, 2013 4 次提交
    • S
      image: Add support for signing of FIT configurations · 4d098529
      Simon Glass 提交于
      While signing images is useful, it does not provide complete protection
      against several types of attack. For example, it it possible to create a
      FIT with the same signed images, but with the configuration changed such
      that a different one is selected (mix and match attack). It is also possible
      to substitute a signed image from an older FIT version into a newer FIT
      (roll-back attack).
      
      Add support for signing of FIT configurations using the libfdt's region
      support.
      
      Please see doc/uImage.FIT/signature.txt for more information.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      4d098529
    • S
      image: Add RSA support for image signing · 19c402af
      Simon Glass 提交于
      RSA provides a public key encryption facility which is ideal for image
      signing and verification.
      
      Images are signed using a private key by mkimage. Then at run-time, the
      images are verified using a private key.
      
      This implementation uses openssl for the host part (mkimage). To avoid
      bringing large libraries into the U-Boot binary, the RSA public key
      is encoded using a simple numeric representation in the device tree.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      19c402af
    • S
      image: Support signing of images · 56518e71
      Simon Glass 提交于
      Add support for signing images using a new signature node. The process
      is handled by fdt_add_verification_data() which now takes parameters to
      provide the keys and related information.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      56518e71
    • S
      image: Add signing infrastructure · 3e569a6b
      Simon Glass 提交于
      Add a structure to describe an algorithm which can sign and (later) verify
      images.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      3e569a6b
  22. 27 10月, 2012 1 次提交
  23. 08 9月, 2011 2 次提交
  24. 13 4月, 2010 2 次提交
  25. 30 3月, 2009 1 次提交
  26. 09 5月, 2007 1 次提交
  27. 24 1月, 2007 1 次提交
  28. 06 10月, 2005 1 次提交