XTR cryptosystem

David Shaw dshaw at jabberwocky.com
Mon Feb 24 14:40:02 CET 2003

On Mon, Feb 24, 2003 at 12:03:23PM +0100, ecesena at libero.it wrote:

> Well, let talk for instance about ElGamal... how to implement it?
> I'm looking the source (elgamal.h, .c) For "induction", I think I
> need to write a file xtrelgamal.h as


> Then I'll implement the code in xtrelgamal.c... 
> but then?

You'll need to tie it in in a few places.  See
cipher/pubkey.c:setup_pubkey_table and the functions in g10/keygen.c
(assuming you need to generate one of these keys).  Finally, you'll
need to assign it a algorithm number in include/cipher.h.  You must
use an algorithm number from 100-110 to indicate that it is an
experimental algorithm.


   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson

More information about the Gnupg-devel mailing list