summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/allwinner
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-09-18 09:23:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-25 09:48:17 +0200
commit3bf9754b0f6c0681f22df2412d97f0d42551b4aa (patch)
treed2ef5993e117cfd32bbbe73fac44245c6dc15d32 /drivers/crypto/allwinner
parentcrypto: sun8i-ss - fix a trivial typo (diff)
downloadlinux-3bf9754b0f6c0681f22df2412d97f0d42551b4aa.tar.xz
linux-3bf9754b0f6c0681f22df2412d97f0d42551b4aa.zip
crypto: sun8i-ss - Add more comment on some structures
This patch adds some comment on structures used by sun8i-ss. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/allwinner')
-rw-r--r--drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
index da71d8059019..1a66457f4a20 100644
--- a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
+++ b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
@@ -195,6 +195,8 @@ struct sun8i_cipher_req_ctx {
* @keylen: len of the key
* @ss: pointer to the private data of driver handling this TFM
* @fallback_tfm: pointer to the fallback TFM
+ *
+ * enginectx must be the first element
*/
struct sun8i_cipher_tfm_ctx {
struct crypto_engine_ctx enginectx;