Skip to content
Commit e634ac4a authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: api - Add crypto_tfm_ctx_dma



This patch adds the helpers crypto_tfm_ctx_aligned and
crypto_tfm_ctx_dma.  The first aligns the tfm context to the
value cra_alignmask.  The second sets the alignment according
to dma_cache_get_alignment();

This patch also moves crypto_tfm_ctx into algapi.h.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 14386d47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment