All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] request for new API to found out is a volume is a luks volume or a tcrypt volume
@ 2012-12-07 21:50 .. ink ..
  2012-12-07 22:35 ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: .. ink .. @ 2012-12-07 21:50 UTC (permalink / raw)
  To: dm-crypt

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

finding out if a device is luks device is a bit clunky at the moment
because a user will have to go through the crypt_init(),crypt_load() and
finally crypt_free() to see if a device is luks device.

Just added support for opening truecrypt volumes and the way to check if a
volume is a true crypt volume seem to be clunkier since it involves doing
crypt_init(),crypt_load(),crypt_activate_by_volume_key() and if on success,
crypt_deavicate() and then finally crypt_free()

It will be nice if these operations were simplified with something like:

crypt_is_luks( const char* device )

and

crypt_is_tcrypt( const char* device,const char* key,size_t key_len )

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

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

end of thread, other threads:[~2012-12-07 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 21:50 [dm-crypt] request for new API to found out is a volume is a luks volume or a tcrypt volume .. ink ..
2012-12-07 22:35 ` Milan Broz
2012-12-07 22:58   ` .. ink ..

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.