Skip to content
Commit ebc610e5 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] templates: Pass type/mask when creating instances



This patch passes the type/mask along when constructing instances of
templates.  This is in preparation for templates that may support
multiple types of instances depending on what is requested.  For example,
the planned software async crypto driver will use this construct.

For the moment this allows us to check whether the instance constructed
is of the correct type and avoid returning success if the type does not
match.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6158efc0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment