crypto: hisilicon/sec2 - Update IV and MAC operation
authorLongfang Liu <liulongfang@huawei.com>
Thu, 5 Mar 2020 02:06:24 +0000 (10:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2020 12:00:14 +0000 (23:00 +1100)
commit2514f5595db7287b0708a21ee40a3278dade69dc
treea99bb6b0caac9de3d10df92e0c80ee5145592d52
parent8824bc5ed1e7fbc23529c9b2e799bb9414cb6e52
crypto: hisilicon/sec2 - Update IV and MAC operation

We have updated the operation method of IV and MAC address
to prepare for pbuf patch and fixed coding style.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec.h
drivers/crypto/hisilicon/sec2/sec_crypto.c