diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-05-24 13:02:26 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-06-26 17:34:40 +1000 |
commit | ef8e4c2a2e366e750cbb20f7dc43a73419ce544e (patch) | |
tree | 38b6c843f82e52d7f655ffe64f1c66e163d1c9d8 /crypto/cipher.c | |
parent | 0e2e861c497e1e649e51f6b68335165af4d950c6 (diff) | |
download | linux-crypto-ef8e4c2a2e366e750cbb20f7dc43a73419ce544e.tar.gz linux-crypto-ef8e4c2a2e366e750cbb20f7dc43a73419ce544e.zip |
[CRYPTO] api: Added cra_init/cra_exit
This patch adds the hooks cra_init/cra_exit which are called during a tfm's
construction and destruction respectively. This will be used by the instances
to allocate child tfm's.
For now this lets us get rid of the coa_init/coa_exit functions which are
used for exactly that purpose (unlike the dia_init function which is called
for each transaction).
In fact the coa_exit path is currently buggy as it may get called twice
when an error is encountered during initialisation.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions