Camellia for OpenPGP RFC published

Simon Josefsson simon at josefsson.org
Fri Jun 5 10:43:19 CEST 2009


Werner Koch <wk at gnupg.org> writes:

> On Fri,  5 Jun 2009 05:03, dshaw at jabberwocky.com said:
>
>> of a headache hiding there: libgcrypt uses 310-312 for the Camellia
>> algorithm numbers and OpenPGP uses 11-13, so every call to
>
> That is becuase Libgcrypt offically supports Camellia longer than
> OpenPGP and to not mess up things Libgcrypt uses algorithm numbers > 255
> if they don't map directly to the nu7mbers used by OpenPGP.

Couldn't libgcrypt just map 11-13 to 310-312 internally now that the RFC
is published?  Sounds simpler than adding a mapping macro.

/Simon



More information about the Gnupg-devel mailing list