[PATCH] Stribog: fix C16 table size

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Mon Jan 5 17:56:57 CET 2015


What about this patch?

2014-12-28 12:15 GMT+03:00 Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>:
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> ---
>  cipher/stribog.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cipher/stribog.c b/cipher/stribog.c
> index 942bbf4..de167a7 100644
> --- a/cipher/stribog.c
> +++ b/cipher/stribog.c
> @@ -1080,7 +1080,7 @@ static const u64 stribog_table[8][256] =
>      U64_C(0x72d14d3493b2e388), U64_C(0xd6a30f258c153427) },
>  };
>
> -static const u64 C16[13][16] =
> +static const u64 C16[12][8] =
>  {
>    { U64_C(0xdd806559f2a64507), U64_C(0x05767436cc744d23),
>      U64_C(0xa2422a08a460d315), U64_C(0x4b7ce09192676901),
> --
> 2.1.4
>



-- 
With best wishes
Dmitry



More information about the Gcrypt-devel mailing list