Messages in this thread | | | Date | Tue, 7 Sep 2004 12:36:03 -0400 (EDT) | From | James Morris <> | Subject | Re: [cryptoapi/sysfs] display cipher details in sysfs |
| |
On Mon, 6 Sep 2004, Michal Ludvig wrote:
> I'd prefer to have the algorithms grouped by "type" ("cipher", "digest", > "compress")? Then the apps could easily see only the algos that thay are > interested in...
This could be done with symlinks. Have a master algorithim directory, and symlinks to different views (e.g. 'ciphers').
> Few notes: > - - some algorithms allow only discrete set of keysizes (e.g. AES can do > 128b, 192b and 256b). Can we instead of min/max have a file 'keysize' with > either: > minsize-maxsize > or > size1,size2,size3 > ? > > - - ditto for blocksize?
I don't think it's worth complicating the kernel code just to see that AES does in fact have the three key sizes required by the specification.
- James -- James Morris <jmorris@redhat.com>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |