The first patch fixes concurrency on ecdh context and the second one let the caller decide whether sleeping is possible or not. Changes in v3: - sign the second patch with work email address. 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@xxxxxxxxxxxxxxx/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