Re: Crypto driver -DCP

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

 



On Tue, Jun 02, 2015 at 01:57:28PM -0500, Jay Monkman wrote:
>
> I have another question. The DCP (and other crypto accelerators on
> other SOCs) supports key slots - basically write only RAM that's
> used to store keys so they can be used for encrypt/decrypt
> operations. DCP supports 4 key slots, other devices have different
> numbers. Do you have any suggestion for how to add support for
> something like that to the driver?

So these would allow faster switching of keys I presume?

If so that's a resource the driver should manage.  The simplest
would be some kind of LRU scheme where you expire the least recently
used key.

Cheers,
-- 
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