From: Tudor Ambarus <tudor.ambarus@gmail.com>
To: <herbert@gondor.apana.org.au>
Cc: <davem@davemloft.net>, <linux-crypto@vger.kernel.org>,
<nicolas.ferre@microchip.com>,
Tudor Ambarus <tudor.ambarus@gmail.com>
Subject: [v2 RFC PATCH 0/2] crypto: ecdh, ecc fixes
Date: Wed, 28 Jun 2017 16:55:22 +0300 [thread overview]
Message-ID: <1498658124-29780-1-git-send-email-tudor.ambarus@gmail.com> (raw)
The first patch fixes concurrency on ecdh context
and the second one let the caller decide whether
sleeping is possible or not.
Changes in v2:
- remove a function that freed a pointer received as function
argument
- let the user decide if sleeping is permitted
- kmalloc instead of kzalloc for the private key
- add "crypto: ecc: use caller's GFP flags" patch
v1 can be found at:
http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg26149.html
Tudor Ambarus (2):
crypto: ecdh: fix concurrency on ecdh_ctx
crypto: ecc: use caller's GFP flags
crypto/ecc.c | 22 +++++++-------
crypto/ecc.h | 8 ++---
crypto/ecdh.c | 96 +++++++++++++++++++++++++++++++++++++++++------------------
3 files changed, 82 insertions(+), 44 deletions(-)
--
2.7.4
next reply other threads:[~2017-06-28 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 13:55 Tudor Ambarus [this message]
2017-06-28 13:55 ` [v2 RFC PATCH 1/2] crypto: ecdh: fix concurrency on ecdh_ctx Tudor Ambarus
2017-06-28 13:55 ` [v2 RFC PATCH 2/2] crypto: ecc: use caller's GFP flags Tudor Ambarus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498658124-29780-1-git-send-email-tudor.ambarus@gmail.com \
--to=tudor.ambarus@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).