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
tables.

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


_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel