diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2009-07-24 13:56:31 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-24 13:56:31 +0800 |
commit | ff3a3f295bbde4daec55a4dc2100cac82a0847d2 (patch) | |
tree | 71c456e0a2ed9a92b6461b875b633626a1f74707 /crypto/hmac.c | |
parent | 8af5fce4011f4c997cc38372bc91add21eb5e2fc (diff) | |
download | linux-crypto-ff3a3f295bbde4daec55a4dc2100cac82a0847d2.tar.gz linux-crypto-ff3a3f295bbde4daec55a4dc2100cac82a0847d2.zip |
crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep
ahash_op_unaligned() and ahash_def_finup() allocate memory atomically,
regardless whether the request can sleep or not. This patch changes
this to use GFP_KERNEL if the request can sleep.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/hmac.c')
0 files changed, 0 insertions, 0 deletions