Re: [PATCH 00/17] Platform Facilities Option and crypto accelerator driver

2012-03-26 Thread Kent Yoder
> > From what I can tell this isn't ISA level instructions and thus should NOT be > in arch/powerpc. This should be moved into drivers/crypto That makes sense. I'll move them over in my next submission. Kent > - k -- To unsubscribe from this list: send the line "unsubscribe linux-crypto

[PATCH 2/2] crypto: user - Fix size of netlink dump message

2012-03-26 Thread Steffen Klassert
The default netlink message size limit might be exceeded when dumping a lot of algorithms to userspace. As a result, not all of the instantiated algorithms dumped to userspace. So calculate an upper bound on the message size and call netlink_dump_start() with that value. Signed-off-by: Steffen Kla

[PATCH 1/2] crypto: user - Fix lookup of algorithms with IV generator

2012-03-26 Thread Steffen Klassert
We lookup algorithms with crypto_alg_mod_lookup() when instantiating via crypto_add_alg(). However, algorithms that are wrapped by an IV genearator (e.g. aead or givcipher type algorithms) need special care. The userspace process hangs until it gets a timeout when we use crypto_alg_mod_lookup() to