Skip to content
Snippets Groups Projects
  1. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      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: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  2. Nov 21, 2016
    • Andrew Duda's avatar
      rsa: Verify RSA padding programatically · da29f299
      Andrew Duda authored
      
      Padding verification was done against static SHA/RSA pair arrays which
      take up a lot of static memory, are mostly 0xff, and cannot be reused
      for additional SHA/RSA pairings. The padding can be easily computed
      according to PKCS#1v2.1 as:
      
        EM = 0x00 || 0x01 || PS || 0x00 || T
      
      where PS is (emLen - tLen - 3) octets of 0xff and T is DER encoding
      of the hash.
      
      Store DER prefix in checksum_algo and create rsa_verify_padding
      function to handle verification of a message for any SHA/RSA pairing.
      
      Signed-off-by: default avatarAndrew Duda <aduda@meraki.com>
      Signed-off-by: default avataraduda <aduda@meraki.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      da29f299
  3. Jan 19, 2016
  4. Jul 18, 2014
  5. Jun 19, 2014
  6. Dec 11, 2012
  7. Apr 13, 2010
  8. Jun 12, 2008
    • Andy Fleming's avatar
      Fix build issue with string.h and linux/string.h · a94f22f0
      Andy Fleming authored
      
      This commit:
      commit 338cc038
      Author: Wolfgang Denk <wd@denx.de>
      Date:   Fri Jun 6 14:28:14 2008 +0200
      
          tools/mkimage: fix compiler warnings on some systems.
      
      Broke building on some systems, because the host's string.h was interfering
      with u-boot's linux/string.h.  It doesn't look like we need the u-boot one if
      we're building for the host, so now we only include when building inside
      u-boot.
      
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      a94f22f0
  9. Jun 06, 2008
  10. Apr 25, 2008
  11. Apr 24, 2008
  12. Jul 09, 2007
  13. Jun 22, 2007
    • Heiko Schocher's avatar
      [PCS440EP] upgrade the PCS440EP board: · 566a494f
      Heiko Schocher authored
                      - Show on the Status LEDs, some States of the board.
                      - Get the MAC addresses from the EEProm
                      - use PREBOOT
                      - use the CF on the board.
                      - check the U-Boot image in the Flash with a SHA1
                        checksum.
                      - use dynamic TLB entries generation for the SDRAM
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      566a494f
Loading