Thread (6 messages) 6 messages, 3 authors, 2007-08-02

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

From: Sebastian Siewior <hidden>
Date: 2007-08-02 13:09:39

* Herbert Xu | 2007-08-02 17:28:25 [+0800]:
On Thu, Aug 02, 2007 at 11:23:51AM +0200, Sebastian Siewior wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help