Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> wrote: > +static void pkcs1pad_free(struct akcipher_instance *inst) > +{ > + struct crypto_akcipher_spawn *spawn = > + crypto_instance_ctx(akcipher_crypto_instance(inst)); Please add an akcipher_instance_ctx helper instead. > + inst->alg.base.cra_init = pkcs1pad_init_tfm; > + inst->alg.base.cra_exit = pkcs1pad_exit_tfm; This is obsolete. Please use akcipher's init/exit functions instead. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html