Skip to content

Commit 439963c

Browse files
committed
crypto: ahash - Add virtual address support
This patch adds virtual address support to ahash. Virtual addresses were previously only supported through shash. The user may choose to use virtual addresses with ahash by calling ahash_request_set_virt instead of ahash_request_set_crypt. The API will take care of translating this to an SG list if necessary, unless the algorithm declares that it supports chaining. Therefore in order for an ahash algorithm to support chaining, it must also support virtual addresses directly. Signed-off-by: Herbert Xu <[email protected]>
1 parent c664f03 commit 439963c

File tree

4 files changed

+293
-34
lines changed

4 files changed

+293
-34
lines changed

0 commit comments

Comments
 (0)