Re: [PATCH] crypto: aesni - fix XTS mode on x86-32, add wrapper function for asmlinkage aesni_enc()

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

 



From: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx>
Date: Thu, 18 Oct 2012 23:24:57 +0300

> Calling convention for internal functions and 'asmlinkage' functions is
> different on x86-32. Therefore do not directly cast aesni_enc as XTS tweak
> function, but use wrapper function in between. Fixes crash with "XTS +
> aesni_intel + x86-32" combination.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: Krzysztof Kolasa <kkolasa@xxxxxxxxxx>
> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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