[U-Boot] [U-Boot, V2, 2/4] aes: Move the AES-128-CBC encryption function to common code

Stephen Warren swarren at wwwdotorg.org
Fri Apr 18 18:10:10 CEST 2014


On 03/27/2014 10:59 AM, Tom Rini wrote:
> On Wed, Mar 05, 2014 at 07:58:37PM +0100, Marek Vasut wrote:
> 
>> Move the AES-128-CBC encryption function implemented in tegra20-common/crypto.c
>> into lib/aes.c . This is well re-usable common code. Moreover, clean the code up
>> a bit and fix the kerneldoc-style annotations.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
> 
> Applied to u-boot/next (with a reword to rewrap), thanks!

BTW, this breaks compilation on NVIDIA Tegra Seaboard.

Tom R fixed most of the issue with "ARM:tegra20: Remove aes debug
prints", but the following still remains:

> 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/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'



More information about the U-Boot mailing list