19 Apr, 2014

1 commit

  • Tegra's crypto.c uses apply_cbc_chain_data() to sign the warm restart
    code. This function was recently moved into the core aes.c and made
    static, which prevents the Tegra code from compiling. Make it public
    again to avoid the compile errors:

    arch/arm/cpu/tegra20-common/crypto.c: In function ‘sign_object’:
    arch/arm/cpu/tegra20-common/crypto.c:74:3: warning: implicit declaration of function ‘apply_cbc_chain_data’ [-Wimplicit-function-declaration]
    arch/arm/cpu/built-in.o: In function `sign_object':
    .../arch/arm/cpu/tegra20-common/crypto.c:74: undefined reference to `apply_cbc_chain_data'
    .../arch/arm/cpu/tegra20-common/crypto.c:78: undefined reference to `apply_cbc_chain_data'

    Fixes: 6e7b9f4fa0ae ("aes: Move the AES-128-CBC encryption function to common code")
    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Acked-by: Marek Vasut

    Stephen Warren
     

22 Mar, 2014

4 commits


24 Jul, 2013

1 commit


15 May, 2012

1 commit

  • Add support for AES using an implementation from Karl Malbrain.
    This offers small code size (around 5KB on ARM) and supports 128-bit
    AES only.

    Signed-off-by: Yen Lin
    Signed-off-by: Simon Glass
    Signed-off-by: Tom Warren

    Yen Lin