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

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 23ad69aa
No related branches found
No related tags found
No related merge requests found
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