1. 21 Mar, 2014 2 commits
    • Heiko Schocher's avatar
      tools, fit_check_sign: verify a signed fit image · 29a23f9d
      Heiko Schocher authored
      add host tool "fit_check_sign" which verifies, if a fit image is
      signed correct.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      29a23f9d
    • Heiko Schocher's avatar
      rsa: add sha256-rsa2048 algorithm · 646257d1
      Heiko Schocher authored
      based on patch from andreas@oetken.name:
      
      http://patchwork.ozlabs.org/patch/294318/
      commit message:
      I currently need support for rsa-sha256 signatures in u-boot and found out that
      the code for signatures is not very generic. Thus adding of different
      hash-algorithms for rsa-signatures is not easy to do without copy-pasting the
      rsa-code. I attached a patch for how I think it could be better and included
      support for rsa-sha256. This is a fast first shot.
      
      aditionally work:
      - removed checkpatch warnings
      - removed compiler warnings
      - rebased against current head
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: andreas@oetken.name
      Cc: Simon Glass <sjg@chromium.org>
      646257d1
  2. 24 Jul, 2013 1 commit
  3. 03 Jul, 2013 1 commit
  4. 26 Jun, 2013 1 commit
    • Simon Glass's avatar
      image: Add RSA support for image signing · 19c402af
      Simon Glass authored
      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: default avatarSimon Glass <sjg@chromium.org>
      19c402af