Skip to content
Snippets Groups Projects
  1. 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
  2. Jan 19, 2016
  3. Jul 18, 2014
  4. Jun 19, 2014
  5. Dec 11, 2012
  6. Apr 13, 2010
  7. 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
  8. Jun 06, 2008
  9. Apr 25, 2008
  10. Apr 24, 2008
  11. Jul 09, 2007
  12. 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