commit | e634ac4a8aaab37bdc69177df9b40acf92eccc6d | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Nov 25 12:36:31 2022 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Dec 02 18:12:40 2022 +0800 |
tree | c42ffcbf1f0de2560c9a2e8de8457c49b0db0a0c | |
parent | 14386d471322a204344ae81a28738b71e261d3a0 [diff] |
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: Herbert Xu <herbert@gondor.apana.org.au>