All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt]  - Error allocating crypto tfm
@ 2012-02-24 23:08 Hari Prasad
  2012-02-27 20:13 ` Hari Prasad
  0 siblings, 1 reply; 2+ messages in thread
From: Hari Prasad @ 2012-02-24 23:08 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

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
tfm

[   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!

Thanks,
Hari

[-- Attachment #2: Type: text/html, Size: 1536 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dm-crypt]  - Error allocating crypto tfm
  2012-02-24 23:08 [dm-crypt] - Error allocating crypto tfm Hari Prasad
@ 2012-02-27 20:13 ` Hari Prasad
  0 siblings, 0 replies; 2+ messages in thread
From: Hari Prasad @ 2012-02-27 20:13 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

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
tfm

[   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!

Thanks,
Hari

[-- Attachment #2: Type: text/html, Size: 1578 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-27 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 23:08 [dm-crypt] - Error allocating crypto tfm Hari Prasad
2012-02-27 20:13 ` Hari Prasad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.