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

Mailing List Archive: GnuPG: gcrypt

const tables

 

 

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded


nmav at gnutls

May 17, 2008, 10:10 AM

Post #1 of 1 (1021 views)
Permalink
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 [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded
 
 


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