Typo in rijndael.c

Jussi Kivilinna jussi.kivilinna at iki.fi
Mon Jan 19 08:09:22 CET 2015


On 17.01.2015 02:33, Richard H Lee wrote:
> I think there is a typo for the processor extension checks in rijndael.c

You're right. I'll submit patch to fix this. Thanks.

-Jussi

> 
> diff --git a/cipher/rijndael.c b/cipher/rijndael.c
> index 51c36c7..a481e6f 100644
> --- a/cipher/rijndael.c
> +++ b/cipher/rijndael.c
> @@ -325,7 +325,7 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
>    else if (ctx->use_aesni)
>      _gcry_aes_aesni_do_setkey (ctx, key);
>  #endif
> -#ifdef USE_AESNI
> +#ifdef USE_SSSE3
>    else if (ctx->use_ssse3)
>      _gcry_aes_ssse3_do_setkey (ctx, key);
>  #endif
> 
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150119/2b3a7af6/attachment.sig>


More information about the Gcrypt-devel mailing list