linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v2 RFC PATCH 0/2] crypto: ecdh, ecc fixes
@ 2017-06-28 13:55 Tudor Ambarus
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Tudor Ambarus @ 2017-06-28 13:55 UTC (permalink / raw)
  To: herbert; +Cc: davem, linux-crypto, nicolas.ferre, Tudor Ambarus

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-28 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-28 13:55 [v2 RFC PATCH 0/2] crypto: ecdh, ecc fixes Tudor Ambarus
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

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).