Re: "crypto_hash_setkey" call from atomic context

2015-12-14 Thread Fabrizio Demaria
ontexts? Is it always the case that "crypto_hash_setkey" calls "crypto_shash_setkey"? Thanks, Fabrizio [1] https://github.com/multipath-tcp/mptcp_net-next/commit/06e7644bdac1ac6e97767bc714586fbfadcdeaa8 2015-12-11 8:42 GMT+01:00 Herbert Xu : > Fabrizio Demaria wrote: >

"crypto_hash_setkey" call from atomic context

2015-12-10 Thread Fabrizio Demaria
Hello, I am investigating the current usage of kernel crypto-libraries in the SCTP code, considering to adopt the same crypto framework for the MPTCP implementation. In sm_make_chunk.c, the crypto function "crypto_hash_setkey" is called in an atomic context, despite the fact that this function CA