diff options
author | 2022-11-25 12:36:31 +0800 | |
---|---|---|
committer | 2022-12-02 18:12:40 +0800 | |
commit | e634ac4a8aaab37bdc69177df9b40acf92eccc6d (patch) | |
tree | c42ffcbf1f0de2560c9a2e8de8457c49b0db0a0c /lib/hashtable_test.c | |
parent | crypto: Prepare to move crypto_tfm_ctx (diff) | |
download | wireguard-linux-e634ac4a8aaab37bdc69177df9b40acf92eccc6d.tar.xz wireguard-linux-e634ac4a8aaab37bdc69177df9b40acf92eccc6d.zip |
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>
Diffstat (limited to 'lib/hashtable_test.c')
0 files changed, 0 insertions, 0 deletions