const tables

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat May 17 19:10:24 CEST 2008


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.




More information about the Gcrypt-devel mailing list