Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment