Mailing List Archive

const tables
It seems that same tables in the included cipher algorithms are not
defined as const.

In cipher/ directory and in digest algorithms, the asn OID bytes are
defined as static byte asn[18] (in md5.c).

Also in crc.c the CRC table is not defined as const. The same occurs in
des.c (sboxes, weak keys).

The same is in tiger.c which also has the sboxes in static non constant

In some self tests also (blowfish.c -> selftest()) the plaintext values
could be defined as constants.

Gcrypt-devel mailing list