From: Tudor Ambarus Date: Thu, 23 Oct 2014 13:11:23 +0000 (+0300) Subject: crypto: caam - add support for gcm(aes) X-Git-Tag: omap-for-v3.19/fixes-rc1~99^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef8d945d0dafd272e77c01099bc4975c5297a5a;p=pandora-kernel.git crypto: caam - add support for gcm(aes) Add support for AES working in Galois Counter Mode. There is a limitation related to IV size, similar to the one present in SW implementation (crypto/gcm.c): The only IV size allowed is 12 bytes. It will be padded by HW to the right with 0x0000_0001 (up to 16 bytes - AES block size), according to the GCM specification. Signed-off-by: Tudor Ambarus Signed-off-by: Horia Geanta Signed-off-by: Herbert Xu --- Reading git-diff-tree failed