[dm-crypt] - Error allocating crypto tfm

Hari Prasad hariprasad2006 at gmail.com
Sat Feb 25 00:08:58 CET 2012

Hi folks,

I am trying to use a hardware implementation of Crypto in Android.

When I run encrypt from the Android UI (after I do insmod of my module), I
see the following error...

 Error allocating crypto tfm

[   85.791667] crypt_free_tfms: dm_crypt: entering

[   85.791698] crypt_free_tfms: dm_crypt: entering

[   85.791698] device-mapper: table: 254:0: crypt: Error allocating crypto

[   85.791728] device-mapper: ioctl: error adding target to table

[   85.792156] crypto_remove_final:  ALGAPI: entering

When I do 'cat /proc/crypto' I see that HW implementation is listed in
addition to SW implementation. I am unable to figure out what is going on.

Is my TFM mapping incorrect?

Is my driver not registered correctly?

Any pointers would really help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120224/a0126f9a/attachment.html>

More information about the dm-crypt mailing list