From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 18 Apr 2014 10:10:10 -0600 Subject: [U-Boot] [U-Boot, V2, 2/4] aes: Move the AES-128-CBC encryption function to common code In-Reply-To: <20140327165910.GF16360@bill-the-cat> References: <1394045919-6307-2-git-send-email-marex@denx.de> <20140327165910.GF16360@bill-the-cat> Message-ID: <53514E62.2090204@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > 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'