crypto: chcr - Add AEAD algos.
Add support for following AEAD algos. GCM,CCM,RFC4106,RFC4309,authenc(hmac(shaXXX),cbc(aes)). Reviewed-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -258,13 +258,15 @@ enum {
|
||||
* where they indicate the size of the integrity check value (ICV)
|
||||
*/
|
||||
enum {
|
||||
AES_CCM_ICV_4 = 4,
|
||||
AES_CCM_ICV_6 = 6,
|
||||
AES_CCM_ICV_8 = 8,
|
||||
AES_CCM_ICV_10 = 10,
|
||||
AES_CCM_ICV_12 = 12,
|
||||
AES_CCM_ICV_14 = 14,
|
||||
AES_CCM_ICV_16 = 16
|
||||
ICV_4 = 4,
|
||||
ICV_6 = 6,
|
||||
ICV_8 = 8,
|
||||
ICV_10 = 10,
|
||||
ICV_12 = 12,
|
||||
ICV_13 = 13,
|
||||
ICV_14 = 14,
|
||||
ICV_15 = 15,
|
||||
ICV_16 = 16
|
||||
};
|
||||
|
||||
struct hash_op_params {
|
||||
|
Reference in New Issue
Block a user