From: Tom Rini Date: Fri, 18 Apr 2014 17:00:06 -0400 Subject: [U-Boot] aes: make apply_cbc_chain_data non-static In-Reply-To: <1397838538-11696-1-git-send-email-swarren@wwwdotorg.org> References: <1397838538-11696-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20140418210006.GI5698@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Apr 18, 2014 at 10:28:58AM -0600, Stephen Warren wrote: > From: Stephen Warren > > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: