Re: [11/many] acrypto: crypto_main.c

Randy.Dunlap
2005-03-15T16:29:11Z

Evgeniy Polyakov wrote:
> --- /tmp/empty/crypto_main.c 1970-01-01 03:00:00.000000000 +0300
> +++ ./acrypto/crypto_main.c 2005-03-07 20:35:36.000000000 +0300
> @@ -0,0 +1,374 @@
> +/*
> + * crypto_main.c
> + *
> + * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
> + *
> + */

> +struct crypto_session *crypto_session_alloc(struct crypto_session_initializer *ci, struct crypto_data *d)
> +{
> + struct crypto_session *s;
> +
> + s = crypto_session_create(ci, d);
> + if (!s)
> + return NULL;
> +
> + crypto_session_add(s);
> +
> + return s;
> +}
> +
> +

> +EXPORT_SYMBOL(crypto_session_alloc);
Why is this one not _GPL ?? It calls _create() and _add().

> +EXPORT_SYMBOL_GPL(crypto_session_create);
> +EXPORT_SYMBOL_GPL(crypto_session_add);
> +EXPORT_SYMBOL_GPL(crypto_session_dequeue_route);

--
~Randy