Export regulations and DES-only crypto and 'Ohhhh jeeee'

lanas lanas at securenet.net
Tue Aug 12 00:58:37 CEST 2008


Le Vendredi, 08 Août 2008 10:13:03 +0200,
Werner Koch <wk at gnupg.org> a écrit :

> On Fri,  8 Aug 2008 00:31, lanas at securenet.net said:
> 
> > ./configure --enable-ciphers="des"
> > make
> > make check
> 
> You may just do
> 
>   cd tests
>   ./basic --verbose
> 
> > I do not see why it tries to access algorithm # 2 even though it's
> > comment out of the definition.  Could it be that a DES structure
> 
> That is because tests/basic.c requires plain DES.  grep for
> GCRY_CIPHER_DES.

Thanks for pointing this out.  Now I also comment out the 3DES component
of GCRY_CIPHER_DES in basic.c 

libgcrypt-1.4.1/tests/basic.c:991
#if USE_DES
    GCRY_CIPHER_DES,
    /*    GCRY_CIPHER_3DES, */
#endif

And I comment the following tests:

  check_ciphers ();
  //  check_aes128_cbc_cts_cipher ();
  //  check_cbc_mac_cipher ();
  //  check_ctr_cipher ();
  //  check_cfb_cipher ();
  //  check_ofb_cipher ();
  check_digests ();
  check_hmac ();

And everything's seems fine.  Well, as far as crippled crypto is
concerned ! ;-(

Tschüß.




More information about the Gcrypt-devel mailing list