Re: [PATCH] crypto: ccp - Check for CCP before registering crypto algs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 05, 2014 at 11:49:38PM +0000, Scot Doyle wrote:
> 
> On Fri, 5 Sep 2014, Tom Lendacky wrote:
> 
> > If the ccp is built as a built-in module, then ccp-crypto (whether
> > built as a module or a built-in module) will be able to load and
> > it will register its crypto algorithms.  If the system does not have
> > a CCP this will result in -ENODEV being returned whenever a command
> > is attempted to be queued by the registered crypto algorithms.
> >
> > Add an API, ccp_present(), that checks for the presence of a CCP
> > on the system.  The ccp-crypto module can use this to determine if it
> > should register it's crypto alogorithms.
> >
> > Reported-by: Scot Doyle <lkml14@xxxxxxxxxxxxx>
> > Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> 
> Tested-by: Scot Doyle <lkml14@xxxxxxxxxxxxx>

Patch applied.  Thanks!
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux