Re: [patch/rfc] crypto: padlock-aes use crypto API

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

 



* Herbert Xu | 2007-08-02 17:28:25 [+0800]:

>On Thu, Aug 02, 2007 at 11:23:51AM +0200, Sebastian Siewior wrote:
>> 
>> The only difference I can see is, that crypto_tfm_alg_alignmask() is
>> replaced with a static defined number instead of a lookup in a struct.
>> IS this the optimization?
>
>Yes, the fact that the alignment mask is a constant allows
>it to be optimised away.

If this is that important, isn't it better to add/ replace the current
_aligned call with such an optimized one? Or applies this kind of
optimization only to this special driver where it is very expensive
otherwise?

>Cheers,

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