Andrew Zaborowski wrote:
>
> @@ -75,9 +76,22 @@ static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm)
>return 0;
> }
>
> +static void crypto_akcipher_free_instance(struct crypto_instance *inst)
> +{
> + struct akcipher_instance *akcipher =
Add a struct akcipher_instance and struct akcipher_spawn similar to
how AEAD declares them and the macros for converting to/from
crypto_instance/crypto_spawn. Also add register functions to
avoid exposing crypto_akcipher_type.
Signed-off-by: Andrew Zaborowski
---