• 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
signature.txt 11.5 KB