crypto: sun8i-ss - Add more comment on some structures
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:03 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:17 +0000 (17:48 +1000)
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>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h

index da71d80..1a66457 100644 (file)
@@ -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;