diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-01-01 18:37:02 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-02 14:38:31 +1000 |
commit | ebc610e5bc76df073221e64e86c3f7533a09ea40 (patch) | |
tree | d53f4fa3da412f6df4b5891e23ca7c7607a3a5ce /crypto/ablkcipher.c | |
parent | 6158efc09016d3186263f6fd3a50667446ec4008 (diff) | |
download | op-kernel-dev-ebc610e5bc76df073221e64e86c3f7533a09ea40.zip op-kernel-dev-ebc610e5bc76df073221e64e86c3f7533a09ea40.tar.gz |
[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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions