Skip to content
Snippets Groups Projects
Commit 7fed0bf2 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] api: Add common instance initialisation code


This patch adds the helpers crypto_get_attr_alg and crypto_alloc_instance
which can be used by simple one-argument templates like hmac to process
input parameters and allocate instances.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent df89820e
No related branches found
No related tags found
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