[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Mon Nov 28 14:58:56 UTC 2016
New commits:
commit 611f6f769b789999387d72d5379e9ca98e86ffa8
Author: Andrew Cagney <cagney at gnu.org>
Date: Sun Nov 27 21:15:35 2016 -0500
include: add struct encrypt_desc.key_bit_lengths[]
A zero-terminated descending-order array of valid encrypt bit lengths.
Define explicitly using simple constants rather than obtuse macros.
Assert that the key lengths known to encrypt_desc (keyminlen,
keydeflen, keymaxlen) are found in the array.
Long ago algorithms would allow arbitrary variable length keys, that
is no longer true. Instead only a small fixed set of key lengths is
allowed.
More information about the Swan-commit
mailing list