Re: [PATCH v4 1/1] crypto: AES CTR x86_64 "by8" AVX optimization

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

 



On 9 June 2014 19:41, chandramouli narayanan <mouli@xxxxxxxxxxxxxxx> wrote:
> [...]
> @@ -1493,6 +1521,14 @@ static int __init aesni_init(void)
>                 aesni_gcm_enc_tfm = aesni_gcm_enc;
>                 aesni_gcm_dec_tfm = aesni_gcm_dec;
>         }
> +       aesni_ctr_enc_tfm = aesni_ctr_enc;
> +#ifdef CONFIG_AS_AVX
> +       if (cpu_has_avx) {
> +               /* optimize performance of ctr mode encryption trasform */

The "trasform" typo is also still there. :/

> +               aesni_ctr_enc_tfm = aesni_ctr_enc_avx_tfm;
> +               pr_info("AES CTR mode by8 optimization enabled\n");
> +       }
> +#endif
>  #endif
>
>         err = crypto_fpu_init();

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