aes: Move the AES-128-CBC encryption function to common code
authorMarek Vasut <marex@denx.de>
Wed, 5 Mar 2014 18:58:37 +0000 (19:58 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Mar 2014 20:43:53 +0000 (16:43 -0400)
commit6e7b9f4fa0aed88051d6700afa510430b5d3fb69
tree7c17953ff2ef5dc5e1279bd6b4fb894c9d72e3bd
parent957ba85ce9bbf9d82716798287e50612afb07fc7
aes: Move the AES-128-CBC encryption function to common code

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@denx.de>
arch/arm/cpu/tegra20-common/crypto.c
include/aes.h
lib/aes.c