Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fab3019 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

docs: crypto_engine.rst: Fix two parse warnings



./Documentation/crypto/crypto_engine.rst:13: WARNING: Unexpected indentation.
./Documentation/crypto/crypto_engine.rst:15: WARNING: Block quote ends without a blank line; unexpected unindent.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
parent b7017450
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -8,11 +8,13 @@ The crypto engine API (CE), is a crypto queue manager.

Requirement
-----------
You have to put at start of your tfm_ctx the struct crypto_engine_ctx
You have to put at start of your tfm_ctx the struct crypto_engine_ctx::

  struct your_tfm_ctx {
        struct crypto_engine_ctx enginectx;
        ...
  };

Why: Since CE manage only crypto_async_request, it cannot know the underlying
request_type and so have access only on the TFM.
So using container_of for accessing __ctx is impossible.