Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1165612

Re: [PATCH RFC v5 2/4] crypto: add PKE API

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH RFC v5 2/4] crypto: add PKE API
Date 2015-06-16 02:00 +0200
Message-ID <pBMsh-20y-7@gated-at.bofh.it> (permalink)
References <pBJ1o-5xx-5@gated-at.bofh.it> <pBJ1o-5xx-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 15, 2015 at 01:18:42PM -0700, Tadeusz Struk wrote:
>
> +/**
> + * crypto_register_akcipher() -- Register public key algorithm
> + *
> + * Function registers an implementation of a public key verify algorithm
> + *
> + * @alg:	algorithm definition
> + *
> + * Return: zero on success; error code in case of error
> + */
> +int crypto_register_akcipher(struct akcipher_alg *alg);
> +
> +/**
> + * crypto_unregister_akcipher() -- Unregister public key algorithm
> + *
> + * Function unregisters an implementation of a public key verify algorithm
> + *
> + * @alg:	algorithm definition
> + */
> +void crypto_unregister_akcipher(struct akcipher_alg *alg);

These two functions and anything else that's specific to public key
implementors should go into crypto/internal.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
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-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC v5 0/4] crypto: Introduce Public Key Encryption API Tadeusz Struk <tadeusz.struk@intel.com> - 2015-06-15 22:20 +0200
  [PATCH RFC v5 3/4] crypto: rsa: add a new rsa generic implementation Tadeusz Struk <tadeusz.struk@intel.com> - 2015-06-15 22:20 +0200
  [PATCH RFC v5 2/4] crypto: add PKE API Tadeusz Struk <tadeusz.struk@intel.com> - 2015-06-15 22:20 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 01:50 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 01:50 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 02:00 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 02:00 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 02:10 +0200
    Re: [PATCH RFC v5 2/4] crypto: add PKE API Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 02:10 +0200
  [PATCH RFC v5 4/4] crypto: add tests vectors for RSA Tadeusz Struk <tadeusz.struk@intel.com> - 2015-06-15 22:20 +0200
    Re: [PATCH RFC v5 4/4] crypto: add tests vectors for RSA Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-16 02:40 +0200

csiph-web