preferred alorithms list

Davide Cavallari floods@libero.it
Tue Jan 8 18:31:01 2002


I want to change the list of preferred algorithms. So I have edited
the function keygen_add_std_prefs in g10/keygen.c and now I have:

    buf[0] = CIPHER_ALGO_RIJNDAEL;
    buf[1] = CIPHER_ALGO_TWOFISH;
    buf[2] = CIPHER_ALGO_3DES;
    buf[3] = CIPHER_ALGO_CAST5;
    build_sig_subpkt( sig, SIGSUBPKT_PREF_SYM, buf, 4 );

    buf[0] = DIGEST_ALGO_SHA1;
    buf[1] = DIGEST_ALGO_RMD160;
    build_sig_subpkt( sig, SIGSUBPKT_PREF_HASH, buf, 2 );

since I wuold like to use in order:

RIJNDAEL, TWOFISH, 3DES and CAST5 for the simmetric algorhitm and:

SHA1 and RMD160 for the hash algorhitm.

So, can you confirm if the corretions in g10/keygen.c are right to 
match this order?
-- 
Cheers,
    Davide Cavallari
"Noi tutti sappiamo che Linux e' grande...  fa infiniti loop in 5
secondi."
		-- Linus Torvalds, sulla superiorita' di Linux,
		   all'Amsterdam Linux Symposium