Thread (41 messages) 41 messages, 3 authors, 2014-11-21

Re: crypto: user - Allow get request with empty driver name

From: Herbert Xu <hidden>
Date: 2014-11-20 13:40:41
Also in: linux-api, lkml

On Thu, Nov 20, 2014 at 02:10:00PM +0100, Stephan Mueller wrote:
What about the following

if (p->cru_driver_name[0]
	alg = crypto_alg_match(p, 1);
else
	alg = crypto_alg_match(p, 0);
If cru_driver_name is not empty then exact will never be used, no?

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help