Re: [PATCH v6 3/4] crypto: akcipher: add akcipher declarations needed by templates.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> wrote:
>
> +static inline struct crypto_akcipher *crypto_spawn_akcipher(
> +               struct crypto_akcipher_spawn *spawn)
> +{
> +       return crypto_spawn_tfm2(&spawn->base);
> +}
> +
> +static inline void crypto_drop_akcipher(struct crypto_akcipher_spawn *spawn)
> +{
> +       crypto_drop_spawn(&spawn->base);
> +}
> +
> +static inline struct akcipher_alg *crypto_spawn_akcipher_alg(
> +               struct crypto_akcipher_spawn *spawn)
> +{
> +       return container_of(spawn->base.alg, struct akcipher_alg, base);
> +}
> +
> +static inline struct crypto_akcipher *crypto_spawn_akcipher(
> +       struct crypto_akcipher_spawn *spawn)
> +{
> +       return crypto_spawn_tfm2(&spawn->base);
> +}

You're defining crypto_spawn_akcipher twice.  This also means that
you didn't even bother compiling it.
-- 
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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux