diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-09 07:17:15 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-14 14:56:45 +0800 |
commit | 319382a6970899f02f18da4b0083a6e55942456d (patch) | |
tree | becb62a60fa0a352b2233b7157d8e9083fb964fb /crypto/rsa.c | |
parent | 23ad69aafec5d3815fdbe59aea56ec4b59dcae60 (diff) | |
download | linux-stable-319382a6970899f02f18da4b0083a6e55942456d.tar.gz linux-stable-319382a6970899f02f18da4b0083a6e55942456d.tar.bz2 linux-stable-319382a6970899f02f18da4b0083a6e55942456d.zip |
crypto: api - Add instance free function to crypto_type
Currently the task of freeing an instance is given to the crypto
template. However, it has no type information on the instance so
we have to resort to checking type information at runtime.
This patch introduces a free function to crypto_type that will be
used to free an instance. This can then be used to free an instance
in a type-safe manner.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa.c')
0 files changed, 0 insertions, 0 deletions