Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: gcrypt
const tables

Index | Next | Previous | View Flat

nmav at gnutls

May 17, 2008, 10:10 AM

Views: 1062
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
Gcrypt-devel [at] gnupg

Subject User Time
const tables nmav at gnutls May 17, 2008, 10:10 AM

  Index | Next | Previous | View Flat

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.