]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/usb/wusbcore/crypto.c
crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations
[linux.git] / drivers / usb / wusbcore / crypto.c
index 68ddee86a8861cccbf033a995e90ca150edcfb66..edb7263bff403c05e02582837c45e4c30a32a803 100644 (file)
@@ -316,7 +316,7 @@ ssize_t wusb_prf(void *out, size_t out_size,
                goto error_setkey_cbc;
        }
 
-       tfm_aes = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC);
+       tfm_aes = crypto_alloc_cipher("aes", 0, 0);
        if (IS_ERR(tfm_aes)) {
                result = PTR_ERR(tfm_aes);
                printk(KERN_ERR "E: can't load AES: %d\n", (int)result);