diff options
author | Eric Biggers <ebiggers@google.com> | 2020-01-02 19:59:06 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-09 11:30:57 +0800 |
commit | 91b819a2b638ecad59d19c1b764a9e32856c1c32 (patch) | |
tree | 7163493c050c6413a5aa9b7efe94c9cde45d251c /crypto/ecdh_helper.c | |
parent | fa41653e64a18f116a0e62c38709f2e953c3b76a (diff) | |
download | linux-crypto-91b819a2b638ecad59d19c1b764a9e32856c1c32.tar.gz linux-crypto-91b819a2b638ecad59d19c1b764a9e32856c1c32.zip |
crypto: algapi - remove obsoleted instance creation helpers
Remove lots of helper functions that were previously used for
instantiating crypto templates, but are now unused:
- crypto_get_attr_alg() and similar functions looked up an inner
algorithm directly from a template parameter. These were replaced
with getting the algorithm's name, then calling crypto_grab_*().
- crypto_init_spawn2() and similar functions initialized a spawn, given
an algorithm. Similarly, these were replaced with crypto_grab_*().
- crypto_alloc_instance() and similar functions allocated an instance
with a single spawn, given the inner algorithm. These aren't useful
anymore since crypto_grab_*() need the instance allocated first.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecdh_helper.c')
0 files changed, 0 insertions, 0 deletions