Re: [PATCH RFC v2 1/2] crypto: add PKE API

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

 



Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> > + * @capabilities:
> > + *		Specifies what operations are provided by the algorithm
> > + *		implementation.
> 
> Don't do this.  It's a nightmare for the user to have to deal with
> multiple implementations with differing capabilities.
> 
> Make the implementor provide backups/fallbacks.

What if the fallback doesn't exist?  For instance, a H/W contained key is
specifically limited to, say, just sign/verify and the not permitted to be
used for encrypt/decrypt.  How do you provide a fallback given you can't get
at the key?

David
--
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