On Thu, Jun 25, 2015 at 7:25 AM, Herbert Xu wrote:
>
> Linus, could you confirm that you have AESNI built into the kernel
> and not as a module?
Yes, confirmed.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...
On 06/25/2015 07:25 AM, Herbert Xu wrote:
> On Wed, Jun 24, 2015 at 07:14:21AM -0700, Tadeusz Struk wrote:
>> rfc4106(gcm(aes)) uses cbc(aes) to generate hash key. cbc(aes) needs
>> chainiv, but the chainiv gets initialized after aesni_intel when both
>> are statically linked so the setkey fails.
>
On Wed, Jun 24, 2015 at 07:14:21AM -0700, Tadeusz Struk wrote:
> rfc4106(gcm(aes)) uses cbc(aes) to generate hash key. cbc(aes) needs
> chainiv, but the chainiv gets initialized after aesni_intel when both
> are statically linked so the setkey fails.
> This patch forces aesni_intel to be initialize
rfc4106(gcm(aes)) uses cbc(aes) to generate hash key. cbc(aes) needs
chainiv, but the chainiv gets initialized after aesni_intel when both
are statically linked so the setkey fails.
This patch forces aesni_intel to be initialized after chainiv.
Signed-off-by: Tadeusz Struk
---
arch/x86/crypto/ae