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 16:58:16 [+0800]:

>On Thu, Aug 02, 2007 at 10:10:09AM +0200, Sebastian Siewior wrote:
>> It seems that the driver uses something like crypto_.*_ctx_aligned() of his own.
>> Replace it with the API's functions. Compile tested.
>> 
>> Signed-off-by: Sebastian Siewior <sebastian@xxxxxxxxxxxxx>
>
>Actually this is intentional as it allows the align
>operation to be completely optimised out.

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?

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